Win a copy of Spark in Action this week in the Open Source Projects forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Sample Webservice

 
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?
 
Rancher
Posts: 43016
76
  • 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.
    Bookmark Topic Watch Topic
  • New Topic