Note: By default the SOAP address in the WSDL file is set to use
port 9080. If the port that WebSphere Application Server is using for your
service is different, you will need to update the WSDL file to match your
port number.
- You can determine which port WebSphere Application Server is using in
the WebSphere administrative console.
- Expand Servers in the left pane, and select Application
servers.
- Select your server name from the list. By default this is server1.
- On the Configuration tab, search for the Communications heading and expand Ports.
- The port used is WC_defaulthost.
- If the port is anything other than 9080, run the TestClient.jsp as described
earlier.
- Invoke the getEndpoint method of the client. Copy the result.
- Click setEndpoint and paste the current endpoint for the service. Replace
the port number with the port your server is using and invoke the method.