User guide
Chapter 4: HTTP Tunneling
4-10
Application Other than the Java Applet
Specify the parameter in the following way when a client application (sample_c) is started:
(1) For Interstage HTTP Server
sample_c -ORB_FJ_HTTP yes -ORB_FJ_SSL yes
-ORB_FJ_HTTPGW http://host.com/od-httpgw
(2) For other than Interstage HTTP Server
sample_c –ORB_FJ_HTTP yes
-ORB_FJ_HTTPGW http://host.com/cgi-bm/Odhttp.dll
sample_c –ORB_FJ_HTTP yes
-ORB_FJ_HTTPGW http://host.com/cgi-bm/libOMhttp.so
Notes
• In client applications, use CORBA_ORB_net_disconnect() from the Fujitsu Extended Interface to
disconnect the communication resource used. This is unnecessary when the Solaris OE or Linux
system is used and the Web server is Interstage HTTP Server.
• When the Solaris OE or Linux system is used and the Web server is Interstage HTTP Server, no
action is required because the connection with the server is released for each communication.
Otherwise, client applications do not automatically disconnect the communication resource with the
server at termination of the application. Thus, if the resource is not disconnected, the client
application starts and stops repeatedly, the number of connections set in max_IIOP_resp_con in
the config file is insufficient, and a COMM_FAILURE exception will be posted.
• Client applications created with C, C++, Java, COBOL, or OOCOBOL can be used for HTTP
tunneling. They cannot be used from the OLE-CORBA gateway.
Java Applets
The HTML used for Java applets is shown below.
When the parameters are written in HTML, do not specify the hyphens in the parameter names.
(1) When Pre-installed type Java Library is Used
(1) For Interstage HTTP Server
<HTML>
<HEAD><!--demo.html--></HEAD>
<TITLE>Java sample Applet </TITLE>
<BODY>
<H1>Java sample Applet</H1>