Web Services - HOW CLIENT APPLICATION SEND DATA TO SERVER

STUB uses SOAP tag to convert client application methods to XML.

Using HTTP Protocol, SOAP requests are sent to sever. SOAP request contains MethodName, ParameterValues, ParameterTypes.

Server handover the SOAP request to SKELETON.

SKELETON is a predefined class i.e if server application is build using JAVA then it will be a JAVA Class and so on.

SKELETON invokes the JAVA class methods as per Client SOAP request.

SKELETON now generates SOAP response which is an XML and send it to Client over HTTP Protocol (because HTTP is a transportation protocol).

STUB at Client application receive the SOAP Response and generate method for client application. Which client can found by invoking by STUB object.

SOAP Web Services:
  • JAX - RPC API learning is required
  • JAX - WS API learning is required
  • SOAP is called a messaging protocol
REST Web Services:
  • JAX - RS API learning is required

Comments