Message Context during map
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server Orchestration > Message Context during map




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Message Context during map  
tjhazel


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-13-05 10: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()='F
ileName'
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()='sy
nc'
and
namespace-uri()='MxLogic.Schemas.SQLPortalCustomers']/*[local-name()='af
ter'
and
namespace-uri()='MxLogic.Schemas.SQLPortalCustomers']/*[local-name()='Po
rtalCustomer'
and
namespace-uri()='MxLogic.Schemas.SQLPortalCustomers']/@*[local-name()='F
ileName'
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








[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 08:43 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register