Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Consuming XML string using Orchestration web service

Status
Not open for further replies.

zorrinn

Programmer
Jun 12, 2002
7
CA
Hi

I am a newbie to the Microsoft world. I am creating a BizTalk Orchestration and tryng to publish it as a web service.

I want to send an XML string to this service and I need the orchestration to strip out things from this XML string and save the string and the stripped out data to the database.

How can I do this? I am mainly confused as to how to send an XML string to the Orchestration. Please help.
 
I have an "Operation" that where the request consumes a message of type System.Xml.XmlDocument and the response sends out a message of the same type.

In the client, I am calling this web method and passing the XmlDocument object, which contains the xml string.

In the orchestration I want to take this XmlDocument and compare it with a schema I have. Then transform the incoming schema to another schema(which I know can be done with a map), then convert back this to System.Xml.XmlDocument object and send it back.

Can anyone help me with this?? I am very desperate.
 
Why use an orchestration? Why not just code the web service in VB.NET? It'll do everything you want the orchestration to do.

Just a tip: you can extract the underlying XML for your map and save it off as a standalone XSL. Then you can load it in the XML doc object without depending on the map and channel process.

HTH,

Phil Hegedusich
Senior Programmer/Analyst
IIMAK
-----------
I'm not as think as you confused I am.
-----------
Flabbergasted (a.): Amazed at how much weight one has gained.
-----------
Oyster (n.): One who sprinkles their conversation with Yiddish expressions.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top