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

Re: Creating AXIS2 Service using ADB

2013-11-26 Thread Chamila Wijayarathna
I'll go through these. Thank you very much. On Tue, Nov 26, 2013 at 5:01 PM, Raja Nagendra Kumar < [email protected]> wrote: > Hi, > > > >As I understood, I should make a wsdl file first > > In code first webservices approach, wsdl is not required to be written. > You can define your j

Re: Creating AXIS2 Service using ADB

2013-11-26 Thread Raja Nagendra Kumar
Hi, >As I understood, I should make a wsdl file first In code first webservices approach, wsdl is not required to be written. You can define your java interface and its implementation and then use java2wsdl to generate wsdl. Good example is at

Re: Creating AXIS2 Service using ADB

2013-11-26 Thread Chamila Wijayarathna
Hi Kumar, So from where should I start writing my service. As I understood, I should make a wsdl file first. To write a service on my own, do I have to write wsdl file from scratch? For using Java2wsdl, what java file should I use? On Tue, Nov 26, 2013 at 3:51 PM, Raja Nagendra Kumar < nagendra.

Re: Creating AXIS2 Service using ADB

2013-11-26 Thread Raja Nagendra Kumar
Hi, - java2wsdl is used for deploying and exposing web service (Service Provider Side). http://axis.apache.org/axis/java/user-guide.html#Java2WSDL:_Building_WSDL_from_Java - While Web Service consumers/clients used wsdl2java to generate

RE: Creating AXIS2 Service using ADB

2013-11-26 Thread Dipesh Garg
I think it should be wsdl2Java From: Raja Nagendra Kumar [mailto:[email protected]] Sent: Tuesday, November 26, 2013 3:35 PM To: [email protected] Subject: Re: Creating AXIS2 Service using ADB WSDL is provided by Web Service Provider.. If you are writing the Web Service too.. th

Re: Creating AXIS2 Service using ADB

2013-11-26 Thread Raja Nagendra Kumar
WSDL is provided by Web Service Provider.. If you are writing the Web Service too.. then use Java2wsdl to the WSDL.. Sample wsdl can be found http://www.tutorialspoint.com/wsdl/wsdl_example.htm Regards, Nagendra Raja Nage

Creating AXIS2 Service using ADB

2013-11-26 Thread Chamila Wijayarathna
Hello all, I'm following guide at http://axis.apache.org/axis2/java/core/docs/quickstartguide.html#create for creating AXIS2 web services. For creating AXIS2 web service using ADB, it asks to create java file using wsdl2java. But it does not say which wsdl file to use. Which wsdl file should I use