BizTalk Server Orchestration - why isn't the message initialized?

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > July 2005 > why isn't the message initialized?





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 why isn't the message initialized?
Emmanuel Issaly

2005-07-12, 7:55 am

hi,

i want to construct a simple message (status), containing a string
(returnValue), to return a value from the orchestration.

i use an assignation shape, and put this in it :

WorkingDoc.LoadXml(@"<Status><returnValue>returnValue_0</returnValue></Status>");
createOut = WorkingDoc;
createOut.returnValue = "createOk";

(workingdoc is a xmlDocument variable)

this doesn't work, and gives :

A failure occurred while evaluating the distinguished field returnValue
against the message part data. The message part data does not contain at
least one of the nodes specified by the XPath expression (listed below) that
corresponds to the distinguished field. The cause for this error may be that
the message part data has not been initialized or that the message part data
does not conform to the message part schema. Ensure that the message part
data is initialized correctly.
XPath expression: /*[local-nam

(notice the subtle use of trimming from biztalk to give you the maximum of
valueless info, just cutting the informative bit so you can't do anything
with the error message? hmmm ... biztalk error messages... )

thanks a lot if anyone can explain this to me, i must have read 10 times the
articles on the subject but i musn't have understood something ... probably
workingdoc doesn't contain the right schema instantiation?

Emmanuel Issaly


Emmanuel Issaly

2005-07-12, 7:55 am

uhmmm... dont reply, i noticed there isn't a namespace. :-)

*hits himself*

on the other hand, i noticed after you expose your orchestration as a web
service, the port is create with a passthru pipeline.
BUT. it only works if the send pipe is passthru and the receive XML.
(i need to correct it by hand or "specify now" the port)

is this by design?

"Emmanuel Issaly" <nospam@thanks.com> a écrit dans le message de news:
42d3bc4c$0$8253$626a14ce@news.free.fr...
> hi,
>
> i want to construct a simple message (status), containing a string
> (returnValue), to return a value from the orchestration.
>
> i use an assignation shape, and put this in it :
>
> WorkingDoc.LoadXml(@"<Status><returnValue>returnValue_0</returnValue></Status>");
> createOut = WorkingDoc;
> createOut.returnValue = "createOk";
>
> (workingdoc is a xmlDocument variable)
>
> this doesn't work, and gives :
>
> A failure occurred while evaluating the distinguished field returnValue
> against the message part data. The message part data does not contain at
> least one of the nodes specified by the XPath expression (listed below)
> that corresponds to the distinguished field. The cause for this error may
> be that the message part data has not been initialized or that the message
> part data does not conform to the message part schema. Ensure that the
> message part data is initialized correctly.
> XPath expression: /*[local-nam
>
> (notice the subtle use of trimming from biztalk to give you the maximum of
> valueless info, just cutting the informative bit so you can't do anything
> with the error message? hmmm ... biztalk error messages... )
>
> thanks a lot if anyone can explain this to me, i must have read 10 times
> the articles on the subject but i musn't have understood something ...
> probably workingdoc doesn't contain the right schema instantiation?
>
> Emmanuel Issaly
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com