Re: Index was outside the bounds of the array
- From: "First Last" <airbag@xxxxxxxxxx>
- Date: Thu, 10 Nov 2005 15:58:30 +0200
Hi,
I don't have a webservice. I'm receiving the files to a file folder (D:\IN)
on my server. I use file adapter to pick them up and Biztalk framework
disassembler in my receive pipeline. The messages are formatted like this:
---cut---
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:eb="http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd">
<SOAP-ENV:Header>
<eb:MessageHeader
xmlns:eb="http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd"
SOAP-ENV:mustUnderstand="1" eb:id="2005883377448899">
<eb:From>
</eb:From>
<eb:To>
</eb:To>
<eb:MessageData>
<eb:MessageId>12345678</eb:MessageId>
</eb:MessageData>
</eb:MessageHeader>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<eb:Manifest eb:id="Manifest" eb:version="2.0">
<eb:Reference eb:id="PurchaseOrder" xlink:href="12345678">
<eb:schema eb:location="http://www.location.org/purchaseorder.xsd"
eb:version="2.0"/>
</eb:Reference>
</eb:Manifest>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<?xml version="1.0" encoding="ISO-8859-1"?>
<PurchaseOrder>
<Seller />
<Buyer />
<Item />
(etc...the actual xml 'payload'...)
</PurchaseOrder>
---cut---
So in one messagefile there's a SOAP envelope first that can be used for
routing and after that there's the xml 'payload' that can be anything; a
purchase order, invoice etc. (to which we reference in the SOAP Body).
In the Biztalk framework disassembler I have purchaseorder.xsd in the
document schemas collection. In the envelope schemas collection I have
BTF2Schemas.btf2_envelope, SOAPtest.envelope+Body,
SOAPtest.envelope+Envelope, SOAPtest.envelope+Fault,
SOAPtest.envelope+Header (last 4 are from the xmlsoap.org envelope schema).
And with this setup I get no output except the "index was outside..." error
below.
I have no idea what to do.
"BizWorld" <moonis.tahir@xxxxxxxxx> wrote in message
news:Oh$2MaH5FHA.2888@xxxxxxxxxxxxxxxxxxxxxxx
> can you please provide a little bit more detail like what is Input to your
> webservice and
> what is output?
>
> "First Last" <airbag@xxxxxxxxxx> wrote in message
> news:43708c8d$0$17491$39db0f71@xxxxxxxxxxxxxxx
>> Heya,
>>
>> trying to receive SOAP messages through File adapter in BTS2004 results
>> in me getting this in Event Log:
>> ---
>> Event Type: Error
>> Event Source: BizTalk Server 2004
>> Event Category: BizTalk Server 2004
>> Event ID: 5719
>> Date: 8.11.2005
>> Time: 11:12:27
>> User: N/A
>> Computer: XYZ
>> Description:
>> There was a failure executing the receive pipeline:
>> "SOAPtest.ReceivePipeline" Source:
>> "Microsoft.BizTalk.Pipeline.Components" Receive Location: "D:\IN\*.xml"
>> Reason: Index was outside the bounds of the array.
>> ---
>> I'm using Biztalk Framework Disassembler in the receive pipeline.
>>
>> There's a similar case discussed in KB Article 899550 but that one
>> provides a solution for a Web Project and is of no help in my case.
>> Anyone?
>>
>> Cheers.
.
- Follow-Ups:
- Re: Index was outside the bounds of the array
- From: Marvin Smit
- Re: Index was outside the bounds of the array
- References:
- Index was outside the bounds of the array
- From: First Last
- Re: Index was outside the bounds of the array
- From: BizWorld
- Index was outside the bounds of the array
- Prev by Date: Problem with parties (organization=EAN) configuring EDI Rece
- Next by Date: Re: HTTP Adapter problems - The remote server returned an error: (404) Not Found
- Previous by thread: Re: Index was outside the bounds of the array
- Next by thread: Re: Index was outside the bounds of the array
- Index(es):
Relevant Pages
|