BizTalk Server Orchestration - RE: XPath Exception when mapping data between source & destination

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > August 2005 > RE: XPath Exception when mapping data between source & destination





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: XPath Exception when mapping data between source & destination
Lakshmi Murthy

2005-08-25, 2:52 am

Hi Abhay,

The min value for that node is 0 and max is unbounded..

<xs:element minOccurs="0" name="tcid" type="xs:string" />

The following is the error message i am getting after starting this
orchestration:

Microsoft.XLANGs.RuntimeTypes.AmbiguousXPathException: The result set for
the XPath expression '/*[local-name()='PLMXML' and
namespace-uri()='http://CBI_WindChill.BOM_TCE_updated']/*[local-name()='item'
and namespace-uri()='']/*[local-name()='tcid' and namespace-uri()='']'
contains more than a single node.

at Microsoft.XLANGs.Core.XmlDocumentWrapper.GetXPath(String xpath)

at Microsoft.XLANGs.Core.Value.GetXPath(String xpath, Boolean isDynamic)

at Microsoft.XLANGs.Core.Part._getXPath(String xpath, Boolean dynamic)

at Microsoft.XLANGs.Core.XSDPart.GetPayloadProperty(PropertyDefinition pd)

at Microsoft.XLANGs.Core.XMessage.GetContentProperties()

at
Microsoft.BizTalk.XLANGs.BTXEngine.BTXXlangStore.PrepareMessage(XLANGMessage
msg, IList promoteProps, IList toPromote)

at
Microsoft.BizTalk.XLANGs.BTXEngine.BTXXlangStore.WriteMessageState(XLANGMessage
msg, Segment seg, IList promoteProps, Boolean track, IList toPromote, Boolean
ignoreRoutingFailure)

at
Microsoft.BizTalk.XLANGs.BTXEngine.BTXDirectPortBinding.SendMessage(XLANGMessage
xmsg, XlangStore store, Segment seg, OperationInfo op, IList additionalProps,
IList toPromote, Boolean ignoreRoutingFailure)

at Microsoft.BizTalk.XLANGs.BTXEngine.BTXPortBase.SendMessage(Int32
iOperation, XLANGMessage msg, Correlation[] initCorrelations, Correlation[]
followCorrelations, Context cxt, Segment seg, ActivityFlags flags)

at CBI_WindChill.BOMOrchestration.segment1(StopConditions stopOn)

at Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment s,
StopConditions stopCond, Exception& exp)
Microsoft.XLANGs.RuntimeTypes.AmbiguousXPathException
Scoped@
BOMOrchestration.BOMOrchestration
316e10bb-9e05-4fa1-9915-9ed28f3335f6

How can i resolve this error???

Waiting for answers.
Thanks in advance
Regards
Lakshmi

"abby" wrote:
[vbcol=seagreen]
> Hi,
>
> Is your schema specify that node which you are using for property promotion
> can be multiple. What is the valuse for min and max value for that node?
>
> Abhay
>
> "Lakshmi Murthy" wrote:
>
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com