01-25-05 10:50 PM
Hello,
I've been (sadly) struggling with BT2004 envelope schemas all morning. I
would really appreciate it if someone could point me in the right direction.
What I'm looking to do is this:
<Envelope1>
<Header/>
<Body>
<any/>
</Body>
</Envelope1>
I've defined my schemas and have been able to successfully promote
properties in the various envelope <Header> sections. The problem I'm
running into, I believe, is with the <any> element.
When BizTalk strips the envelope off, I want whatever message that is
present in place of the <any> element to go into the message box (to be
picked up by the appropriate send port subscriptions.) I've defined a custo
m
pipeline with a XML disassembler component and the appropriate Envelope and
Document Schemas. Everytime I submit a document (FILE adapter), I receive
the following error in the Event Log:
"The Messaging engine failed to process a message submitted by adapter:FILE
Source URL:C:\My Projects
2\Research\BizTalk\Envelopes\Envelopes\F
ileDrop\In\*.xml. Details:Could not
find a matching subscription for the message. . This error occurs if the
subscribed orchestration schedule or send port has not been started, or if
some of the message properties necessary for subscription evaluation have no
t
been promoted. Please refer to Health and Activity Tracking tool for more
detailed information on this failure"
What is frustrating is that I'm sure I had this working this morning. It's
probably a case of staring at this for too long, but can anyone tell me why
I'm getting a subscription error?
I have the schemas, Envelope, ItemType1, ItemType2, and
EnvelopeReceivePipeline all defined in one assembly. The namespaces are all
different, I've specified the Body xpath, the Envelope flag (for the two
envelopes), and even fiddled with the Root Reference property. The schemas
are deployed correctly.
If you need anymore information, let me know.
Here is the document that I'm trying to submit:
<ns0:Envelope xmlns:ns0="http://Envelopes.Envelope">
<Header />
<Items>
<ns1:ItemType1 xmlns:ns1="http://Envelopes.ItemType1>
<Text>Testing 1, 2, 3</Text>
</ns1:itemType1>
</Items>
</ns0:Envelope>
Thank you in advance,
Joel
[ Post a follow-up to this message ]
|