on 07-23-2015 9:14 AM
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.