Setting Up a Web Service

Hi Experts...
I am a newbie to web services.
I have an assignment to set up a web service in unix environment with the following specifications specified.
How do i do the same.
Please help...
Using CATALINA_BASE: /local/tomcat-11.0.20
Using CATALINA_HOME: /local/tomcat-11.0.20
Using CATALINA_TMPDIR: /local/tomcat-11.0.20/temp
Using JRE_HOME: /opt/java/jdk1.6.0_27
Using CLASSPATH: /local/tomcat-11.0.20/bin/bootstrap.jar:/local/tomcat-11.0.20/bin/tomcat-juli.jar
Server version: Apache Tomcat/11.0.20
Server built: Jan 11 2011 05:34:27
Server number:
OS Name: SunOS
OS Version: 5.9
Architecture: sparc
JVM Version: 1.6.0_27-b07
JVM Vendor: Sun Microsystems Inc.
bash-2.05$ id -a
uid=xxxxx(tomcat) gid=xxxxx(tomcat) groups=xxxxx(tomcat)

Open in new window

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

gaugetaAuthor Commented:
Hi experts
Can anyone help me with the same
Web services work by putting a listener on a Web server for a specific set of requests.

So all you need is to write a servlet as a listener to be installed in the Tomcat environment.   The versions you list seem fine, so there's nothing special to worry about.
gaugetaAuthor Commented:
@mrcoffee365: Thanks for the reply.
Can you give a sample servlet doing the same.
Please help...
OWASP: Forgery and Phishing

Learn the techniques to avoid forgery and phishing attacks and the types of attacks an application or network may face.

gaugetaAuthor Commented:
@mrcoffee365 : If you could provide a step by step procedure to do the same it would be of great help.
And how can i test the same.
How do i register the web service using UDDI.
How to write the WSDL for publishing the web service.
And how does the client give soap request and how does the server give the response.
Please help...
There are many tutorials online about how to build Web services.  This is a good one:

I'm pretty sure I've seen other questions from you which indicate that you know how to write a servlet, so perhaps you need to try it then ask EE for help if you run into problems.  

There is a ton of documentation about registering a web service with UDDI.  For example:

You can generate a WSDL with a number of tools, including Eclipse:

You need to try some development then ask questions about problems you run into, if any.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
There's also the axis package, which a lot of people use:
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.