Installing Web Services Samples with the console

The Feature Pack for Web Services provides several sample applications that you can install onto an application server that has been enabled with the Feature Pack for Web Services.

Before you begin

Install the Feature Pack for Web Services and create an application server that is enabled with a Web Services profile. The enabled server is the deployment target onto which you install the Web Services Samples.

About this task

Installing the Feature Pack for Web Services adds sample files to the app_server_root/samples/lib/WebServicesSamples directory of your product installation.

This topic describes how to install and start the WSSampleClientSei.ear and WSSampleServicesSei.ear enterprise applications using an administrative console. You must install both enterprise archive (EAR) files onto an enabled server before you can start the applications and test them in a Web browser.

Procedure

  1. Click Applications > Install New Application in the console navigation tree.
  2. On the Preparing for application installation page, specify to install WSSampleClientSei.ear.
    1. Click Local file system or Remote file system and specify the full path name of the WSSampleClientSei.ear file.
      app_server_root/samples/lib/WebServicesSamples/WSSampleClientSei.ear
    2. Select Prompt me only when additional information is required.
    3. Click Next.
  3. Click Next on each panel until you reach the Summary panel.

    Do not go directly from Step 1 to the Summary panel. You must click Next on each panel that has mandatory settings to enter values for those settings. Simply click Next to enter the default values. You optionally can change the values to suit your environment.

  4. On the Summary panel, verify the cell, node, and server onto which the application modules will install, and then click Finish.
  5. Examine the application installation progress messages.

    If the application installs successfully, the message Application WSSampleClientSei installed successfully is displayed. Click Save. After the configuration changes are saved, you can see the name of the application in the list of deployed applications on the Enterprise Applications page accessed by clicking Applications > Enterprise Applications in the console navigation tree.

    If the application does not install successfully, read the messages to identify why the installation failed. Correct problems with the server or application and try installing the application again.

  6. Repeat steps 1 through 5, selecting to install the WSSampleServicesSei.ear file.
    app_server_root/samples/lib/WebServicesSamples/WSSampleServicesSei.ear

Results

The WSSampleClientSei and WSSampleServicesSei applications are in the list of deployed applications on the Enterprise Applications page.

What to do next

After the applications install successfully, do the following:
  1. Start the applications.

    On the Enterprise Applications page, select the check boxes beside WSSampleClientSei and WSSampleServicesSei, and then click Start.

  2. Test the applications. Point your Web browser at:
    http://localhost:9080/wssamplesei/demo

    If the localhost address does not load, substitute the host name (IP address) for the machine for localhost; for example, http://9.22.33.44:9080/wssamplesei/demo.

    If you have another WebSphere® Application Server installation on your machine, the server port number is likely not 9080. See the Ports table in the administrative console to find the WC_defaulthost server port number. Click Servers > Application servers > server1 > Ports . The Ports table lists the important ports:

    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 http://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 http://host_name:server_port/servlet_name

The app_server_root/samples/lib/WebServicesSamples directory also contains the WSSampleMTOMService enterprise application. Complete the steps in this topic to install the WSSampleMTOMService.ear file on an application server that is enabled with a Web Services profile.

For detailed information on the Web Services Samples, refer to the readme file provided with the feature pack.




In this information ...


IBM Redbooks, demos, education, and more

(Index)

Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

Task topic Task topic    

Terms and conditions for information centers | Feedback

Last updatedLast updated: Aug 31, 2013 1:23:07 AM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=pix&product=was-nd-dist&topic=trun_app_install_wbsfep
File name: trun_app_install_wbsfep.html