on 10-01-2014 12:11 PM
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.
Hi Rachana,
You only have the possibility of purchase the adapter to third like Harish mentioned (Advantco has another solution ) or to try to use the AXIS adapter and to make the conversion to json via java mapping (check Michal's blog ).
From my point of view meantimes there is not a standard solution for SAP PI i'd rather to make the integration in the ABAP stack (no PI necessary although you can use the PI ABAP stack) with the free addon (in Netweaver 7.4 integrated) SAP Netweaver Gateway ().
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Experts,
If i use HTTP_AAE and classic scenario(Sender agreement etc) i am receiving the data using below URL:
when i use integrated configuration i can not get the wsdl url from that integrated configuration, the error:
Selected communication channel XXXX is assigned to the wrong adapter type HTTP_AAE Supported adapter types: HTTP, SOAP, XI, WS.
HTTP_AAE is developed for new integrated configuration why it is not supporting, any ideas??
Regards,
Rachana.
You should still be able to send the messages to HTTP_AAE adapter with the same URL.
Did you try sending the messages?
Configuring the Java HTTP Adapter on the Sender Channel - Advanced Adapter Engine - SAP Library
How can we use NTLM authentication to send json structure
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.