File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes Sample Webservice Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Sample Webservice" Watch "Sample Webservice" New topic

Sample Webservice

manikandan malathy

Joined: Sep 17, 2008
Posts: 13
I am a new guy in webservice. I have little bit knowledge in webservice.

Now i am working in webservice project. So please can you give me a sample program for webservice.

How to create a sample webservice?
How to giving and retereving a string in webservice?
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42959
It's not as simple as "giving a sample program". There's a lot you need to understand about SOAP, WSDL, data binding, interoperability and various Java APIs (like SAAJ and JAX-WS) if you want to develop WS successfully.

You could start by reading up on the JAX-WS API, which is the major Java WS API. The links to an article titled "web services made easy" that would be a good start. Instead of the GlassFish server you could also use Apache Axis2.
I agree. Here's the link:
subject: Sample Webservice
jQuery in Action, 3rd edition