Consultor Eletrônico



Kbase P131898: How to configure the AppServer for a deployed OpenEdge Web Service ?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   17/11/2009
Status: Unverified

GOAL:

How to configure the AppServer for a deployed OpenEdge Web Service ?

GOAL:

How to make an OpenEdge Web Service connect to a different AppServer ?

FACT(s) (Environment):

OpenEdge 10.1x
All Supported Operating Systems

FIX:

Assume your Web Services Adapter instance is called "wsa1" and your OpenEdge Web Service is called "WSTest".
Using the Progress Explorer tool:
- Navigate to your Web Service (for example "Web Services Adapter\wsa1\Web Services\WSTest").
- Right-click on your Web Service and choose Disable.
- Right-click on your Web Service and choose Properties.
- Update the appServiceName parameter to the AppServer of choice.
- Click the Set button and then the OK button.
- Right-click on your Web Service and choose Enable.
- Restart your Java Servlet Engine (JSE), e.g. Tomcat.
Using the WSAMAN utility:
- Disable your Web Service:
wsaman -name wsa1 -appname WSTest -disable
- Change the AppServer name:
wsaman -name wsa1 -appname WSTest -prop appServiceName -value <Your AppServer Name> -setprops
- Verify the new settings:
wsaman -name wsa1 -getprops -appname WSTest
- Enable your Web Service:
wsaman -name wsa1 -appname WSTest -enable
- Restart your Java Servlet Engine (JSE), e.g. Tomcat.
Note 1: If the AppServer is on a remote machine, then make sure you also change the appServiceHost parameter.
Note 2: By default the OpenEdge Web Service will connect to the AppServer via the NameServer. To make a direct connection to the AppServer you will also have to change the appServicePort parameter to the port of the AppServer and the appServiceProtocol parameter to "AppserverDC".