Web Services Adapter user/password...

Posted by MBeynon on 05-Oct-2015 07:23

Hi,

Does anyone know where the username and password is configured for a wsa. I have authentication enabled (when I installed Progress) but I'm struggling to find where this is set.

Also, is there a default port number for the wsa and is it possible to specify this somewhere in the config?

I've been through the config files for both the WSA and Apache but I'm struggling to connect to my WSA so I can't load a test WSM...


Thanks,

Mark.

Posted by Srinivas Munigala on 05-Oct-2015 07:49

Hi Mark,
 
You can find it in $CATALINA_HOME/webapps/wsa/WEB-INF/web.xml file.
 
For more information, please go through the following link:
 
http://knowledgebase.progress.com/articles/Article/P101379
 
Regarding port number for wsa:
 
You can modify it in ubroker.properties file under [WSA.wsa1] section:
 
wsaUrl=http://localhost:8080/wsa/wsa1
 
If you are looking for something else, please let me know.
 
Thanks,
Srinivas Munigala.
 
 

All Replies

Posted by Srinivas Munigala on 05-Oct-2015 07:49

Hi Mark,
 
You can find it in $CATALINA_HOME/webapps/wsa/WEB-INF/web.xml file.
 
For more information, please go through the following link:
 
 
Regarding port number for wsa:
 
You can modify it in ubroker.properties file under [WSA.wsa1] section:
 
 
If you are looking for something else, please let me know.
 
Thanks,
Srinivas Munigala.
 
 

Posted by MBeynon on 05-Oct-2015 08:03

Thanks, I've set up the permissions and made sure i can access my wsa :

http://<ipaddress>:8080/wsa/wsa1 gives me;

WSA Web Services

Status:wsa1:OK:101

and I have this:

wsaUrl=http://localhost:8080/wsa/wsa1

in my properties file

I'm trying to query the wsa with wsman (before deploying a wsm) with the following command

wsaman -name wsa1 -appname wsa1 -host <ipaddress> -port 8080 -q

However, I just get "Unable to find wsa1 (8281)"

Any ideas?

Mark.

Posted by Donicello Lampe on 05-Oct-2015 08:08

Do you get any error messages in your admserv.log ?

Posted by Srinivas Munigala on 05-Oct-2015 08:11

-host or -r                            Host name where AdminServer is running
-port                                      Port number of running AdminsServer
 
Not the tomcat port  and hostname.
 

Posted by MBeynon on 05-Oct-2015 08:32

I should have added that I'm trying to set-up a Tomcat servlet container on a windows server 2008 VM as a means of solely handling an incoming request to hand over to an Appserver on a different machine.

There isn't a full OE 10 install on the machine, just the 102A WSA component with the appropriate license so there is no Progress Adminserver per say.

Posted by Srinivas Munigala on 05-Oct-2015 08:47

I understand that you have installed only WSA component on Windows machine and it doesn't have full OE installation.

In this case, if you want to query the wsa1, you need to configure the remote WSA (from another machine where AdminServer is installed). For more information, please visit the following link:

knowledgebase.progress.com/.../P104074

Posted by MBeynon on 05-Oct-2015 10:16

Thankyou, I'll try that.

Posted by MBeynon on 06-Oct-2015 04:39

Hello,

First of all many thanks for all those who helped me yesterday, I'm getting a little closer with this.

I now have both a local client and remote WSA's configured and running.

I can now do this on my local machine:

wsaman -name wsa1 -host localhost -port 20932 -query

However, if I try to update the wsa with a wsm I need the -appname param like so...

wsaman -name wsa1 -appname wsa1 -host localhost -port 20932 -update.....

But I get the error: WSA request error: Web Service application not found: wsa1

Does anyone know where the -appname (friendly name) of the wsa is set? It doesn't look like I can deploy a wsm to the wsa without knowing what it is or where to set it.

Thanks,

Mark.

Posted by Srinivas Munigala on 06-Oct-2015 04:56

wsa1 is your webService instance name.

You can find your appname by listing the wsa1 as below:

wsaman -name wsa1 -host localhost -port 20932 -l

Example:

proenv>wsaman -i wsa1 -l

OpenEdge Release 11.6ALPHA as of Fri Oct  2 19:00:15 EDT 2015

Connecting to Progress AdminServer using rmi://localhost:20931/Chimera (8280)

Searching for wsa1 (8288)

List of Web Services at wsa1:

addAppObj

  Target NameSpace: urn:add

  Status          : DISABLED

Here, "addAppObj" is my appname.

This thread is closed