Four Js Development Tools Forum

Discussions by product => GWS => Topic started by: Tim B. on November 20, 2008, 03:02:44 pm



Title: Proxy Config
Post by: Tim B. on November 20, 2008, 03:02:44 pm
I'm unable to configure web services to work through our proxy server.  I've added the following to the fglprofile:-

authenticate.proxyauth.login    = "user"
authenticate.proxyauth.password = "pass"
authenticate.proxyauth.scheme   = "Basic"

proxy.http.location = "192.168.0.2:8080"
proxy.http.list = "128.;172."
proxy.http.authenticate = "proxyauth"

I'm using my own domain login and password to test.  I've tried with and with the 'scheme' entry. When I enter the wsdl url in Studio I get:-
CONNECTION ERROR : Name resolution failed for 'ws.tuscan-net.co.uk';unable to load http://ws.tuscan-net.co.uk/gtws1.php?wsdl.


Title: Re: Proxy Config
Post by: Frank G. on November 20, 2008, 03:30:56 pm
Hi,  you are misunderstanding two different things. The proxy configuration in the FGLPROFILE file is when you want your 4GL client to execute a Web service via a proxy. But if you want to generate a client stub in Studio by accessing a WSDL on the net, you have to specify the proxy in the studio configuration panel. Notice however, that proxy authentication is not supported in fglwsdl.

Regards,

Frank


Title: Re: Proxy Config
Post by: Tim B. on November 20, 2008, 04:19:10 pm
Thanks.  I will try by using a wsdl file instead of a url, since our proxy server requires authentication.