Broker implements non-Web-service interface to new Web service

In this Web service scenario, the broker provides compatibility with earlier versions for existing non-Web-service clients to invoke a new Web services implementation provided by a SOAP toolkit.

The diagram shows a message set being created from an interface definition (for example, a header file) used by an existing client application. A WSDL file is generated from the message set and is used to create a new Web service implementation. A message flow using the message set is created to invoke the new Web service. The message flow and message set are deployed to a broker, providing the original application interface to the new Web service implementation.

Key to symbols:

This diagram describes the symbols used in the other diagrams, and is not described here because those diagrams each have their own descriptions.

Possible uses

You want to migrate an application to a Web service implementation, for example an EJB implementation hosted by an application server to offer better scalability.

However, a significant number of your users have existing clients that cannot be immediately replaced. Existing clients can use the broker to use the new Web service implementation.

Design steps

  1. Create a message set for the business messages, for example, by importing an existing interface definition such as a C header file or COBOL copybook.
  2. Generate a WSDL definition from the message set.
  3. Use a SOAP toolkit or application server to create a suitable Web services implementation based on the WSDL.
  4. Develop a message flow to mediate between the original existing client and the new Web service.

Runtime

Your message flow receives a request from the existing client, converts it into a Web services request and invokes the Web service. The response from the Web service is converted into a form understood by the existing client.

Related concepts
XML domain message flows
Broker calls existing Web service
Broker implements new Web service interface
Broker implements existing Web service interface
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2009Copyright IBM Corporation 1999, 2009.
Last updated : 2009-01-07 15:20:39

ac34560_