cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP or HTTP_AAE Receiver adapter for call to Rest service

Former Member
0 Kudos

Dear All,

I am working in a Synchronous scenario ABAP Proxy <-> PI 7.31 <-> JAVA application(Rest Webservice).It is called by a request in the form


http://fisoweb:9000/Cur/servlet/Item?action=getItems&credentials=User,Pwd


The dynamic value of User and Pwd will be sent from ABAP Proxy run time before it forms a complete URL request.

1.For request and response by JAVA application, it supports HTTP Method = POST and Content Type = application/x-www-form-urlencoded

2.I will be using Dynamic Url request to JAVA application to capture the User and Password from ABAP proxy.I tried using HTTP_AAE and SOAP as

receiver adapter but not able to clear the hurdle as it is either failing with invalid content (in SOAP) or  invalid target path (HTTP_AEE).

3.If I am using HTTP_AEE receiver adapter , then I cant use the Dynamic Url. Can I be able to capture the User and Password from ABAP proxy

in Cc parameter.

Please suggest which adapter would suit to the above requirement?

Am in a critical juncture and request ALL Experts to push me out from this issue by providing a solution.

Regards...

Accepted Solutions (1)

Accepted Solutions (1)

iaki_vila
Active Contributor
0 Kudos

Hi Rebecca,


1.For request and response by JAVA application, it supports HTTP Method = POST

and Content Type = application/x-www-form-urlencoded

You can try with the module bean MessageTransforBean with the parameter Transform.ContentType (Check Inserting MessageTransformBean in Module Processor - Adding Modules to the Module Processor - SAP Li...)



2.I will be using Dynamic Url request to JAVA application to receive the response.I tried using HTTP_AAE and SOAP as

receiver adapter but not able to clear the hurdle as it is either failing with invalid content or ideal target path.

The error could be in the content type depending of the HTTP exception that you are receiving. Have you tried to test the call with the program SOAPui?. Your URL destination seems to be a Rest service, if i am right you should Axis adapter or to purchase Advantco adapter.

Regards.

Former Member
0 Kudos

Hi Inaki,

Thanks for your prompt response..

<< Have you tried to test the call with the program SOAPui?>>


I am using CHROME POST for testing .  I am also using SOAP UI.

But unaware of the program SOAPui. Please share details on this program.



<<Your URL destination seems to be a Rest service>>


Yes, its a REST Service (JSON).Since we have only 1 interface , the client don't recommend to buy Advantco license.


Your suggestion to use SOAP (HTTP Axis) is a good input for consuming the Rest Service.


Thanks a lot....


Regards..





iaki_vila
Active Contributor
0 Kudos

Hi Rebecca,

An example of SOAPui and Rest services Getting Started with REST Testing | REST Testing

For SOAP - Axis usage check the excellent Former Member 's blog

Regards

Answers (0)