serialization and deserialization in an axis web service

Can anyone help I'm looking for clear instructions on how I can add serialization and deserialization in an axis web service. I need to use serialization and deserialization because my web service is passed and returns a non-primitive types. Can anyone help?
Also I need to know how I can do the same for a PJO TestClient with a main method. I have a testClient which works fine if the request and response are java primitives but does not work if it's a List or Java Bean. I'm getting faultString: No serializer found for class
Who is Participating?
mukundha_expertConnect With a Mentor Commented:
your bean class must implement serializable.. if the data members in the class are not serializable make it implement serializale or declare it as transient
ksivananthConnect With a Mentor Commented:
if you want to have a control on the serialization mech, implement externalizable
>> implement externalizable

to define the way your non primitive attribute is serialized
i mean the data member
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.