Re: Accessing a Web Service From BTS Orchestration
- From: Dan Rosanova <dnova7@xxxxxxxxx>
- Date: Tue, 11 Nov 2008 06:19:51 -0800 (PST)
Well there are a few ways to solve this one. The simplest (though
worst from a performance standpoint) is to load the Xml into an
XmlDocument variable in the orchestration, then assign its .OuterXml
member to the string value in the message you will be sending. If you
used the Add Web Reference wizard you would get a schema generated for
the web service you wish to consume. This will work, but it is
probably not what you want. It loads the entire message into memory
so if your messages are anything but small it will affect the memory
footprint of BizTalk negatively. Alternatively you could probably
make a Send Pipeline and just send your message to it and stream the
xml into the new message with its body part created as an instance of
your web service request type.
Sending to One Way Web Services isn't an issue and should work fine.
Also make sure you really need an orchestration, you may not if you're
just forwarding messages.
I hope this helps.
Kind Regards,
-Dan Rosanova
.
- References:
- Accessing a Web Service From BTS Orchestration
- From: k_nil
- Accessing a Web Service From BTS Orchestration
- Prev by Date: Accessing a Web Service From BTS Orchestration
- Next by Date: Querying BizTalk Cluster Via WMI Slow
- Previous by thread: Accessing a Web Service From BTS Orchestration
- Next by thread: Querying BizTalk Cluster Via WMI Slow
- Index(es):
Relevant Pages
|