cancel
Showing results for 
Search instead for 
Did you mean: 

PARSE_APPLICATION_DATA Error during XML=>ABAP Conversion: Response Message;CX_ST_MATCH_ELEMENT

Former Member
0 Kudos

Hi Everyone,

When I am trying to excute a sync scenario from SAP<-->XI<-->Webservice from Integration engine , I am getting the below error message In ECC

PARSE_APPLICATION_DATA Error during XML => ABAP conversion: ResponseMessage; CX_ST_MATCH_ELEMENT in
/1SAI/TXS344BA04FD0E05CBC9D73 Line 17 System expected the element '{http://sap.com/xi/HRCUN/HRInterface}CommonResponse_out'  .

In my scenario I am using receiver SOAP AXIS adapter.

The request message is reaching the target system and the response sent back by target system is reaching till PI system. But looks like there is some problem in PI system while forwarding the response message back to source system.

Below I have copied the code of transformation /1SAI/TXS344BA04FD0E05CBC9D73 mentioned in error message and marked line no 17 in red.

<?sap.transform simple?>

<tt:transform version="1.0" xmlns:tt="http://www.sap.com/transformation-templates" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sapgdt="http://sap.com/xi/SAPGlobal/GDT" xmlns:ddic="http://&>
www.sap.com/abapxml/types/dictionary" xmlns:prx="urn:sap.com:proxy:DE1:/1SAI/TAS344BA04FD0E05CBC9D73:702:2010/07/23" xmlns:n0="http://sap.com/xi/HRCUN/HRInterface">
<tt:namespace name="prx"/>
<tt:namespace name="n0"/>
<tt:root name="OUTPUT" type="ddic:ZHRPADUN_COMMON_RESPONSE_OUT"/>
<tt:variable name="_C_NIL" val="C(' ')" type="ddic:XSDBOOLEAN"/>
<tt:parameter name="_DEFAULT" val="C('')"/>
<tt:template extensible="deep">
  17. <tt:clear ref="OUTPUT"/>
  <n0:CommonResponse_out tt:extensible="deep">
   <tt:call transformation="/1SAI/SASE2487502ECACE065F636">
    <tt:with-root name="ROOT" ref="OUTPUT"/>
   </tt:call>
  </n0:CommonResponse_out>
</tt:template>
</tt:transform>

And also I checked in ESR, the structure CommonResponse_Out is present in the name space {http://sap.com/xi/HRCUN/HRInterface}.

Interestingly I don't get this error while using SOAP HTTP Adapter, so I am not able to understand what is the issue. Is it something to do with module configuration for Axis adapter??

I

Can some one help me to solve this issue.

Thanks & Regards,

Naresh

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Jenny and Trevor,

I have created the structure CommonRespose_Out manually in ESR. I have already the copied the response message from sender WS and tested it in ESR, there was no error. And as already said I don't have this issue while testing with SOAP HTTP adapter and even with SOAP AXIS adapter I can see the message in PI systems SXMB_MONI. So I don't think there is any problem with message mapping.

The problem I think is with PI sending the data to ERP.

Regards,

Naresh

Former Member
0 Kudos

Hi Naresh,

How did you create your response structure in the ESR (i.e. CommonResponse_Out), with a WSDL from receiver side?

The reponse coming back does not correspond with you ESR structure expected. Try calling the webservice using SoapUI or any other webservice test tool & check the response that comes back like Jennilyn has suggested and compare that to the response structure you have in your ESR. They are probably different, then align you ESR types accordingly or ask the webservice provider to provide an accurate WSDL for you to use.

Regards, Trevor

Former Member
0 Kudos

Hi Naresh,

Please double check and compare the structure of the response message to the response message structure of the Sender Service Interface if they are the same. There might be a mismatch of the name of the subnode or elements in the structure. Also, double check if the generated ABAP proxy is updated in the SAP system.

You can generate a sample response message expected by the proxy in Test Proxy so you can compare to the actual response message from the receiving system.

Regards,

Jenny