I am trying to work out how to create a populated instance of an
Microsoft.XLANGs.BaseTypes. XLANGMessage so I can do some debugging of
an external c# method called from Biztallk, using the XML that is
shown as being the cause of an error inh BizTalk Administrator.
Looking at various websites it would appear that it is possible, but
when I follow the advice (e.g. from http://msdn.microsoft.com/en-us/library/aa995576%28BTS.20%29.aspx)
I get
cannot implicitly convert ‘System.Xml.XmlDocument’ to
‘Microsoft.XLANGs.BaseTypes. XLANGMessage’
The overall code I am using is
string xml_string = "<xml>blah</xml>";
XmlDocument myxmldoc = new XmlDocument();
myxmldoc.LoadXml(xml_string);
XLANGMessage list = myxmldoc;
Can anyone advise as to what I am doing wromg?
thanks
Please note the following: an XLangMessage consists of one or more
XLangParts - the latter one can be used to assign a XmlDocument to. You may
access the individual parts through indexing, e. g. list[0] .
Regards
Joerg Fischer
BizTalk MVP
"Kevin S" <sea...@googlemail.com> schrieb im Newsbeitrag
news:f10fee09-c365-4c61...@k41g2000yqm.googlegroups.com...
> Hello,
>
>
> I am trying to work out how to create a populated instance of an
> Microsoft.XLANGs.BaseTypes. XLANGMessage so I can do some debugging of
> an external c# method called from Biztallk, using the XML that is
> shown as being the cause of an error inh BizTalk Administrator.
>
> Looking at various websites it would appear that it is possible, but
> when I follow the advice (e.g. from
> http://msdn.microsoft.com/en-us/library/aa995576%28BTS.20%29.aspx)
> I get
> cannot implicitly convert �System.Xml.XmlDocument� to
> �Microsoft.XLANGs.BaseTypes. XLANGMessage�
You get something for using orkut?
You get something for using skype?
You gain something by using twiter?
You get somenthing for using facebook?
Enjoy this is your time!!
Sign up and join for free.
I have tried using XLangParts but this issues are the same.
Would you have an example of code which works?
thanks.
KS