Problem with Synchronous Restful Service in PI 7.3.1
We are working on Synchronous Proxy to Restful ServiceInterface. Connecting to RestService through SOAP Axis Adapter as per the below blog.
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 .
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.