Hi,
I am using Biztalk 2004 and have an orchestration that calls a Web
service within its flow, and I assign the WS response to a message
schema's
element in a Message Assignment shape within a Construct Message shape.
After
I build and deploy the orchestration, and test it, I get an error message
in
HAT stating the following:
A failure occurred while evaluating the distinguished field sMsg 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-name()='Answer_Out' and
namespace-uri()='http://BizTalk_Server_Test_Project.Answer_Out']/*[local-name()='sMsg'
and namespace-uri()='']
Exception type: XPathUpdateException
Source: Microsoft.XLANGs.Engine
Target Site: Void SetDistinguishedField(System.String, System.Object)
I believe the problem lies in the operation of assigning the WS
response
to the message element. I just don't know what the solution is.
Does anyone have a clue to fix this problem?