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?
posted 7 years ago
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 http://faq.javaranch.com/java/WebServicesFaq 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.