Re: Accessing a Web Service From BTS Orchestration



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
.



Relevant Pages

  • Re: Saving program state in executable
    ... UML or OWL data using XML's DOM model, it takes quite a while to load ... The overhead is mostly the textprocessing and parsing of the XML models. ... 'const' record, or set of records, at compile time, and that might be ... knows it is one block of memory (assuming it doesn't contain e.g. ...
    (comp.lang.pascal.misc)
  • Memory limitation with owc?
    ... spreadsheets that I want to load into memory. ... loading a number of large xml files. ...
    (microsoft.public.office.developer.web.components)
  • Re: Loading and updating data from SQL server 2000 usning visio
    ... Xml via a web service has the significant advantage of being vendor neutral. ... > My application is visio stand alone. ... > load from database for editing. ...
    (microsoft.public.visio.developer)
  • Re: VFP9 consuming asp.net web service
    ... in the load of the SQL/IIS-Server have more influence then choosing another ... string and in VFP9 I use XMLTOCURSOR to get the xml into a table although ... separated string instead for instance and parse it in VFP appropriately? ... who has written a similar app and web service. ...
    (microsoft.public.fox.programmer.exchange)
  • Re: memory leak in asp 2.0
    ... If to be placed into session it should exist in session then it will ... put object which refers to web service into session I will not put into ... so I was able to watch how much memory I need. ... When I load first page the memory ...
    (microsoft.public.dotnet.framework.aspnet)