RE: RE: Connecting to multiple gasd processes through HTTP Server
"Sisavanh SENGSAVANH" <[email protected]>
| Newsgroups | gmane.comp.lang.4gl.fourjs.user |
|---|---|
| Message-ID | <003f01c5524e$b2142ac0$6a00000a@helios> |
Hi,
Genero BDL (DVM): 1.31.2c (64-bit)
Genero Web Client (GWC): 1.30.1j (32-bit) ???
Web Services only work with GAS product.
I suppose you were talking about GAS 1.31.1a ?
I haven't done the tests on AIX but on windows.
I can correctly access to different gasd through the fglccgi. Using the calculator demo program.
If you have the 404 error this means the ws client cannot to the server. It cannot find the page. Seems the URL you are using from
your ws client is wrong.
Are you sure you have set the right location for your ws service in different wsdl files ?
You are using a browser to access to the application ?
You have a html client ? GWC ?
Setup different gasd with the demo calculator.
For example in as.xcf
>>>
<SERVICE Id="cal1" Parent="ws.default">
<EXECUTION>
<PATH>$(res.fgldir)\demo\WebServices\calculator\server</PATH>
<MODULE>calculatorServer.42r</MODULE>
</EXECUTION>
</SERVICE>
<<<
Then use the program in attachment to access to the different gasd.
Try with a GDC or from a shell command:
fglrunws calculatorClient.42r "http://localhost:1100/cgi-bin/fglccgi.exe/ws/r/cal1"
Adapt this URL to your apache URL.
Otherwise, send us the different wsdl files you are using.
Many regards,
--
____________________________________________________________
Sisavanh SENGSAVANH European Support Team
mailto:[email protected] Phone: +33 (0)3 88 18 61 24
Four J's Development Tools - Genero, It speaks your language
http://www.4js.com
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Adam Martin
Sent: Thursday, May 05, 2005 10:05 PM
To: [email protected]
Subject: [fourjs-users] RE: Connecting to multiple gasd processes through HTTP Server
I forgot to mention that each gasd process was started with a different/separate as.xcf file. Each as.xcf file has only one
application listed in it which is the application it services.
Any assistance would be appreciated.
From: Adam Martin
Sent: Thursday, May 05, 2005 2:31 PM
To: [email protected]
Subject: Connecting to multiple gasd processes through HTTP Server
I am attempting setup IBM's HTTP Server which is powered by Apache 2.0, to connect to our application but am having trouble
connecting to separate gasd processes. Appended to the end of this email is the relevant information from the connector.xcf file.
I currently have seven (7) gasd processes running on ports 6393 through 6399. I am able to access the applications serviced by all
seven gasd servers when I connect directly to the application server's http server. I am able to connect to the "DEFAULT" server
listed in the connector.xcf through the HTTP Server without any issues. However, when I attempt to connect to another application
server running on a different port I receive an error message "The page cannot be found" HTTP 404- File not found error in the
Internet Explorer window.
I am attempting to follow the examples listed in the Four J's "Developing Web Applications Genero Web Client" Student Workbook. Can
anyone shed any light on what I am doing wrong?
My environment consists of the following.
Operating System: IBM AIX 5.3.1 (64-bit)
Genero BDL (DVM): 1.31.2c (64-bit)
Genero Web Client (GWC): 1.30.1j (32-bit)
IBM HTTP Server: 2.0.47
Connector.xcf
<?xml version="1.0" encoding="ISO-8859-1"?>
<?fjsConnectorConfiguration Version="1.20"?
<CONFIGURATION>
<CONNECTOR>
<INTERFACE_TO_APPLICATION_SERVER>
<TCP_BASE_PORT>6300</TCP_BASE_PORT>
</INTERFACE_TO_APPLICATION_SERVER>
<REQUEST_LIST>
<DEFAULT>
<SERVER>127.0.0.1:94</SERVER>
</DEFAULT>
<REQUEST Id = "infdevelop">
<SERVER>localhost:94</SERVER>
</REQUEST>
<REQUEST Id = "oradevelop">
<SERVER>localhost:95</SERVER>
</REQUEST>
<REQUEST Id = "db2develop">
<SERVER>localhost:96</SERVER>
</REQUEST>
<REQUEST Id = "infaccept">
<SERVER>localhost:97</SERVER>
</REQUEST>
<REQUEST Id = "oraaccept">
<SERVER>localhost:98</SERVER>
</REQUEST>
<REQUEST Id = "db2accept">
<SERVER>localhost:99</SERVER>
</REQUEST>
<REQUEST Id = "prebase">
<SERVER>localhost:93</SERVER>
</REQUEST>
</REQUEST_LIST>
calculatorClient.4gl
(application/octet-stream, 1.1 KB) - not displayed