http://hostname:port
/WSG/QAPP0100?op_specific_parm
http:
Identifies the protocol. The workstation gateway server uses the HTTP protocol.
hostname
Identifies the system to which you are sending a request, such as
xxx.xxx.xxx.xxx.
Note: Touse the host name, you must have either a domain name server or a
local host table.
Toreach a host for which you do not have a name server or a host table, use
the dotted decimal address of the host.
:port
Port 5061 is the default port for the workstation gateway server. Youcan
change this port by using the WRKSVRTBLE command. Keep the following in
mind if you choose a different port:
vUse wsg for the name of the service.
vUse tcp for the protocol.
vUse the dotted decimal or the alias form for the host name.
Either is accepted. Therefore, you can use the workstation gateway server
whether or not you have configured a host table.
If you do not specify a port on the URL, the request goes to the AS/400 HTTP
server at well-known port 80. Because you specified WSG, HTTP redirects your
request to the workstation gateway server.
Note: Youmust configure the HTTP server to allow it to redirect traffic. To do
this, specify the
redirect
directive:
Redirect /WSG http://--address--:5061/WSG
WSG
The WSG request keyword.
Note: Specify WSG in upper case.
/QAPP0100?
The prefix that indicates the exit point information follows. (The ‘?’ is just a
separator character between QAPP0100 and any arguments that the system
passes.)
op_specific_parm
Information about what operations the workstation gateway server must
perform.
A signature for a workstation gateway server session is added to your address after
your initial connection. This signature identifies your session to the AS/400 system.
Notes:
1. The workstation gateway server port is different from the HTTP server port. This
is because workstation gateway server is a new type of server for which no
well-known port exists.
2. When using the workstation gateway, you might find that the view of theAS/400
display varies between browsers. If there are alignment problems with the fields
Chapter10. Workstation Gateway Server 333