BizTalk Server Orchestration - Re: Initializing a Multipart Message Part in Message Assignment Sh

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > September 2005 > Re: Initializing a Multipart Message Part in Message Assignment Sh





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: Initializing a Multipart Message Part in Message Assignment Sh
JT

2005-09-07, 5:52 pm

Thanks Matt.
Looks like I need to do some reading on this one. I am not 100% clear on
what you are saying. Is the document without a root node because it is
multipart? Does this mean I could create an XSD schema for a "uni-part"
message, with a Root node and three attributes, distinguish the attributes,
assign them values, and then use my "uni-part" XSD on the source side of a
map to my multipart message?
--
John


"Matt Milner" wrote:

> You have not yet defined the root xml for your document so there is no part.
> You are basically trying to set properties/values on a part that does not
> exist.
>
> The two easiest ways to initiliaze the message are:
> 1) Use a map and make sure your map creates those nodes you are trying
> to set with distinguished properties (TranID , Status, etc.)
> 2) Use an XmlDocument instance and do LoadXML to load the initial xml
> for your message, then set the part equal to the xmldocument variable.
>
> Once you have done one of those, then you should be able to set the
> properties just fine.
>
> HTH,
> Matt
>
>
> "JT" <Jthayer@online.nospam> wrote in message
> news:CC7E1223-6A0C-413E-9784-2ED9115512A9@microsoft.com...
>
>
>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com