Skip to Content
0
Oct 29, 2013 at 01:16 PM

SAP PI - REST Adapter

110 Views

Hi Experts,

I was wondering if anyone has worked on REST Synchronous scenarios?

Is there any blog available for it?

I was trying out a REST interface and was facing issue in Synchronous scenario while collecting response from the receiver.

Synchronous scenario is from REST to PI to RFC.

There is no message being transferred from IE to AE on the Sender REST adapter for the response.

Error Log at sender side states:

at javax.mail.internet.ContentType.<init>(ContentType.java:102)

at com.advantco.pi.adapter.rest.util.HTTPHeaderHandler$HTTPAcceptType.<init>(HTTPHeaderHandler.java:28)

at com.advantco.pi.adapter.rest.util.HTTPHeaderHandler.isContentTypeAccepted(HTTPHeaderHandler.java:15)

at com.advantco.pi.adapter.rest.SenderAdapter.processListening(SenderAdapter.java:570)

at com.advantco.pi.adapter.rest.servlet.RESTServlet.handleRequest(RESTServlet.java:108)

at com.advantco.pi.adapter.rest.servlet.RESTServlet.doPost(RESTServlet.java:55)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)

If anyone can give me a clue how to proceed with it then it would be really helpful for me.

Thanks,

Arkesh