cancel
Showing results for 
Search instead for 
Did you mean: 

RESPONSE ERROR FROM SALESFORCE

Former Member
0 Kudos

Hi Gurus,

I am Creating an interface(Outbound) from ECC to Salesforce through PI.

The records are successfully getting appended to SALESFORCE, Even in SXMB_MONI am getting success message.

But am getting the following error after executing the proxy(Report).

PARSE_APPLICATION_DATA Error during XML => ABAP conversion: Response Message; CX_ST_MATCH_ELEMENT in /1SAI/TXSECB5B1FE369D756182B9 Line 16 System expected the element '{http://soap.sfo

Its a synchronous Proxy to SOAP scenario.


Since its synchronous scenario it sends reply with below fields filled.

i.e

1) ERROR .

2) RESULT.

The reply is easily seen through transaction SXMB_MONI but why the reply is not getting populated in program,why am i getting the above error ?

And How to fix the same ?

Regards.

Accepted Solutions (0)

Answers (2)

Answers (2)

iaki_vila
Active Contributor
0 Kudos

Hi Vikram,

The deserialization problems on the proxies come mainly for two circumstances. You have a XSD with a type that is not supported by the ABAP proxies or you have a XSD with a restriction (for example a min value or number of digits) that produces these issues. This problem comes because the ABAP proxy can't instance one class because:

1. The 1 reason, it can't generate a right class. If you have xsd:any, the ABAP class generator interprets only one tag but with that definition it can come a tag hierarchy and this produces the issue.

2. The 2 reason you have a tag with 5 digits but it is coming for example "123" because in somewhere the first three zeros are being missed.

My advice is to do the more easy schema possible to connect via the ABAP proxy. If it is possible with xsd:string and without restrictions. Of course, you can use another types, but try to use the simplest.

Regards.

Former Member
0 Kudos

Hi Inaki Vila,

All the fields which are sent from ECC are of type xsd:string and even the result (reply from salesforce) is of datatype string  (i.e ERROR and RESULT ).

I want to know if there is any possibility of whatever the result which am getting in SXMB_MONI from salesforce can be populated in my program.

Because no data is getting filled when am executing the method from my report.

Lastly thanks for saving me yesterday .

Regards,

Vikram.

dipen_pandya
Contributor
0 Kudos

Hi,

Refer to this solved thread if its the same in your case

Regards,

Dipen.

Former Member
0 Kudos

Hi Dipen,

Nope the link wont fix my problem. Here am getting the xml message as response from salesforce to ECC. When i check in SXMB_MONI t-code the message from Salesforce are appearing but the same is not getting populated in proxy program.

Regards,

Vikram.