Convert To xml.xmlDocument
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 Orchestration > Convert To xml.xmlDocument




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

    Convert To xml.xmlDocument  
Mangi


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


 
07-23-04 12:49 PM

How do i convert a message to xml.xmldocument. The message is typed on a sch
ema and not a multipart message. if it was a mulitype message i could easily
 di this...
DocPart = msgTransformedOrder.OrderPart;
xmlDocument = (System.Xml.XmlDocument) DocPart.RetrieveAs(typeof(System.Xml.
XmlDocument));
msgDemandTOiBIS.xDoc = xmlDocument;

How do i do this for a message that conforms to a schema?





[ Post a follow-up to this message ]



    Re: Convert To xml.xmlDocument  
Yossi Dahan


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


 
07-23-04 10:50 PM

AFAIK a BizTalk message can be casted into an Xml document
so xmlDocument = MyMessage;
should work

Yossi

"Mangi" <Mangi@discussions.microsoft.com> wrote in message
news:0437BD48-E55D-4507-A1D2-9DB7FE3AED51@microsoft.com...
> How do i convert a message to xml.xmldocument. The message is typed on a
schema and not a multipart message. if it was a mulitype message i could
easily di this...
> DocPart = msgTransformedOrder.OrderPart;
> xmlDocument = (System.Xml.XmlDocument)
DocPart.RetrieveAs(typeof(System.Xml.XmlDocument));
> msgDemandTOiBIS.xDoc = xmlDocument;
>
> How do i do this for a message that conforms to a schema?







[ Post a follow-up to this message ]



    RE: Convert To xml.xmlDocument  
Rajan


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


 
07-27-04 10:53 PM

Declaring a variable of type XmlDocument and then assigning the message to i
t in an expression has always done the trick for me.

Regards
Rajan

"Mangi" wrote:

> How do i convert a message to xml.xmldocument. The message is typed on a s
chema and not a multipart message. if it was a mulitype message i could easi
ly di this...
> DocPart = msgTransformedOrder.OrderPart;
> xmlDocument = (System.Xml.XmlDocument) DocPart.RetrieveAs(typeof(System.Xm
l.XmlDocument));
> msgDemandTOiBIS.xDoc = xmlDocument;
>
> How do i do this for a message that conforms to a schema?





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:09 AM.      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