cancel
Showing results for 
Search instead for 
Did you mean: 

Error in XML element

Former Member
0 Kudos

Dear Experts,

I am working on SOAP <-> SAP-PI <-> SAP ECC(Proxy). I am testing with ALTOVA XML Spy. For this I collected the WSDL from the Sender agreement by saving the file once the "Display WSDL" is selected.

The error fails with the below message in SAP XI as well as SAP ECC in Tx sxmb_moni.

Error during XML => ABAP conversion (Request Message; error ID: CX_ST_MATCH_ELEMENT; (/1SAI/TXSBC7F38F92C99F78D710D.

XML Bytepos.: 114 XML Path: ns0:MT_Request(1)

Error Text: System expected the element &#39;MT_Request&#39;))

System expected the element &#39;MT_Request&#39;.

I have following querries.

1. Please suggest what can we conlude from the 2 text from the error statement.

a.(/1SAI/TXSBC7F38F92C99F78D710D XML Bytepos.: 114 XML Path)

b.System expected the element &#39;MT_Request&#39;))

Regards

Alice Rebecca

Accepted Solutions (1)

Accepted Solutions (1)

former_member184681
Active Contributor
0 Kudos

Hi,

Have a lok at the OSS Note 1162160 - CX_ST_MATCH_ELEMENT in XML INBOUND processing.

Hope this helps,

Greg

Answers (2)

Answers (2)

Former Member
0 Kudos

>>Error during XML => ABAP conversion (Request Message; error ID: CX_ST_MATCH_ELEMENT

there seems to be some namespace mismatch in ur Receiver proxy structure...

chk this similar discussion:

Former Member
0 Kudos

HI Alice,

What kind of mapping do you have ?

The message complains that the xml PI provides to ECC is not structured as expected. The message is missing or it has the wrong namespace.