BizTalk Server Orchestration - XPathUpdateException

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > December 2004 > XPathUpdateException





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 XPathUpdateException
siddharthkhare@hotmail.com

2004-12-08, 8:46 pm

Hi All,
could some one help with this error...

======================

A failure occurred while evaluating the distinguished field
ServiceRequests.ServiceRequest.ProcessDetails.FilterValue against the
message part data. The message part data does not contain at least one
of the nodes specified by the XPath expression (listed below) that
corresponds to the distinguished field. The cause for this error may be
that the message 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 is initialized correctly.
XPath expression: /*[local-name()='CTSCServiceOrder' and
namespace-uri()='http://CTSC.SI.Delinquency.BizTalk.Request']/*[local-name()='ServiceRequests'
and namespace-uri()='']/*[local-name()='ServiceRequest' and
namespace-uri()='']/*[local-name()='ProcessDetails' and
namespace-uri()='']/*[local-name()='FilterValue' and
namespace-uri()='']

Exception type: XPathUpdateException
Source: Microsoft.XLANGs.Engine
Target Site: Void SetDistinguishedField(System.String, System.Object)
Help Link:
Additional error information:

==================


this is how my message looks like ....Xpath is pointing to
'FilterValue' node which is initialized correctly as you can see below.

====================================
"<?xml version="1.0"?>
<CTSCServiceOrder xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://CTSC.SI.Delinquency.BizTalk.Request">
<ServiceRequests xmlns="">
<ServiceRequest>
<OrderDetails SubmittedAtLoanLevel="0">
<Customer>CTSC</Customer>
<TaxYear>2004</TaxYear>
<UniqueID>121</UniqueID>
<State>CA</State>
<Payee ResearchMode="Auto" ResearchType="Internet" />
<ServiceType>B52</ServiceType>
</OrderDetails>
<ProcessDetails>
<FilterValue>AutoSearchQueue</FilterValue>
<Listners>
<Listner Name="Auto Search" ResponseTimeInMinutes="1"
RetryCount="0" />
</Listners>
</ProcessDetails>
<LoanDetails>
<LoanNumber>12345</LoanNumber>
<Parcels>
<ParcelID>1212</ParcelID>
</Parcels>
<Borrower>
<BorrowerTypeID>BorrowerType</BorrowerTypeID>
<NameOnOrder>Name on Order</NameOnOrder>
<BorrowerLastName>Pande</BorrowerLastName>
<BorrowerFirstName>Mangal</BorrowerFirstName>
</Borrower>
</LoanDetails>
</ServiceRequest>
</ServiceRequests>
</CTSCServiceOrder>"
</CTSCServiceOrder>"
================================

thanks
siddharth

mjhs

2004-12-09, 5:48 pm

I have run into this myself several times.

Almost every time, if I unloaded the assembly, reset BTS service, and
redeployed the assembly, the orchestration would continue to work.

I am not sure why this has happen, and it does still periodically happen.
One possibility I am investigating the name of a promoted field matching that
in another schema already deployed, if that makes sense?

"siddharthkhare@hotmail.com" wrote:

> Hi All,
> could some one help with this error...
>
> ======================
>
> A failure occurred while evaluating the distinguished field
> ServiceRequests.ServiceRequest.ProcessDetails.FilterValue against the
> message part data. The message part data does not contain at least one
> of the nodes specified by the XPath expression (listed below) that
> corresponds to the distinguished field. The cause for this error may be
> that the message 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 is initialized correctly.
> XPath expression: /*[local-name()='CTSCServiceOrder' and
> namespace-uri()='http://CTSC.SI.Delinquency.BizTalk.Request']/*[local-name()='ServiceRequests'
> and namespace-uri()='']/*[local-name()='ServiceRequest' and
> namespace-uri()='']/*[local-name()='ProcessDetails' and
> namespace-uri()='']/*[local-name()='FilterValue' and
> namespace-uri()='']
>
> Exception type: XPathUpdateException
> Source: Microsoft.XLANGs.Engine
> Target Site: Void SetDistinguishedField(System.String, System.Object)
> Help Link:
> Additional error information:
>
> ==================
>
>
> this is how my message looks like ....Xpath is pointing to
> 'FilterValue' node which is initialized correctly as you can see below.
>
> ====================================
> "<?xml version="1.0"?>
> <CTSCServiceOrder xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns="http://CTSC.SI.Delinquency.BizTalk.Request">
> <ServiceRequests xmlns="">
> <ServiceRequest>
> <OrderDetails SubmittedAtLoanLevel="0">
> <Customer>CTSC</Customer>
> <TaxYear>2004</TaxYear>
> <UniqueID>121</UniqueID>
> <State>CA</State>
> <Payee ResearchMode="Auto" ResearchType="Internet" />
> <ServiceType>B52</ServiceType>
> </OrderDetails>
> <ProcessDetails>
> <FilterValue>AutoSearchQueue</FilterValue>
> <Listners>
> <Listner Name="Auto Search" ResponseTimeInMinutes="1"
> RetryCount="0" />
> </Listners>
> </ProcessDetails>
> <LoanDetails>
> <LoanNumber>12345</LoanNumber>
> <Parcels>
> <ParcelID>1212</ParcelID>
> </Parcels>
> <Borrower>
> <BorrowerTypeID>BorrowerType</BorrowerTypeID>
> <NameOnOrder>Name on Order</NameOnOrder>
> <BorrowerLastName>Pande</BorrowerLastName>
> <BorrowerFirstName>Mangal</BorrowerFirstName>
> </Borrower>
> </LoanDetails>
> </ServiceRequest>
> </ServiceRequests>
> </CTSCServiceOrder>"
> </CTSCServiceOrder>"
> ================================
>
> thanks
> siddharth
>
>

Neal Walters

2004-12-13, 6:28 pm

XML elements have to be created, i.e. exist, before you can set their values
using distinguished fields. If the element has Min Occurs=0, the element may
not exist and the XML is still valid. But when you try to set a
distinguished field that points to this element, it bombs.

Neal Walters
http://Biztalk-Training.com


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com