Passing MultiPart Message Type As Paramter to .NET Component
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 > Passing MultiPart Message Type As Paramter to .NET Component




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

    Passing MultiPart Message Type As Paramter to .NET Component  
Shar


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


 
07-14-04 07:46 AM

Hi All,

How can we Pass Multipart Message as input parameter to a .Net Component(Exp
ects Xml Doc) in an orchestration

.Net Component-Method

Method(XmlDocument xdoc)
{

}
-Multipart Message type is required to call Business Rules

Thanks





[ Post a follow-up to this message ]



    RE: Passing MultiPart Message Type As Paramter to .NET Component  
Kevin J Mackey


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


 
07-14-04 10:50 PM

The following has worked for me...

using Microsoft.XLANGs.BaseTypes;

Method(XLANGMessage _inputMessage)
{
XLANGPart somePart = _inputMessage["part name"];
XmlDocument xmlDoc = (XmlDocument) somePart.RetrieveAs(typeof(XmlDocument));
}

--
KjM


"Shar" wrote:

> Hi All,
>
>    How can we Pass Multipart Message as input parameter to a .Net Componen
t(Expects Xml Doc) in an orchestration
>
> .Net Component-Method
>
> Method(XmlDocument xdoc)
> {
>
> }
>  -Multipart Message type is required to call Business Rules
>
> Thanks





[ Post a follow-up to this message ]



    RE: Passing MultiPart Message Type As Paramter to .NET Component  
Tomms


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


 
07-14-04 10:50 PM

Thanks Kjm,

What Does "part name" refers to..
My XML Message or Message_part Type is
<Person>
<First></First>
<Last></Last>
<Address>
<Apt></Apt>
<City></City>
<State></State>
<Address>
<Person>

I need to get(Modify) Inner Text of the elements and set it to some value


Thanks,






[ Post a follow-up to this message ]



    RE: Passing MultiPart Message Type As Paramter to .NET Component  
XLANGPart and part name


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


 
07-27-04 10:53 PM

I do not understand the "part name". Should this be the name og the XML-sche
ma?
I have tried a number of names using the tags in my XML, but keep getting th
e error: The XLANG/s message 'xxxxx' has no part named 'yyyy'.
Thank you for answering.
Regards Berit


"Kevin J Mackey" wrote:
[vbcol=seagreen]
> The following has worked for me...
>
> using Microsoft.XLANGs.BaseTypes;
>
> Method(XLANGMessage _inputMessage)
> {
> 	XLANGPart somePart = _inputMessage["part name"];
> 	XmlDocument xmlDoc = (XmlDocument) somePart.RetrieveAs(typeof(XmlDocument
));
> }
>
> --
> KjM
>
>
> "Shar" wrote:
> 





[ Post a follow-up to this message ]



    Sponsored Links  




 





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