Re: Index was outside the bounds of the array

Tech-Archive recommends: Speed Up your PC by fixing your registry



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.


.



Relevant Pages

  • =?Utf-8?Q?Alternative_to_BizTalk=E2=80=99s_File_Ad?= =?Utf-8?Q?apter?=
    ... BizTalk, or at least in my experience it is. ... hook it up to a file adapter and see what happens. ... the scenario of a convenience store chain that has 1000 stores. ... It supplies a library of custom workflow ...
    (microsoft.public.biztalk.general)
  • Re: SISS vs Biztalk Large data
    ... You can use the file adapter to move it to a local ... I am a BizTalk guy, and so many times I use SSIS for scenarios like ... I receive a flatfile of 1GB approximatly everyday ... have to transform another flatfile format with in 30 mins of time. ...
    (microsoft.public.sqlserver.dts)
  • Re: Expose BizTalk Orchestration as a Webservice
    ... the localhost? ... Can that webservice be on the web farm? ... The Webservice makes use of BizTalk assemblies, ... installed on the web server with the web service. ...
    (microsoft.public.biztalk.general)
  • RE: Biztalk Testing
    ... The easyest way to test throughput is to use the file adapter with an ... You can then use the XLANG/s Orchestrations and BizTalk messaging performance ... > I have gone through the performance white paper. ...
    (microsoft.public.biztalk.general)
  • RE: Biztalk File Adapter Behavior when Writing File. Does it lock the file?
    ... Our FILE adapter file writer is created with GENERIC_WRITE and SHARE_READ ... Biztalk File Adapter Behavior when Writing File. ... Does it lock the ...
    (microsoft.public.biztalk.general)