How to convert a message to string?
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 Framework > How to convert a message to string?




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

    How to convert a message to string?  
Cindy Liu


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


 
10-26-04 10:48 PM

Hi,

I receive a Biztalk message and want to parse that xml string. Is there
anyway I can convert the whole message to a string and load it in XmlDocumen
t?

Thanks in advance!!!
Cindy





[ Post a follow-up to this message ]



    Re: How to convert a message to string?  
Greg Forsythe


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


 
10-27-04 12:46 PM

Are you coding a pipeline component or an orchestration?
I will assume an orchestration.
The Biztalk message is interchangeable with an XmlDocument.
Create an orchestration variable (MyXmlDocument) of type
System.Xml.XmlDocument
In an expression shape

MyXmlDocument = BiztalkMessage;

Depending on what you wish to do, you may find the xpath() function useful
for direct access to the BiztalkMessage rather than creating the
XmlDocument.


Greg

"Cindy Liu" <CindyLiu@discussions.microsoft.com> wrote in message
news:C51EE0FC-3B89-4563-9F53-B683998CB968@microsoft.com...
> Hi,
>
> I receive a Biztalk message and want to parse that xml string. Is there
> anyway I can convert the whole message to a string and load it in
XmlDocument?
>
> Thanks in advance!!!
> Cindy







[ Post a follow-up to this message ]



    Re: How to convert a message to string?  
Cindy Liu


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


 
10-27-04 10:49 PM

I'm coding an orchestration. It is very helpful.

Thanks,
Cindy

"Greg Forsythe" wrote:

> Are you coding a pipeline component or an orchestration?
> I will assume an orchestration.
> The Biztalk message is interchangeable with an XmlDocument.
> Create an orchestration variable (MyXmlDocument) of type
> System.Xml.XmlDocument
> In an expression shape
>
> MyXmlDocument = BiztalkMessage;
>
> Depending on what you wish to do, you may find the xpath() function useful
> for direct access to the BiztalkMessage rather than creating the
> XmlDocument.
>
>
> Greg
>
> "Cindy Liu" <CindyLiu@discussions.microsoft.com> wrote in message
> news:C51EE0FC-3B89-4563-9F53-B683998CB968@microsoft.com... 
> XmlDocument? 
>
>
>





[ Post a follow-up to this message ]



    Re: How to convert a message to string?  
Cindy Liu


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


 
10-27-04 10:49 PM

Hi Greg,

Where can I find the document on how to use xpath() function?

Thanks,
Cindy

"Greg Forsythe" wrote:

> Are you coding a pipeline component or an orchestration?
> I will assume an orchestration.
> The Biztalk message is interchangeable with an XmlDocument.
> Create an orchestration variable (MyXmlDocument) of type
> System.Xml.XmlDocument
> In an expression shape
>
> MyXmlDocument = BiztalkMessage;
>
> Depending on what you wish to do, you may find the xpath() function useful
> for direct access to the BiztalkMessage rather than creating the
> XmlDocument.
>
>
> Greg
>
> "Cindy Liu" <CindyLiu@discussions.microsoft.com> wrote in message
> news:C51EE0FC-3B89-4563-9F53-B683998CB968@microsoft.com... 
> XmlDocument? 
>
>
>





[ Post a follow-up to this message ]



    Re: How to convert a message to string?  
Hugo Rodger-Brown


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


 
10-28-04 07:47 AM

Cindy - try these:

http://geekswithblogs.net/sthomas/a...0/25/13269.aspx
http://msdn.microsoft.com/library/d...
_orch_doho.asp
http://blogs.msdn.com/darrenj/archi.../30/222614.aspx

Hugo

http://hugo.rodger-brown.com





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 12:49 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