Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to Create a SOAP web service that takes in a single name field

 
Christopher Rajan
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Create a SOAP web service that takes in a single name field ----Related to JAVA

<soap:Envelope

<soap:Body>

<getNameRequest>

<name>Robert</name>

</getNameRequest>

<soap:Envelope>
 
Surender Suri
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

There are two ways to create a webservice, top-down and bottom-up. In top-down approach, you start with a XSD, WSDL and generate the necessary stub classes using some web service code generation tool like wsdl2java etc... In bottom-up approch you start with a Java method, and generate the WSDL from it. Either way you need WSDL and webservice engine to deploy the service.

You can develop webservice using axis2, metro etc . If you are new to webservice, start with some basics and understand the terminology first : go through WebServicesFaq

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic