Tutorial by Examples

SOAP is an acronym for Simple Object Access Protocol which defines a protocol that is used to exchange data via a Remote Procedure Call (RPC) with other SOAP services or clients. It is available in two version: SOAP 1.1 [IETF] SOAP 1.2 [IETF] SOAP 1.2 obsoletes SOAP 1.1 it is therefore recomm...
package com.test.ws.example; import javax.xml.soap.MessageFactory; import javax.xml.soap.MimeHeaders; import javax.xml.soap.SOAPBody; import javax.xml.soap.SOAPConnection; import javax.xml.soap.SOAPConnectionFactory; import javax.xml.soap.SOAPElement; import javax.xml.soap.SOAPEnve...
This is project directory. A service endpoint interface First we will create a service endpoint interface. The javax.jws.WebService @WebService annotation defines the class as a web service endpoint. import javax.jws.WebMethod; import javax.jws.WebService; import javax.jws.soap.SOAPBi...

Page 1 of 1