cancel
Showing results for 
Search instead for 
Did you mean: 

Sender File Adapter

Former Member
0 Kudos

Hi All,

Sender File Adapter without file content conversion..

<b>Sorce message given from client</b>

<?xml version="1.0" encoding="UTF-8" ?>

- <PREASN_ACK>

- <SEG_START>

<DOC_ID Value="000073938" />

<CREATE_DATE Value="20070731151013" />

<SENDER_DOC_ID Value="000072148" />

</SEG_START>

- <TRANSACTION_HEADER>

<SENDER_ID Value="ADIDAS.DHL" />

<RECEIVER_ID Value="ADIDAS.600" />

<DOC_TYPE Value="ASNACK" />

<DOC_VER_NO Value="1.0.9" />

</TRANSACTION_HEADER>

- <SEG_END>

<SEG_COUNT Value="" />

<DOC_ID Value="000073938" />

</SEG_END>

</PREASN_ACK>

hear i am facing a Problem that my <b>message type</b> name is not given

<b>so the error i am getting is</b>

Invalid at the top level of the document. Error processing resource 'file:///C:/Documents and Settings

<b>if i add message type information in the message it's working fine</b>

<?xml version="1.0" encoding="UTF-8"?>

<ns0:mt_DHL_SMSPreASNAck xmlns:ns0="urn:agrp:dhl">

<PREASN_ACK>

<SEG_START>

<DOC_ID Value="000073938"/>

<CREATE_DATE Value="20070731151013"/>

<SENDER_DOC_ID Value="000072148"/>

</SEG_START>

<TRANSACTION_HEADER>

<SENDER_ID Value="ADIDAS.DHL"/>

<RECEIVER_ID Value="ADIDAS.600"/>

<DOC_TYPE Value="ASNACK"/>

<DOC_VER_NO Value="1.0.9"/>

</TRANSACTION_HEADER>

<SEG_END>

<SEG_COUNT Value=""/>

<DOC_ID Value="000073938"/>

</SEG_END>

</PREASN_ACK>

</ns0:mt_DHL_SMSPreASNAck>

my Question is ??? is their any way method by which i can ignore or setting in the sender file Adpter that it has to poll message if the <b>message type information is not given</b> in the Payload ...???

waiting for u r valuable Replies ....VERY URGENT ....

thanks

shakif

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

hey

just remove the namespace as shown in this blog

/people/sameer.shadab/blog/2005/12/05/how-to-remove-namespaces-in-mapping--xi

Thanx

Aamir