RE: Help needed! Conversion between a message and its string represent
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server General > RE: Help needed! Conversion between a message and its string represent




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

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


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
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 ]



    Sponsored Links  




 





   All times are GMT. The time now is 05:01 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register