Application Integration With IBM ESB

WebService Develpment Using HTTP Node

| Comments

WebService Provider with HTTP Input Node

I’ll try to show webservice provider development using HTTP node. in this example I’ve tried to expose webservice using HTTP node. since we’ve to construct(write tedious codes) for multiple namespaces for the envelope and subsequent nodes, it’s more prefered to use generate WSDL/XSD wizard to extract SOAP envelope. key note ! port number 7080 is the default for listening webservice request.

As you can see, the lines of codes in compute node is tedious and we need to be careful when we write coding

WebService Consumer with HTTP Request Node

This message flow doesn’t do any fancy thing, it just connects to webservice provider above, consumes the data passes over to the compute node. and compute node copies inbound message to outbound terminal without any transformation.

Testing with SOAPUI

In this example, bank customer tries to login into his bank account and sees his credit and debit information. the first data he enters: username, password are credentail data for webservice request. and detailed information; customer name, checking account and saving account are returned as webservice response data.

download source code

Comments