on 2020 Jul 07 4:30 PM
Good afternoon Dear,
I am developing an SAP ECC Abap Proxy -> SAP PI-> Webservice(Soap/XML) interface.
This interface is synchronous.
I imported the wsdl from the Webservice in SAP PI (Version 7.4).
I performed the message mapping of response as shown in the image:
The first difference I see is that when performing the response message mapping, the buscaOrdemServicoResponse node does not appear in the message mapping. It only appears when I imported wsdl. This is the first question, I didn't understand why the buscaOrdemServicoResponse node only appears in the External Definition when you import the wsdl and it doesn't appear in the message mapping.
Have you seen this scenario? Or have you been through a situation like this?
The other issue is that the Webservice is returning a different xml (payload) that SAP PI is expecting to receive.
The Webservice is returning the following XML:
However, SAP PI is expecting to receive the following XML:
Consequently I am getting a mapping error:
Would it be the case to ask the team that developed the webservice to make the adjustment on the webservice side for the integration to work? Or is there something that can be done on the SAP PI side?
Could you help me?
Regards,
Sérgio Salomão
Request clarification before answering.
Hello Salomão,
On external definition (WSDL), change the field MESSAGES to "Using RPC Style".
This option changes the structure of messages imported from WSDL.
https://help.sap.com/doc/saphelp_nw74/7.4.16/en-us/c7/55edd6c454472ab1aa1aa2f4f7310f/frameset.htm
Best regards,
Josieudes Claudio
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sergio,
What is the response message type that you have registered in your service interface? That should be matching the message type that you are receiving in the service response - buscaOrdemServicoResponse. When that is mapped appropriately to the internal response message type then your error will go away.
Regards,
Ryan Crosby
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
41 | |
15 | |
10 | |
9 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.