Hi,
I have a webservice that exposes a method which takes an Object as a parameter. Hence, the client invoking this webservice can pass any type of object including user defined class objects.
e.g.: public
String invokeMe(Ojbect obj);
From Client webservice: I am passing my user defined class object as a parameter to the exposed method.
Pitta obj = new Pitta(); // Pitta is the name of a class.
e.g.: String result = invokeMe(obj);
When invoked on stub from client side, it gives me the exception saying that 'Pitta' needs to have a deserializer.
I have even tried by extending 'Serializer' interface to class 'Pitta' but it was of no use. I understand that all the objects passed over the
SOAP protocol need to be capapble of serializing and deserializing.
My Question: How do we pass the different objects over SOAP Protocol?
Thanks for your time.
Regards,
Pitta.