cancel
Showing results for 
Search instead for 
Did you mean: 

Deserializing failed during calling webservice

frank_schmitt3
Participant
0 Kudos

Hi,

try to test a webservice with the test functionality on WAS Web Service Navigator. The following error occure:

com.sap.engine.services.webservices.additions.soaphttp.exceptions.ProcessException: Deserializing fails. Nested message: XML Deserialization Error. Can not create instance of class [enbw.net.DataCRMAuftrag] when deserializing XML type [urn:enbw.net][DataCRMAuftrag]..->com.sap.engine.services.webservices.jaxrpc.exceptions.XmlUnmarshalException: XML Deserialization Error. Can not create instance of class [enbw.net.DataCRMAuftrag] when deserializing XML type [urn:enbw.net][DataCRMAuftrag].->java.lang.InstantiationException: enbw.net.DataCRMAuftrag

What ist the problem?

Alle used classes implements Serializable, so no failure will be shown during building and deploying on WAS?

Thanks in advance,

Frank

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

If you have got any break through in this please let me know.

I am getting the same error and I am not getting it solved.

Thanks & Regards.

Yats.

Former Member
0 Kudos

Hi,

The deserialization error sometimes is caused cos of using underscore '_' for the variables you might have used in the java class , even though the java class implements Serializable.

Check for '_' in the java class ,if u have any, remove them and deploy the Webservice again.And if u are still facing the problem then delete the webservice and create a new webservice with same name with the new java classes.

Hope it solves ur problem.

Edited by: Akif Mohammed on Jun 22, 2009 6:47 AM