Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Sample Webservice

 
manikandan malathy
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic