Forum Replies Created
-
AuthorPosts
-
Yep you are right. That is not really what I am after. I need to be able to call an external program from an orchestration – for example I want to run a bat file.
What do you think?
Launching a GUI application like Internet Explorer from an orchestration is a bad idea for many reasons, but I’m hoping that’s not really what yo’re after 🙂
Anyway, the reason you won’t see the IE window popup is because your orchestration runs inside a windows service that has no access to the interactive session (in other words, it “pops up” in a different place from your actual desktop you see). What exactly are you trying to accomplish?
HI Greg,
Thats worked, thanks for all your help.
Also make sure that you do not have any breakpoints set in an orchestration. Even if there are no orchestration instances running anymore, assemblies may remain loaded making it impossible to unload the associated assembly from the GAC. This is also true for dependent assemblies.
March 11, 2008 at 10:45 AM in reply to: Can you run Biztalk2006 R2 on Windows Server 2008 / SQL Server 2008? #19049Not yet…see link for more details:
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2947111&SiteID=1
When you make a web refrerence, the utility builds multi-part message types. So when you build your WSRequest message, point it to the multipart type.
It should show up in the messages to map, but it might have a suffix on the end.
Neal Walters
http://Biztalk-Training.comIf you are ultimately trying to get this:
OrderResponse.LoadXml(System.String.Format(“<cXML timestamp=”2008-03-11T13:45:12″ payloadID='[blocked out]’><Response>hello</Response></cXML>“);
Try this instead:
OrderResponse.LoadXml(System.String.Format(“<cXML timestamp=\”” + System.String.Format(“{0:s}”, System.DateTime.Now) + “\” payloadID='[blocked out]’><Response>hello</Response></cXML>”);
When converted into a string the quotes for timstamp=”” were missing. In order for a double quote to show up in a string you need to escape them with a \
Let me know if this works.
Hi Greg, Thanks for the reply.
I now have the following..
OrderResponse.LoadXml(System.String.Format(“<cXML timestamp=”)+ System.String.Format(“{0:s}”, System.DateTime.Now)+” payloadID='[blocked out]’><Response>hello</Response></cXML>”);
I had to add System to the front of System.String.Format(“{0:s}”, as Biztalk didn’t like it without it, but I get the same error.. re-built the solution, deployed, re-started host instances, IIS, even the machine!
You want to look at a feature called “Delivery Notification”. What happens is that the Orchestration will wait for an Acknowledgement(success) or Non-Acknowledgement(failure) flag from the Messaging engine. You will be able to “trap” this error as a DeliveryFailureException. So if you get beyond this exception, you know it was a success.
Check out my blog post for more info:
http://kentweare.blogspot.com/2007/11/biztalk-delivery-notification.html
OrderResponse.LoadXml(System.String.Format(“<cXML
timestamp=”)+System.DateTime.Now.ToString(“yyyy-MM-ddThh:mm:ss”)+”
payloadID='[blocked
out]’><Response>hello</Response></cXML>”);Should be:
OrderResponse.LoadXml(System.String.Format(“<cXML
timestamp=”)+String.Format(“{0:s}”, System.DateTime.Now)+”
payloadID='[blocked
out]’><Response>hello</Response></cXML>”);Check these links too:
http://blog.stevex.net/index.php/string-formatting-in-csharp/
March 10, 2008 at 6:54 AM in reply to: Suggest some good books for Biztalk Server 2006 for beginner #19035BizTalk 2006 Recipes A Problem Solution Approach[Apress] – Also my favorite
Pro BizTalk Server 2006 [Apress] – Another great book
This forum is also extremely helpful when trying to solve problems. If I can’t find it in one of the above books I come here; great community of very knowledgeable, friendly people.
Hi,
I face same problem when I was trying webservices first time.
I hope you already defile request, response messages in Orchestration as web
message type.Then use Assign Message to assigning value to web request message
and then send it.Let me inform if it helps
MAX
First of all, this hardly seems like a trivial orchestration. 🙂
So the hard part sounds like being able to trap that the FTP failed and then be able to recover from it. Your FTP request will be sent as part of a port which can be difficult to recover from. You might try putting all of the logic to do with FTP in a separate orchestration (in this case the child one) so that you can call the child orchestration from the parent orchestration and catch if the child orchestration failed. Then you would handle the email logic.
By the way, you can use the SMTP adapter to send an email message.
Thanks,
Some web services will not refer explicitly to a schema that governs the exchange of data. For these webservices your best bet is to try to access the web service through IE and to do the request in IE and then look at what is returned in the response. If the web service you are integrating with is a .NET one then you should see the response Xml on the screen. Copy this Xml into an Xml file that is part of your BizTalk project. Then you need to open the Xml file open and in Visual Studio you will see a menu called Xml. From this menu you can generate an instance of an Xml schema. This schema you can use as the target schema for your map.
Thanks,
Note:
<b:reference targetNamespace=”http://SomePlace” /> is supposed to be
<b:reference targetNamespace=”http://Test2” />
I just made a misstake when I posted. The error is still the same, just need to change to the second line if you need to test this yourself.
Dan
-
AuthorPosts