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.