Skip to Content
0
Former Member
Sep 27, 2010 at 08:57 AM

java.lang.ClassCastException when calling webservice in NWDS for PAR appl

31 Views

Hi Experts,

I am trying to call JAX-PRC webservice for one of my Par based application. It's working fine when i am creating simple java project in NWDS and also returning the output properly from Webservice

but when i am creating PAR base application and deployed it in portal its successfully deployed and when i am opening an application then its giving me following Exception :

Excpetion :

java.lang.ClassCastException

com.sap.engine.services.webservices.jaxm.soap.SOAPMessageImpl incompatible with com.sun.xml.messaging.saaj.soap.MessageImpl

I have printed this above exeption by using e.getClass().getName() + e.getMessage()

I am waiting for your inputs.

Regards,

Rahul