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.
- If the IMSDEMO region is started, stop it from the Server Explorer in
Enterprise Developer.
- Start
Enterprise Server Administration from the Server Explorer.
- In the
Communications Processes column for the list of servers, click the
Details button that corresponds to the
IMSDEMO entry.
- Click the
Edit button that corresponds to
Web Services and J2EE.
- Change the contents of the
Endpoint Address field to
*:9003.
- Click
OK.
- 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
-
- In the
Solution Explorer, right-click the project; then select
Add > New Folder from the context menu.
- 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.
- From the Solution Explorer, right-click the
deploy folder; then select
Add > Existing Item.
- Browse to the
InstallFolder\deploy folder where
InstallFolder is your
Enterprise Developer installation folder. By default, this is
%ProgramFiles(x86)%\Micro Focus\Enterprise Developer.
- Double-click the
.mfdeploy file.
- Configure IMSDEMO to use the new
deploy folder
-
- 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.
- Click the
Listeners tab.
- In the row for the
Web listener name, click
Edit.
- 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
- Click
OK.
- Click
Home to return to the Home page.