Example: Installing the JAX-WS Web Services samples with the console
The product provides a web services sample application that you can install on an application server.
Before you begin
Download and extract the JaxWSServicesSample
sample application. For more
information, see Accessing the samples.
About this task
The JaxWSServicesSamples.ear enterprise application and supporting Java™ archives (JAR) files are located in the installableApps directory within the JaxWSServicesSamples sample application.
This topic describes how to install and start the JaxWSServicesSamples.ear enterprise application using an administrative console.
Procedure
Results
The JaxWSServicesSamples application is in the list of deployed applications on the Enterprise applications page.
What to do next
After the application installs successfully, do the following:
- Start the application.
On the Enterprise applications page, select the check boxes for JaxWSServicesSamples, and then click Start.
- Test the application. Point your web browser at:
http://localhost:9080/wssamplesei/demo
If the localhost address does not load, substitute the host name (IP address) of the computer for localhost; for example, http://9.22.33.44:9080/wssamplesei/demo. For a secure URL, use the
https
protocol and the9443
default secure port number.If you have another WebSphere® Application Server installation on your machine, the server port number is likely not 9080 or 9443. See the Ports table in the administrative console to find the
WC_defaulthost
orWC_defaulthost_secure
server port number. Click . The Port descriptions table lists the important ports.Table 1. Port descriptions. Use the WC_defaulthost
port in the URL to test the sample.Port name Description WC_adminhost
Port used to open an unsecure administrative console in the URL http://host_name:administrative_port/ibm/console
WC_adminhost_secure
Port used to open a secure administrative console in the URL https://host_name:administrative_port/ibm/console
WC_defaulthost
Port used to test running applications in the URL http://host_name:server_port/servlet_name
WC_defaulthost_secure
Port used to securely test running applications in the URL https://host_name:server_port/servlet_name