Several URI examples.
Example: Direct connection to standalone GAS
Calls the "myApp" application on the "myApplicationServer" Application Server, listening to port
6394:
http://myApplicationServer:6394/wa/r/myApp
If the application is in the default group (
_default), you can use the same URL
or you can include the group
name:
http://myApplicationServer:6394/wa/r/_default/myApp
The use of the _default group name is optional.
Example: Connection through a Web Server
Calls the "myApp" application through the "myWebServer" Web
Server.
http://myWebServer/gas/wa/r/myApp
Example: Connection using a group
Calls the "myApp" application defined in
group "demo" through the "myWebServer" Web Server,
http://myWebServer/gas/wa/r/demo/myApp
Tip: If possible, it is
recommended that you avoid using groups, as they can add confusion to application
URLs.
Example: Starting applications with arguments
Calls the "myApp" application with arguments, through the "myWebServer" Web
Server:
http://myWebServer/gas/wa/r/myApp?Arg=Val1&Arg=Val2
Note:
- A question mark (?) follows the application name.
- Val1 is the value of the first argument and Val2 is the value of the second
argument.
- Each argument is separated by an ampersand (&).
For more details on arguments configuration see the PARAMETERS
section.
Example: Calling Desktop application
Calls the "appid" application from the Genero Desktop Client monitor using a http
connection.
http://appserver:6394/ja/r/appid
A call to the same application using the GDCAX use the URL with "wa" not "ja".
http://appserver:6394/wa/r/appid
Example: Calling a Web Service application
To get the WSDL for a specified
service:
http://appserver:6394/ws/r/appid/service?WSDL
To access the Web service:
http://appserver:6394/ws/r/appid/service
If the Web service uses a group:
http://appserver:6394/ws/r/groupid/appid/service
Access through a Web server:
http://webserver/gas/ws/r/appid/service
Example: Calling a Web Application
Calls the "myApp" application:
http://appserver:6394/wa/r/myApp
Calls the "myApp" application and explicitly specifies the HTML5
theme:
http://appserver:6394/wa/r/myApp?OutputMap=DUA_HTML5
Example: Get the groups for all applications
To retrieve the list of all groups configured for applications on an application server listening
to port 6394, enter following URL in a
browser:
http://myApplicationServer:6394/monitor/configuration/application/group
and you will get a XML document like
following:
<?xml version='1.0' encoding='UTF-8'?>
<RESPONSE Request='/monitor/configuration/application/group'>
<ENTRY Value='C:\gas2.40\pkg-ebiz-appserver/app' Name='_default'/>
<ENTRY Value='C:\gas2.40\pkg-ebiz-appserver/demo/app' Name='demo'/>
<ENTRY Value='C:\gas2.40\common\repository' Name='common'/>
<ENTRY Value='C:\gas2.40\tests' Name='qa-test'/>
</RESPONSE>