Error in accessing the part data or one of its fragments. The part or fragment may not exist in the database
- From: "Mary" <maria.hansen@xxxxxxxxxx>
- Date: 16 Feb 2006 05:09:41 -0800
Hi
I have a problem conserning xml envelopes and ,I suspect, namespaces
(Note: I can not change the transport application and it is a requred
use, and i would prefere to keep namespace in document shema)
Any suggestions will be greatly valued
The senario
I transport a wellformed XML message via an application that "packs"
the XML, the transport application "dumps" the resulting message in a
filefolder from where my biztalk orchestration handes it. I have
created an Envelope schema and a document schema. but whem my
orchestration run I recive following error in the eventviewer.
There was a failure executing the receive pipeline:
"BTS_consume_WS.ReceiveTB_FAdd" Source: "XML disassembler" Receive
Location: "C:\POC Solutions\Consume WebService\TBIn\*.xml" Reason: This
Disassembler cannot retrieve body nodes using this XPath:
"/*[local-name()='TBIC' and
namespace-uri()='http://www.systematic.dk/xml/tbmsgheader']/*[local-name()='TBMsgs'
and namespace-uri()='']/*[local-name()='TBMsg' and
namespace-uri()='']". /*[local-name()='TBIC' and
namespace-uri()='http://www.systematic.dk/xml/tbmsgheader']/*[local-name()='TBMsgs'
and namespace-uri()='']/*[local-name()='TBMsg' and namespace-uri()='']
The message after the transport application have handled it
<?xml version="1.0" encoding="iso-8859-1" ?>
<TBIC icid="I47T1SVG00OTDB" sender="SSE_TestA:14"
receiver="2790003192:14"
timestamp="20060216095108" contrl="nej" nummsg="1" encrypted="nej"
compressed="nej"
tbversion="2.4 2" xmlns="http://www.s.dk/xml/tbmsgheader">
<TBMsgs>
<TBMsg
msgid="M47T1SV400OTDA" infoflow="F [rkn] Addering XML 2"
signed="nej" timestamp="20060216095105">
<FAddering2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.my.dk/FAddering2"
xsi:schemaLocation="http://www.my.dk/FAddering2
FAddering2.xsd">
<Heltal1>10</Heltal1>
<Heltal2>12</Heltal2>
</FAddering2>
</TBMsg>
</TBMsgs>
</TBIC>
The envelope
<?xml version="1.0" encoding="utf-16"?>
<xs:schema xmlns="http://www.s.dk/xml/tbmsgheader"
xmlns:b="http://schemas.microsoft.com/BizTalk/2003"
targetNamespace="http://www.s.dk/xml/tbmsgheader"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:annotation>
<xs:appinfo>
<b:schemaInfo is_envelope="yes"
xmlns:b="http://schemas.microsoft.com/BizTalk/2003" />
</xs:appinfo>
</xs:annotation>
<xs:element name="TBIC">
<xs:annotation>
<xs:appinfo>
<b:recordInfo body_xpath="/*[local-name()='TBIC' and
namespace-uri()='http://www.systematic.dk/xml/tbmsgheader']/*[local-name()='TBMsgs'
and namespace-uri()='']/*[local-name()='TBMsg' and namespace-uri()='']"
/>
</xs:appinfo>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="TBMsgs">
<xs:complexType>
<xs:sequence>
<xs:element name="TBMsg">
<xs:complexType>
<xs:sequence>
<xs:any />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
The document schema
<?xml version="1.0" encoding="utf-16"?>
<xs:schema xmlns="http://www.my.dk/FAddering2"
elementFormDefault="qualified"
targetNamespace="http://my.dk/FAddering2" id="FAddering2" >
<xs:simpleType name="HELTAL">
<xs:restriction base="xs:unsignedInt" />
</xs:simpleType>
<xs:element name="FAddering2" nillable="true">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="Heltal1"
type="HELTAL" />
<xs:element minOccurs="1" maxOccurs="1" name="Heltal2"
type="HELTAL" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
.
- Follow-Ups:
- Prev by Date: Re: Deployment Issue
- Next by Date: Re: biztalk installation problem
- Previous by thread: Re: BRE:With different DB tables data
- Next by thread: Re: Error in accessing the part data or one of its fragments. The part or fragment may not exist in the database
- Index(es):
Relevant Pages
|