Chapter 8. Router solutions using Web Services Gateway 191
Figure 8-27 Deploying a service - part 2
Note that the target service identity information matches the code in the filter
(see Example 8-5 on page 184).
Repeat the process to deploy each service. For our stage1 application, both
InventoryWholesale1 (Figure 8-28) and InventoryWholesale2 (Figure 8-29) need
to be deployed.
Note: If you are not using a UDDI Registry, you will need to make the WSDL
file available to the gateway. A simple way to do this is to create a new folder
for the WSDL files in the application folder for the Web Services Gateway
application. For example:
<WAS_HOME>/installedApps/<node_name>/wsgw.server1.<node_name>.ea
r/wsgw.war/wsdl
Then copy the WSDL file from the WebSphere Studio workspace to the new
folder.
When defining the service, simply select URL as the location type and enter
the URL for the wsdl file. In this case, the URL would look like:
http://<wsgw_node>:9080/wsgw/wsdl/<wsdl_file>.wsdl