Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Creating a WSDL and building a webservice

Posted on 2008-06-20
9
Medium Priority
?
1,148 Views
Last Modified: 2013-11-19
Hi,

I want to build my own webservice using starting from wsdl approach. I am going to be using axis and deploying the application on tomcat. I have the following questions:

1) How do I generate a wsdl at the first place? Are there any free UI based tools available to do the same? I know XML Spy does that and perhaps I can use its trial version to create a new wsdl.

2) After the wsdl is generated do I need to do some magic, before I can use wsdl2java utility i.e. creating a folder structure etc..

3) How do I deploy this service to tomcat?
Prompt response is much appreciated.

Thanks,
ncheeku
0
Comment
Question by:ncheeku14
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
9 Comments
 
LVL 23

Expert Comment

by:Siva Prasanna Kumar
ID: 21833033
Download latest Eclipse from here you can create as well as build web service in no time.

http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/europa/winter/eclipse-jee-europa-winter-win32.zip

Create a New Dynamic  Web Project, and let me know later I can tell u step by step how to develop the web service, also download the latest tomcat.
0
 

Author Comment

by:ncheeku14
ID: 21834942
I just downloaded the above and created a dynamic web project. How can I start creating the wsdl now..thanks..naresh..
0
 
LVL 23

Expert Comment

by:Siva Prasanna Kumar
ID: 21835857
right click on the created project and select new WSDL
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LVL 23

Expert Comment

by:Siva Prasanna Kumar
ID: 21835915
Do you know how to write a WSDL ? if not please go through

http://developers.sun.com/appserver/reference/techart/overview_wsdl.html or WSDL specs at the end of the page in the same link.
0
 
LVL 23

Expert Comment

by:Siva Prasanna Kumar
ID: 21837250
if you are done with WSDL after that you need to follow these steps for consturucting stub classes from your WSDl,

Please Eclipse WTP use axis 1.x Wsdl2java wizard for generating the web service stubs, it also adds all the  required jars for your class path. you just need to implement you java function and you web service is good to go.

http://www.eclipse.org/webtools/jst/components/ws/1.5/tutorials/TopDownWebService/TopDownWebService.html
0
 

Author Comment

by:ncheeku14
ID: 21838446
thanks shivaspk, i am gonna go through this tonight and tommorow and will let you know by tmrw...
0
 

Author Comment

by:ncheeku14
ID: 21842172
hi shivaspk, this is very very good resource. :) However as I am new to this its taking me a bit of time to understand the wsdl structure there. I was wondering if you can provide me with a simple sample wsdl and I can go from there.

Thanks, ncheeku14
0
 
LVL 23

Accepted Solution

by:
Siva Prasanna Kumar earned 2000 total points
ID: 21842190
May be this is the simplest possible :)

http://www.tutorialspoint.com/wsdl/wsdl_example.htm

0
 

Author Comment

by:ncheeku14
ID: 21842701
thanks shivaspk..this works out perfectly for me.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preface This article introduces an authentication and authorization system for a website.  It is understood by the author and the project contributors that there is no such thing as a "one size fits all" system.  That being said, there is a certa…
Shoutout to Emily Plummer (http://www.experts-exchange.com/members/eplummer26.html) for giving me this article! She did most of it, I just finished it up and posted it for her :)    Introduction In a previous article (http://www.experts-exchang…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question