Re: Problem with creating client and service

2013-11-30 Thread Deepal jayasinghe
In the service you can take any type object, and that does not have any relationship with the stub. The reason is communication between the service and client happen through XML (SOAP). Axis2 knows how to serialize and deserialize the objects. Deepal > Hi Deepal, > Thank you for your response. Ye

Re: Problem with creating client and service

2013-11-30 Thread Deepal jayasinghe
In the case of stub (code generated), Axis2 handles the serialization, so does not need to implement any additional interfaces. Deepal Make sure all the parameters passed to methods and returning from methods implement serializable in

Re: Problem with creating client and service

2013-11-30 Thread Raja Nagendra Kumar
Make sure all the parameters passed to methods and returning from methods implement serializable interface. Regards, Nagendra Raja Nagendra Kumar Founder & C.T.O

Re: Problem with creating client and service

2013-11-30 Thread Dimuthu Upeksha
Hi Deepal, Thank you for your response. Yes I made a stub. It contains a method to access web service operations with a parameter of the type of "Object". Actually the parameters for operations in Axiom services are OMElements. So I created an OMElements with necessary data and passed it to the met