01-14-06 02:59 AM
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 we
b
> service,get the response, construct a return message and sent out. Both th
e
> 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
>
>
>
[ Post a follow-up to this message ]
|