To access an application, you specify the necessary information in the browser's address bar by entering in the appropriate application URI.
The syntax of a URI follows the standards described in the RFC 2616. A list of example URIs is provided below.
http[s]:// { web-server[:web-server-port] [ /directory [...] /script-directory /connector ] | app-server[:app-server-port] } /scope /action /group / { web-application-id } [ ? parameter=parameter-value [ & parameter=parameter-value ] [...] ]Note: https is slower than http due to encryption.
Option | Data Type | Explanation | Valid Values |
web-server | STRING | Name or IP address of the Web Server. | |
web-server-port | INTEGER | Port on which the Web Server listens. | |
directory | STRING | Any directory or virtual directory on the Web Server. | |
script-directory | STRING | The script directory. | |
connector | STRING | The name of the connector. | fglccgi, fglccgi.exe, fglcisapi.dll |
app-server | STRING | Name or IP address of the Application Server. | |
app-server-port | INTEGER | Port on which the Application Server listens. | |
scope | STRING | Scope we are working on. | wa, ja, ws |
action | STRING | Action requested of the Application Server. | r |
group | STRING | Application Group defined in as.xcf | |
web-application-id | STRING | Web Application identifier. | |
parameter | STRING | Parameter to communicate to the Application Server. | Arg, UserAgent |
parameter-value | STRING | Parameter value. |
Calls the "myApp" application through the "myWebServer" Web Server, using the CGI connector:
http://myWebServer/cgi-bin/fglccgi/wa/r/myAppNote: On Windows platforms, when connecting via a Web server, you must include the extension when calling fglccgi.exe, as shown in the following URL:
http://myWebServer/cgi-bin/fglccgi.exe/wa/r/myApp
Calls the "myApp" application through the "myWindowsWebServer" Web Server, running IIS, using the ISAPI connector:
http://myWindowsWebServer/scripts/fglcisapi.dll/wa/r/myApp
Calls the "myApp" application on the "myApplicationServer" Application Server, listening to port 6394:
http://myApplicationServer:6394/wa/r/myApp
Calls the "myApp" application defined in group "demo" through the "myWebServer" Web Server,
http://myWebServer/cgi-bin/fglccgi/wa/r/demo/myApp
Calls the "myApp" application with arguments, through the "myWebServer" Web Server:
http://myWebServer/cgi-bin/fglccgi/wa/r/myApp?Arg=Val1&Arg=Val2
Notes:
For more details on arguments configuration see the PARAMETERS section.
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
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 webserver (apache for example):
http://webserver/cgi-bin/fglccgi/ws/r/appid/service