Re: Problem with creating client and service

2013-12-01 Thread Dimuthu Upeksha
Here is my problem My service class is [1]. It contains an operation called CreateOrder WSDL created for it is [2] Stub Class is [3] When I try to use stub class inner classes to invoke CreateOrder operation, public class Client { public static void main(Strin

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

Re: Problem with creating client and service

2013-11-26 Thread Deepal Jayasinghe
For ADB, you need to generate the stub (using the code generation tool) and use the stub to call the service. Alternatively you can use RPCServiceClient. Deepal > Hi all, > I'm new to Axis2 and I went through some tutorials provided by Apache. > I managed to setup an Axiom service and client succ

Problem with creating client and service

2013-11-26 Thread Dimuthu Upeksha
Hi all, I'm new to Axis2 and I went through some tutorials provided by Apache. I managed to setup an Axiom service and client successfully. Then I tried to use that same Axiom service with an ADB client. However I can not understand how to pass parameters to Axiom services using ADB. In axiom clien