02-18-05 07:47 AM
Make sure that in your xml document, the node you are trying to set already
exists or you will get this error. In order to set the value, the node must
exist. WHen you construct the message, make sure you construct this node w
ith some default or placeholder value.
Matt
"Eric" <ericstott.dnsme@hotmail.com> wrote in message news:OI7hYPPFFHA.3384@
tk2msftngp13.phx.gbl...
I have a distinguished field in my document that I need to have overridden i
n the orchestration. The following is the rule that I have in the Expression
Editor;
DatabaseInfoOut=DatabaseInfo;
DatabaseInfoOut.sync.after.ShipConfirmations.Status="C";
When I run through the orchestration, this is the following error I get in H
AT;
Microsoft.XLANGs.RuntimeTypes.XPathUpdateException: A failure occurred while
evaluating the distinguished field sync.after.ShipConfirmations.Status agai
nst the message part data. The message part data does not contain at least o
ne of the nodes specified by the XPath expression (listed below) that corres
ponds to the distinguished field. The cause for this error may be that the m
essage 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 i
s initialized correctly.
XPath expression: /*[local-name()='sampleorderrequest' and namespace-uri
()='http://sampleorders']/*[local-name()='sync' and namespace-uri()='htt
p://sampleorders']/*[local-name()='after' and namespace-uri()='http://sa
mpleorders']/*[local-name()='ShipConfirmations' and namespace-uri()='htt
p://sampleorders']/@*[local-name()='Status' and namespace-uri()='']
at Microsoft.XLANGs.Core.XSDPart.SetDistinguishedField(String dottedPath, Ob
ject val)
at Test.TestOrchestration.segment1(StopConditions stopOn)
at Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment s, StopConditi
ons stopCond, Exception& exp)
Microsoft.XLANGs.RuntimeTypes.XPathUpdateException
Why would I be getting this message?
[ Post a follow-up to this message ]
|