Previous Topic Next topic Print topic


Configure an Enterprise Server for Web Services

These are the steps to create an enterprise server on which you will deploy the Web service supplied with the demonstration application.

In this tutorial you:

  1. Create an Enterprise Server for Web Services.
  2. Configure the Enterprise Server.
  3. Start the Enterprise Server.

Create an Enterprise Server

To create an Enterprise Server on which you can deploy Web Services:

  1. Start Visual Studio.
  2. In Server Explorer, right-click Micro Focus Servers and choose Administration from the context menu.

    If Server Explorer is not visible, choose View > (Other Windows >) Server Explorer to open it.

  3. On the home page of Enterprise Server Administration, click Add.
  4. In the Server Name field, type WEBDEMO.
  5. Make sure Working mode is set to 32-bit.
  6. Click Next.
  7. In the Server Type group, make sure Micro Focus Enterprise Server is selected.
  8. Click Next.

    There is no need to change the settings on this page. Notice the description for your enterprise server in the Description field: "Communications server for Web Services".

  9. Click Add.

The home page of Enterprise Server Administration is displayed. It shows your new WEBDEMO server on the list of the available enterprise servers.

Configure the Enterprise Server

After you have created an enterprise server on which you can deploy Web Services, configure it to enable dynamic debugging as follows:

  1. On the home page of Enterprise Server Administration, click the Edit button that corresponds to WEBDEMO.
  2. Check Allow Dynamic Debugging.
  3. Click Apply.

Start the Enterprise Server

To run the application, you need to start the enterprise server instance that you just created as follows:

  1. In Server Explorer, right-click WEBDEMO under Micro Focus Servers.
  2. Choose Start from the context menu.

    This displays a daemon and starts the WEBDEMO enterprise server. When the home page of Enterprise Server Administration page is refreshed, you can see that the Status column in the row for WEBDEMO shows that the server is started.

  3. Minimize the daemon.
  4. In Server Explorer, right-click the Micro Focus Servers group.
  5. Choose Refresh from the context menu to update the server status.
  6. On the home page of Enterprise Server Administration, click Details that corresponds to Listeners for your WEBDEMO enterprise server.

    The listeners represent the three types of services we can run using this enterprise server.

  7. Under the Listeners tab, notice the address and the port for Web Services and J2EE. Write them down as you will need them later to deploy the Web service and to run the Calculator application.

    Note that each time you restart the enterprise server, the port changes.

  8. On the list that appears on the left-hand side of the page, click Home to return to the home page of Enterprise Server Administration.
Previous Topic Next topic Print topic