on 10-14-2014 3:25 PM
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...
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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..
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
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
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.