Consultor Eletrônico



Kbase P111106: How to automatically specify a password for the WSAMAN utility
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   22/11/2005
Status: Unverified

GOAL:

How to automatically specify a password for the WSAMAN utility

GOAL:

How to use the WSAMAN utility in a script when there a prompt for password

FACT(s) (Environment):

OpenEdge 10.x
Web Services

FIX:

The WSAMAN utility prompts for a password when needed, for example when specifying the -webserverauth parameter.
In order to automate this process when a script is being used, follow these steps:

1. Add the password to a new empty file. e.g. pass.txt .
2. Change the security on this file appropriately in order to prevent unauthorized access.
3. Run the WSAMAN and input the file which contains the password as follows:

wsaman -name <wsaname> -app <appname> -enable -webserverauth Progress < <password_file>