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