Problem mapping EDIFACT - XML

Problem mapping EDIFACT - XML

Post by JensJense » Sat, 07 Feb 2004 16:03:31


I have created a mapping between the EFACT_d93a_ORDRSP (Order response) and
an XML schema.
Running the test "Native Instance to XML" results a correct output.
My problem occurs when the file is generated. The receive function picks up
the edifact file and the xml file is generated, but the result file is
somehow corrupted.
The file starts with a complete set of empty tags. Why is that?

Fredrik Hansen
XXXX@XXXXX.COM

This is the file:
<?xml version="1.0" ?>
- <Response Type="">
- <Transaction>
- <Head>
<PurchId />
<VendAccount />
<MessageFunctionCoded />
</Head>
- <Line QtyOrdered="" QtyVariances="">
<ConfirmedDelDate />
<CostPriceNet />
<DeliveryUnit />
<DocumentNumber />
<EdiLineNum />
<ItemId />
<ItemIdBuyer />
<ItemIdEAN />
<ItemIdNOBB />
<ItemIdProducerf />
<QtyConfirmed />
<QtyDelivered />
</Line>
</Transaction>
- <Response Type="Confirmation">
- <Transaction>
- <Head>
<PurchId>27530000206</PurchId>
<MessageFunctionCoded>4</MessageFunctionCoded>
</Head>
- <Line>
<ConfirmedDelDate>20040126</ConfirmedDelDate>
<ItemId>7029350650041</ItemId>
</Line>
- <Line>
<ConfirmedDelDate>20040126</ConfirmedDelDate>
<ItemId>5708877176273</ItemId>
</Line>
- <Line>
<ItemId>4000810009329</ItemId>
</Line>
- <Line>
<ConfirmedDelDate>20040126</ConfirmedDelDate>
<ItemId>7052878226139</ItemId>
</Line>
- <Line>
<ConfirmedDelDate>20040126</ConfirmedDelDate>
<ItemId>8018355000028</ItemId>
</Line>
- <Line>
<ItemId>7316690050298</ItemId>
</Line>
- <Line>
<ConfirmedDelDate>20040126</ConfirmedDelDate>
<ItemId>7321710054927</ItemId>
</Line>
- <Line>
<ConfirmedDelDate>20040126</ConfirmedDelDate>
<ItemId>7054042000804</ItemId>
</Line>
</Transaction>
</Response>
</Response>
 
 
 

Problem mapping EDIFACT - XML

Post by Jan Eliase » Sat, 07 Feb 2004 16:45:46

On Fri, 6 Feb 2004 08:03:31 +0100, "JensJensen" < XXXX@XXXXX.COM >


Have you selected an envelope on your Messaging Port? If so, remove
it.


--
Jan Eliasen, representing himself and not the company he works for.
MCP in Microsoft BizTalk Server

 
 
 

Problem mapping EDIFACT - XML

Post by JensJense » Sat, 07 Feb 2004 17:28:42

Thank you.
You saved my day.

Fredrik Hansen.

"Jan Eliasen" < XXXX@XXXXX.COM > skrev i melding


and
up