Quantcast
Channel: SCN : Unanswered Discussions - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 6719

Integration with JAVA application with JSON response

$
0
0

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

 

HTTP Method         POST

 

Content Type        application/x-www-form-urlencoded

 

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

                           s&domainName=user10&departmentId=

 

Authentication       None

 

 

Output       

 

{

"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

               s&domainName=user10&departmentId=

 

 

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...

 

Regards

Rebecca


Viewing all articles
Browse latest Browse all 6719

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>