Skip to Content
0
Sep 01, 2005 at 04:06 PM

Webservice Serializing ERROR

50 Views

Hi all.

I'm having problems with the webservices, i have a method in a session bean that executes a finder method of an entity bean and then create an object of o java bean class developed by me, and returns that object.

I have created a webservice from this session bean, and when i test it it raises the following error:

- Serializing object

Lcom.sap.gram.ISLR.ayuda.SECEFK_Model;@f51633 fails.

Nested message: XML Serialization Error. Object of

Class [com.sap.gram.ISLR.ayuda.SECEFK_Model] does not

have property [SecefkNumcas] of type

java.lang.Integer ]. Check if the right object is

passed to the serialization routine..

The java bean class doesnt have a property called SecefkNumcas that property has another name. And the java bean class is developed like the model class of the QuickCarRental tutorial/example. I have some others webservices and gives errors like this above.

I dont know how to solve this problem. I hope somebody can help me.

Thx and Rgds.

Gregory