Extending the Web Service sample

You can extend the Web Service Host sample and the Web Service Client sample in the following ways.

Extending the Web Service Host sample

The Web Service Host sample is run using any suitable HTTP utility tool. It can also be called from a Web service client application. The message set contains a WSDL directory, and in that directory are files representing the document and literal style for WSDL. This can be used to generate a client application using software such as Rational Application Developer (RAD).

Extending the Web Service Client sample

The Web Service Client sample is run using a utility to put a message to a WebSphere MQ queue. The client message flow builds the Web service request message and passes it to the Web service. It receives the Web service reply and builds a WebSphere MQ message to be sent as response to the originator.

The client message flow could be enhanced to invoke another Web service, not hosted by a message broker. It could also call more than one Web service, by having HTTPRequest nodes in series, and storing the data received from each in the Environment tree.

Back to sample home