Skip to Content
0
Former Member
Aug 23, 2005 at 02:54 PM

XML deserialization error

26 Views

Hi all,

I am following the SAP WEBAS 6.4 tutorials to create the Customer web service and eventually use it in a webdynpro. when I execute the register method I get the following error message:

"Deserializing fails. Nested message: XML Deserialization Error. Can not create instance of class [com.sap.demo.customer.common.CustomerDTO] when deserializing XML type [urn:com.sap.demo.customer.common][CustomerDTO]..

I tried adding an empty constructor to the CustomerDTO class. this removes the error but the register method fails to insert data into the customer table.

Please help

Thanks,

Jay