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

Which adapter i can use to receive JSON

$
0
0

Hi Experts,

 

I want to receive the JSON string from third party, when i use sender SOAP adapter i am getting below error in the method com.sap.aii.adapter.soap.web.MessageServlet.doPost. can i change the content type using message transform bean adapter module in sender soap adapter? or how can i handle this? if we cant use SOAP adapter which adapter i can use to receive the JSON string. after i received i can do the java mapping to convert JSON to xml

 

Error:

java.io.IOException: invalid content type for SOAP: APPLICATION/JSON

at com.sap.aii.af.sdk.xi.net.MIMEInputSource.readBody(MIMEInputSource.java:416)

at com.sap.aii.af.sdk.xi.net.MIMEServletInputSource.parse(MIMEServletInputSource.java:58)

at com.sap.aii.adapter.soap.web.MessageServlet.doPost(MessageServlet.java:343)

 

Regards,

Rachana.


Viewing all articles
Browse latest Browse all 6719

Trending Articles



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