cancel
Showing results for 
Search instead for 
Did you mean: 

File to proxy .. help me to decipher this

dalpritsawhne
Explorer
0 Kudos

Hi,

I have file to proxy scenario and the XI has successfully delivered the message to the proxy, but unfortunetly the data is not posted in the respective BW system where the proxy is written. I took the payload of the receiver (From BW) and try to run the proxy, What I observed is that even after copying the payload I am not able to debug the proxy. But if I choose ‘Generate Template Data’ it go to debugging. Therefore what I think is that Execute_asynchornous is not getting executed at all. SAP is throwing some error by checking the payload. Please help me with this, I am getting the following output when I run the proxy. Can somebody help me how to decipher this kind of XML message.

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

- <asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0">

- <asx:values>

<ERROR href="#o120" />

</asx:values>

- <asx:heap xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:abap="http://www.sap.com/abapxml/types/built-in" xmlns:cls="http://www.sap.com/abapxml/classes/global" xmlns:dic="http://www.sap.com/abapxml/types/dictionary">

- <cls:CX_XMS_SYSERR_PROXY id="o120">

- <CX_ROOT>

<TEXTID>392B46E58AC0F445B64639726E2A3D85</TEXTID>

<PREVIOUS href="#o119" />

<KERNEL_ERRID />

- <INTERNAL_SOURCE_POS>

<PROGID>246</PROGID>

<CONTID>656</CONTID>

</INTERNAL_SOURCE_POS>

</CX_ROOT>

<CX_STATIC_CHECK />

- <CX_XMS_SYSTEM_ERROR>

<ID>PARSE_APPLICATION_DATA</ID>

<P1 />

<P2 />

<P3 />

<P4 />

<INFO />

<CATEGORY />

<AREA />

<RETRY />

</CX_XMS_SYSTEM_ERROR>

- <CX_XMS_SYSERR_PROXY>

<CO_AREA_ABAP>ABAP</CO_AREA_ABAP>

</CX_XMS_SYSERR_PROXY>

</cls:CX_XMS_SYSERR_PROXY>

- <cls:CX_AI_SYSTEM_FAULT id="o119">

- <CX_ROOT>

<TEXTID>F63AFF63DBE4BB4786A7F52CC4167145</TEXTID>

<PREVIOUS href="#o108" />

<KERNEL_ERRID />

- <INTERNAL_SOURCE_POS>

<PROGID>246</PROGID>

<CONTID>564</CONTID>

</INTERNAL_SOURCE_POS>

</CX_ROOT>

<CX_STATIC_CHECK />

- <CX_AI_SYSTEM_FAULT>

<CODECONTEXT>Local</CODECONTEXT>

<CODE>PARSE_APPLICATION_DATA</CODE>

<ERRORTEXT>Error during XML => ABAP conversion (Request Message; error ID: CX_ST_MATCH_ELEMENT; (/1SAI/TXS00000000000000000007 XML Bytepos.: 1000 XML Path: ns0:POSLog_ABAP_Proxy(1)Transaction(1)RetailLineItem(9)Extensions(12) Error Text: System expected the end of the element 'RetailLineItem'))</ERRORTEXT>

<LANGUAGE />

</CX_AI_SYSTEM_FAULT>

</cls:CX_AI_SYSTEM_FAULT>

- <cls:CX_XMS_SYSERR_PROXY id="o108">

- <CX_ROOT>

<TEXTID>8BB7CA726FE56F43BC4A06197ABFE5FD</TEXTID>

<PREVIOUS href="#o102" />

<KERNEL_ERRID />

- <INTERNAL_SOURCE_POS>

<PROGID>0</PROGID>

<CONTID>0</CONTID>

</INTERNAL_SOURCE_POS>

</CX_ROOT>

<CX_STATIC_CHECK />

- <CX_XMS_SYSTEM_ERROR>

<ID>PARSE_APPLICATION_DATA</ID>

<P1>Request Message</P1>

<P2>CX_ST_MATCH_ELEMENT</P2>

<P3>/1SAI/TXS00000000000000000007</P3>

<P4>XML Bytepos.: 1000 XML Path: ns0:POSLog_ABAP_Proxy(1)Transaction(1)RetailLineItem(9)Extensions(12) Error Text: System expected the end of the element 'RetailLineItem'</P4>

<INFO />

<CATEGORY>XIProxy</CATEGORY>

<AREA>ABAP</AREA>

<RETRY>M</RETRY>

</CX_XMS_SYSTEM_ERROR>

- <CX_XMS_SYSERR_PROXY>

<CO_AREA_ABAP>ABAP</CO_AREA_ABAP>

</CX_XMS_SYSERR_PROXY>

</cls:CX_XMS_SYSERR_PROXY>

- <cls:CX_ST_MATCH_ELEMENT id="o102">

- <CX_ROOT>

<TEXTID>96858A09342E26429DA8F92F365C765A</TEXTID>

<PREVIOUS />

<KERNEL_ERRID />

- <INTERNAL_SOURCE_POS>

<PROGID>118</PROGID>

<CONTID>1249</CONTID>

</INTERNAL_SOURCE_POS>

</CX_ROOT>

<CX_DYNAMIC_CHECK />

<CX_TRANSFORMATION_ERROR />

- <CX_ST_ERROR>

<ST_PROGNAME>/1SAI/TXS00000000000000000007</ST_PROGNAME>

<X-ML_OFFSET>1000</X-ML_OFFSET>

<X-ML_PATH>ns0:POSLog_ABAP_Proxy(1)Transaction(1)RetailLineItem(9)Extensions(12)</X-ML_PATH>

<ST_IC>220</ST_IC>

<ST_TIMESTAMP>20071129041424</ST_TIMESTAMP>

</CX_ST_ERROR>

- <CX_ST_MATCH>

<ACTUAL_TOKEN_TYPE>I</ACTUAL_TOKEN_TYPE>

<ACTUAL_NAME />

<ACTUAL_NAMESPACE />

<ACTUAL_VALUE />

</CX_ST_MATCH>

- <CX_ST_MATCH_NAMED>

<EXPECTED_NAME>RetailLineItem</EXPECTED_NAME>

<EXPECTED_NAMESPACE />

<EXPECTED_OPEN />

</CX_ST_MATCH_NAMED>

<CX_ST_MATCH_ELEMENT />

</cls:CX_ST_MATCH_ELEMENT>

</asx:heap>

</asx:abap

Accepted Solutions (1)

Accepted Solutions (1)

stefan_grube
Active Contributor
0 Kudos

Your XML does not fit the message type structure in the Integration repository.

Maybe you changed the structure and did not recreate the proxy.

Regards

Stefan

dalpritsawhne
Explorer
0 Kudos

I have already check that... I did not seem to be so....anyway...but how to read this kind of XML any hint.....what does Href number mean ??

Message was edited by:

dalprit Sawhney

Answers (1)

Answers (1)

Former Member
0 Kudos

Dear Dalprit

kindly check the tag in your XML

<b><PREVIOUS href="#o102" /></b>

As per my knowledge special character # is not allowed in XML (in xi you will get this error)

so check , in the whole XML in the TAG <b>"PREVIOUS"</b> you have used special character #

remove this and your desired output will be generated

hope this may solve your problem

Thanks

sandeep Sharma

PS: if helpful please reward points

dalpritsawhne
Explorer
0 Kudos

This is the XML generated after the execution of the proxy, it is not an input XML file