cancel
Showing results for 
Search instead for 
Did you mean: 

Error in receiver SAP system , while reading the xml received over Proxy

Former Member
0 Kudos

Hi,

I am having one FTP to Proxy scenario, receiving complex XML file at FTP and have to pass this exact file to proxy in a single field.

As no mapping is required, created a data type with single node and both sender and receiver end.

After executing scenario, Data is displayed properly in PI moni, but when the file is received at SAP end, its giving error in SAP system moni that

"Error during XML => ABAP conversion".

The same scenario, when we are executing using SOAP or Mail sender adapter and proxy receiver, the interface is working fine at both ends.In SOAP and mail scenario, they are sending XML data enclosed in SOAP envelope.

but when the data is received at PI, the SOAP envelope is removed, and CDATA is being read by PI, and interface working fine.

Please provide your inputs in case of FTP sender.

Thanks,

Ruchi

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Ganesh,

Thanks for your response.

SOAP and Mail scenario are also using the same inbound proxy structure , and the proxy is working fine in both cases.

For FTP scenario we are reusing the same inbound proxy but we are facing error .

SAP is getting

"XML to ABAP Conversion error with error id as "CX_ST_MATCH_ELEMENT " System expected the element 'Namespace of the inbound service interface' .

Please guide.

Thanks,

Ruchi

Former Member
0 Kudos

Hi,

there seems to be a mismatch between namespace of the message on which the proxy is built and the message which is actually used.....just cross-check the SI and the corresponding proxy....

regards,

ganesh.

Former Member
0 Kudos

Hi,

Check your XML is having errors ....... On Proxy Side, it is expecting Data in some other format , and actually coming in other format .

So check That .. Go to Sproxy .. focus on inbound Service interface of Your Interface , and then Click on test Tab . then you will whats actualy the format of XML ( Proxy) is expecting.

If u have changed your design time objects and haven't generated your proxies again, u might get this error. Try regenerating your Proxy objects again and don't forget to activate them.

regards,

ganesh.

Former Member
0 Kudos

Hi Ruchi,

Please check the following, should be helpful.

SAP Note 944029 - XML schema supported by ABAP proxy generation

Regards,

Varun