Skip to Content
0
Former Member
Jan 17, 2013 at 05:07 PM

Error in consuming rest service

30 Views

Iam trying to develop a REST synchronous interface and my response from the rest service a is plain text.

below is the error.

<SAP:AdditionalText>com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.lang.ClassCastException: class org.apache.axis.message.Text:library:com.sap.aii.af.axisproviderlib@com.sap.engine.boot.loader.ResourceMultiParentClassLoader@4ab533d2@alive incompatible with class org.apache.axis.message.SOAPBodyElement:library:com.sap.aii.af.axisproviderlib@com.sap.engine.boot.loader.ResourceMultiParentClassLoader@4ab533d2@alive</SAP:AdditionalText>

<SAP:Stack />

I followed the link to build my scenario.

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

Axis adapter was deployed successfully, i check through url http://host:port/XIAxisAdapter/MessageServlet

can anyone please help me to resolve this issue.

Thanks

Srinivas