Search This Blog

Sunday, June 21, 2015

Web Service Life-cycle


  1. A web service provider creates and deploys a web service.
  2. A web service consists of a service or application function and the web service infrastructure that make it accessible to remote clients.
  3. The web service provider then publish information about a web service in a service registry or makes it available to client directly.
  4. Published information might include a description of the service, the service interface definition,and the service instance location. A service provider can also associate a service with a variety of taxonomies or classification schemas to facilitate locating service that satisfy a particular criteria. Alternatively, the provider can place the service in accessible location and provide instructions for accessing the service directly to any potential requests.
  5. Web service requests search a service registry or some well-known location for service that meet their needs. If using a service registry, the requester could use a query mechanism provided by registry browser.
  6. After locating an appropriate service, a service requester retrieves information about the service, such as the service location and interface description.
  7. The web service requester creates a web service client.
  8. A web service client invokes the web service at the location specified in the service description, passing the required parameters cin a XML-based message. The service executes using the parameters contained in the incoming message, and returns the processing results to the client in an XML-based response message. Both the client and the service components contains logic to generate and process the XML-based messages.