How to throw proxy authent to acces to a remote wsdl ?

Discussion forum about all things Team Developer 5.x and 6.x
Olive

How to throw proxy authent to acces to a remote wsdl ?

Post by Olive » 15 Nov 2007, 09:33

hi



I 'm testing TD 5.1 and I want to access to remote wsdl.

for example :

http://www.webservicex.net/TranslateService.asmx?wsdl



When I click on "Next" button into "Web service wizard - step 1 of 4" dialog, I receive this following message :



:x 407 : Proxy authentification neeeded



:?: Any idea to avoid this inconvenient ?[/url]

Jean-Marc Gemperle

Re: How to throw proxy authent to acces to a remote wsdl ?

Post by Jean-Marc Gemperle » 22 Nov 2007, 17:06

Hi,



Yes this is not documented as far as I know (will enter an issue for that)but since we use Axis2c you should be able to set your proxy :



Axis2c comes with built-in support for being a proxy client. Proxy mode can be turned on by editing the axis config file. To enable proxy support, a simple edit is needed in the Axis2.xml configuration file found in c:\program files\unify\team developer 5.1\axis2c.



and setup your proxy settings there.





<transportSender name="http" class="axis2_http_sender">

<parameter name="PROTOCOL" locked="false">HTTP/1.1</parameter>

<parameter name="PROXY" proxy_host="127.0.0.1" proxy_port="8080" locked="true"/>

</transportSender>



Please let me know if that helped. I cannot test this from the place I work as I do not have a proxy server configured.



Cheers

Jean-Marc

Olive

Re: How to throw proxy authent to acces to a remote wsdl ?

Post by Olive » 23 Nov 2007, 13:32

sorry jean-marc





I modified my Axis configuration file, but it doesn't work...

see the error message below:

Code: Select all

  Le serveur distant a retourné une erreur : (407) authentification proxy requise


I made mistakes voluntarily, but it doesn't work...see the error message below:

Code: Select all

  Le serveur distant a retourné une erreur : (407) authentification proxy requise


This message is very strange, i waited an error message indicating a malformation xml form.
[/code]

Jean-Marc Gemperle

Re: How to throw proxy authent to acces to a remote wsdl ?

Post by Jean-Marc Gemperle » 23 Nov 2007, 20:09

Hi,



I will contact you separately this coming week. Using proxy server when using IE does not require much configuration other than to specify the proxy server and the credential. Now I recall an issue with wininet.dll related to our previous HTTPREQUEST way of invoking Web Services with proxy were a specific proxy setup program from MS had to be executed for it to work... It might be the case here... I need to check that.



Cheers

JM

Jean-Marc Gemperle

Re: How to throw proxy authent to acces to a remote wsdl ?

Post by Jean-Marc Gemperle » 30 Nov 2007, 15:01

Hi,



Can you please have a look at this



http://msdn2.microsoft.com/en-us/library/aa384069.aspx



This is the tool I was refering. To use the our HTTPRQUESTER object via a proxy server as far as I recall ProxyCfg.exe, was required. it might well be for TDWS.



Would you let me know how it goes



Merci



Jean-Marc

Return to “General Discussion”

Who is online

Users browsing this forum: [Ccbot] and 0 guests