BizTalk Server Orchestration - Message Context during map

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > December 2005 > Message Context during map





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 Message Context during map
tjhazel

2005-12-13, 5:55 pm

I tried to use the construct message shape to execute a Map, the to assign
additional values to a message. My xpath appear to select the appropriate
nodes when I test it in an outside program.
xpath(SQLCustomer, "/*[local-name()='PortalCustomer' and
namespace-uri()='MxLogic.Schemas.SQLPortalCustomers']/@*[local-name()='FileName'
and namespace-uri()='']") = CustomerSchema(FILE.ReceivedFileName);

The problem I think I am having is that I can have multiple nodes that
match my xpath, which is what I want to happen. Is there a restriction
against updating multiple nodes with a single xpath statment?
Microsoft.XLANGs.RuntimeTypes.XPathSelectionException: The XPath expression
'/*[local-name()='PortalCustomer' and
namespace-uri()='MxLogic.Schemas.SQLPortalCustomers']/*[local-name()='sync'
and
namespace-uri()='MxLogic.Schemas.SQLPortalCustomers']/*[local-name()='after'
and
namespace-uri()='MxLogic.Schemas.SQLPortalCustomers']/*[local-name()='PortalCustomer'
and
namespace-uri()='MxLogic.Schemas.SQLPortalCustomers']/@*[local-name()='FileName'
and namespace-uri()='']' selected a node which is not valid for property or
distinguished field retrieval, or it selected no node at all. Only text-only
elements or attributes may be selected.
at Microsoft.XLANGs.Core.Part.XPathStore(Object rValue, String xpath)
at MxLogic.Orchestrations.TestPortalCustomer.segment1(StopConditions
stopOn)
at Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment s,
StopConditions stopCond, Exception& exp)
Microsoft.XLANGs.RuntimeTypes.XPathSelectionException



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com