Skip to Content
author's profile photo Former Member
Former Member

Integration with JAVA application with JSON response

Dear Experts,

I am working in a scenario where the application is based on JAVA which supports JSON data format.The request will be sent from ABAP proxy.

The team has given me the following parameters to consume their service.

Server Name getNInboxItems


Content Type application/x-www-form-urlencoded

Input params credentials=user10,IBM&password=IBM&action=getNInboxItem


Authentication None



"items": [


"item": {

"WFID": "792F4E52491945E1454545",

"Subject": "IBM test",

"DocumentID": "{4340A4-B1E4-4A5D-A87A476D}",

"Sender": "user ,"

"SenderDomainName": "user10",

} } }

I referred the blog Consuming Synchronous RESTful Web Service with PI - I

Based on the above requirement, please help me to find out the queries.

1. I wont be using Rest Advantco adapter and planning to use receiver SOAP adapter.

2. I am not sure where to include the

Input params credentials=user10,IBM&password=IBM&action=getNInboxItem


3. When I am calling the request to JAVA application, is there any need to convert XML to JSON

4. Once I get the response from JAVA application, I am planning to convert JSON ouptut to XML through java mapping.

Would it work if I use conversion in mapping or should I have to develop a adapter module.

5. Do I have to create any Message Type for the sender SAP ECC and include the input parameters?

Advance thanks for the earliest response...



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Sep 01, 2014 at 08:13 PM

    1) Yes, you can use Soap adapter

    3) If the java application looks for json as the data input, then you need to convert xml to json. Otherwise don't need.

    4) You can use java mapping to convert json to xml. No need any custom adapter module..

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Dear Bhaskar,

      As you can observe the Input parameter which the JAVA system requires is

      Input params credentials=user10,IBM&password=IBM&action=getNInboxItem


      I am not sure how to capture this. I though of designing like below.Please correct if I am wrong.

      1. Should I create Dynamic Request message type to capture the service , then how about the other parameter like user and password?

      2. I know Action can be captured using SOAP adapter but dont know to enter the domainName

      3. Do you have any experience in such scenario where the JAVA service has been called just using the SOAP adapter without any XML to JSON conversion?


  • author's profile photo Former Member
    Former Member
    Posted on Sep 01, 2014 at 04:07 PM

    Dear Experts,

    Any inputs to my queries.


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.