cancel
Showing results for 
Search instead for 
Did you mean: 

Proxy to Web Service Synchronous Call

deepika_raikode
Explorer
0 Kudos

Dear Experts,

I have a proxy to webservice synchronous call for where, ABAP is able to receive the response from the webservice but this response is an empty response i.e., only tags of the response are generated without any values to those fields.

And if the same is checked in PI runtime workbench(ICO), we donot find any payload for that particular message and only Soap Document can be found in the message content.

Can you please tell what could be the issue here.

Regards,

Deepika Raikode

Accepted Solutions (1)

Accepted Solutions (1)

iaki_vila
Active Contributor
0 Kudos

Hi Deepika,

The problem could be in the message response, i mean that probably you have a wrong schema and the mapping is not recognizing the response XML and it can't do the response mapping. Check in the monitoring the response XML and try to do the mapping or to check if it fits with your PI schema.

Regards.

deepika_raikode
Explorer
0 Kudos

Hi Vila,

Thanks for your response. It worked now.

Regards,

Deepika

Answers (4)

Answers (4)

Former Member
0 Kudos

As Azhar mentioned, please use SOAP UI to analyze the response from the webservice and do response mapping using XSLT or Java if necessary. 

former_member183908
Active Contributor
0 Kudos

please test the response mapping in ESR test tab and see if you miss to map any fields.

Thanks

nitindeshpande
Active Contributor
0 Kudos

Hello Deepika,

You need to enable logging trace in order to see the payload in PI system. This can be done by navigating as mentioned below -

NWA -> Configuration -> Infrastructure -> Java System Properties -> Services -> XPI Service: Messaging System, set property messaging.SyncMessageRemover.removeBody = false.

To know why you are getting the blank response, as Azhar suggested try sending the same test data through SOAP UI and check if you are getting a proper response. The problem may be with the test data itself.

If you get the correct response in SOAP UI, then check with your 3rd party if they are sending proper data.

Regards,

Nitin

azharshaikh
Active Contributor
0 Kudos

Hi Deepika,

Seems issue with the test data. Can you check following:

1. Try to post Request data directly to Webservice using 3rd Party Tool SOAP UI & check if you are getting valid response back from 3rd Party

2, Check the Request message / payload is correct one

3. Ping Channel test in PI on the Receiver SOAP channel status.

4. Response mapping

Regards,

Azhar

deepika_raikode
Explorer
0 Kudos

Hi Azhar,

When tested with the same data using SOAP UI, we are getting a valid response.Ping channel shows that the chanenl is active and the connection is open to partner url.

Regards,

Deepika

pvishnuvardan_reddy
Active Contributor
0 Kudos

Hi Deepika,

Can you please check whether you are receiving any data from webservice for the request.

If yes, then please test in ESR with the same payload, and check is it yielding any target structure.

Regards

Vishnu