|
| 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...
>
>
>
|
|