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
http://crishantha.com/wp/?p=221
http://www.eclipse.org/webtools/community/tutorials/BottomUpAxis2WebService/bu_tutorial.html
http://axis.apache.org/axis2/java/core/tools/idea/Idea_plug-in_userguide.html
http://www.infoq.com/articles/sosnoski-code-first

Regards,
Nagendra
Raja Nagendra Kumar
Founder & C.T.O
Mobile: +91-9886723872
Email: nagendra.r...@tejasoft.com
IM: nagendra.raja (Skype)
 http://in.linkedin.com/in/nagkumar
TejaSoft Innovations Pvt Ltd

Factor 4 Results
See who we know in common Want a signature like this? 

On 11/26/2013 4:36 PM, Chamila Wijayarathna wrote:
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.r...@tejasoft.com> wrote:
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 client side stubs  which invokes web service and fetches the results at client.

Regards,
Nagendra

On 11/26/2013 3:45 PM, Dipesh Garg wrote:

I think it should be wsdl2Java

 

From: Raja Nagendra Kumar [mailto:nagendra.r...@tejasoft.com]
Sent: Tuesday, November 26, 2013 3:35 PM
To: java-user@axis.apache.org
Subject: Re: Creating AXIS2 Service using ADB

 

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 Nagendra Kumar
Founder & C.T.O

Mobile: +91-9886723872

Email: nagendra.r...@tejasoft.com
IM: nagendra.raja (Skype)
 http://in.linkedin.com/in/nagkumar

TejaSoft Innovations Pvt Ltd

Factor 4 Results

See who we know in common

Want a signature like this? 


On 11/26/2013 2:44 PM, Chamila Wijayarathna wrote:

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 here?

If I have to write it in my own, where can I found some guidelines for writing that?


--
Chamila Dilshan Wijayarathna,
SMIEEE, SMIESL,
Undergraduate,
Department of Computer Science and Engineering,
University of Moratuwa.




--
Chamila Dilshan Wijayarathna,
SMIEEE, SMIESL,
Undergraduate,
Department of Computer Science and Engineering,
University of Moratuwa.

Reply via email to