Configure IMSDEMO for an IMS Web Service

You need to further configure the IMSDEMO enterprise server region to prepare it for running the IMSScreenWS Web service that is deployed to it later in this tutorial.

Configure the Web Services and J2EE Listener

You need to specify a communications port to be used by the Web Services and J2EE listener that accepts incoming client requests.

  1. If the IMSDEMO region is started, stop it from the Server Explorer in Enterprise Developer.
  2. Start Enterprise Server Administration from the Server Explorer.
  3. In the Communications Processes column for the list of servers, click the Details button that corresponds to the IMSDEMO entry.
  4. Click the Edit button that corresponds to Web Services and J2EE.
  5. Change the contents of the Endpoint Address field to *:9003.
  6. Click OK.
  7. Click the Edit button that corresponds to Web listener.
  8. Change the value of the New Status field to Stopped. This enables the listener used to deploy the service interface to the IMSDEMO server.
  9. Click OK.
  10. On the sidebar, click Home to return to the Enterprise Server Administration Home page.

Create and Configure an Alternative deploy Directory

Important: Complete this section only if you do not have Administrator privileges for the Enterprise Developer installation directory and subdirectories. If you do have Administrator privileges, skip directly to Create a Service Interface.

Without Administrator privileges to the default deploy directory, you cannot deploy to Enterprise Server from Enterprise Developer. To ensure successful deployment, complete these tasks:

Create a deploy folder in your IMSTutorial project
  1. In the Solution Explorer, right-click the project; then select Add > New Folder from the context menu.
  2. Type deploy; then press Enter.
Add the .mfdeploy file
The new deploy folder must contain a copy of the .mfdeploy configuration file. Use the Solution Explorer to add this file.
  1. From the Solution Explorer, right-click the deploy folder; then select Add > Existing Item.
  2. Browse to the InstallFolder\deploy folder where InstallFolder is your Enterprise Developer installation folder. By default, this is %ProgramFiles(x86)%\Micro Focus\Enterprise Developer.
  3. Double-click the .mfdeploy file.
Configure IMSDEMO to use the new deploy folder
  1. On the Enterprise Server Administration Home page in the Communications Processes column for your enterprise server instance, click the Details button that corresponds to Listeners.
  2. In the row for the Web listener name, click Edit.
  3. Scroll down to the Configuration Information field; then within the field, scroll down until you find the relevant code, then change:
    uploads=<ES>/deploy

    to:

    uploads=ProjectFolder/deploy
    where ProjectFolder is the full path to your project folder, using forward slashes to separate subfolders. For example:
    uploads=c:/tutorials/solution-name/project-name/deploy
  4. Click OK.
  5. Click Home to return to the Home page.