Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Problem with Synchronous Restful Service in PI 7.3.1

Hi Experts,

We are working on Synchronous  Proxy to Restful Service

Interface. Connecting to RestService through SOAP Axis Adapter as per the below blog.

http://scn.sap.com/community/pi-and-soa-middleware/blog/2012/08/11/calling-synchronous-restful-web-service-with-pi--i

But we are facing below issues. Could you please help us regarding the steps what needs to done

Error from Axis Adapter :

Axis: error in invocation: java.lang.IllegalArgumentException: object type invalid: class com.sap.aii.adapter.xi.ms.XIMessage

Exception caught by Adapter framework: Object Type Invalid: class com.sap.aii..adapter.xi.ms.XiMessage

Delivery of the message to the application using the connection  SOAP_http://sap.com/xi/XISystem failed, due to com.sap.engine.interfaces.message.api exception. Messaging exception:java.lang.illegalArgument:object type invalid class com.sap.aii.adapter.xi.ms.XIMessage .

Thanks

reyaz

Former Member
Former Member replied

Hi All,

The Issue Got Resolved.

we did Added Accept Header Parameter in the Receiver SOAP Axis Adapter. Given the Value for Accept header is "/*/". So PI can able to accept any header format.

Thanks

Reyaz

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question