The Web Services Gateway sample consists of putting messages through the message flows. To run this sample you can use the Test Client to put input messages to either of the consumer message flows. For more information about the Test Client, see Testing message flows by using the Test Client in the IBM Integration Bus documentation.
If you encounter any problems when you run the sample, see Resolving problems when running samples in the IBM Integration Bus documentation. You might also see an error when you rebuild the BAR files, reporting that a required library is missing from the WebServiceGatewayJava project. See Adding Java code dependencies and check that your installation locations are correct.
If you want to verify that your web services consumer is configured correctly, follow the instructions below. If you have set up a TCP/IP Monitor, you have already checked which port the web services provider is using, but you must still configure the consumer to send the messages to your TCP/IP Monitor and then build and redeploy the broker archive (BAR) file.
The default port that web services use is 7800, and the SOAP requests are set up to use this port. However, if this port is already in use, the port number is incremented by one.
To check which port your provider server is using, issue the following mqsireportproperties command:
mqsireportproperties IB9NODE -e WebServiceGatewaySample -o HTTPConnector -n port
Complete the following steps to verify that the port that the SOAPRequest nodes are using is correct, and to override the port of the SOAPRequest node in the BAR files to the port that the provider server is using:
To verify that the port is correct in the configurable service, complete the following steps:
Choose either the Address Book sample or the SOAP node sample and follow the instructions for running the sample. When you run the samples, the requests are routed through the gateway flow.