BizTalk Server General - RE: Help needed! Conversion between a message and its string represent

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > January 2006 > RE: Help needed! Conversion between a message and its string represent





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author RE: Help needed! Conversion between a message and its string represent
Danny Buysse

2006-01-13, 9:59 pm

You can assign your incoming message to a variable of type
System.Xml.XmlDocument
xmlDoc = Message_1;
You then can assign the xmlDoc.OuterXml to your message part of your
WebService call.

Danny Buysse
http://dannybuysse.blogspot.com/

"Tommy Wang" wrote:

> The scenario is I got an orchestration which accepts a message, calls a web
> service,get the response, construct a return message and sent out. Both the
> request and response message are straight-forward, non-multipart messages.
> i.e. the request message:
> <person><age>10</age></person>
>
> The called web service only accept a string, it should be the string
> representation of the requested message. After getting result from the web
> service, the response is also a string and has to convert as a message and
> send out.
>
> The question is, I am wonderting is it possible to make the conversion
> between a message and its string representation? i.e, the ToString, or
> ConverToMessage() method.
>
> Thanks in advance for your help and really appreciate it.
>
> Tommy
>
>
>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com