Larry,

 

I’ve just started using Axis, so there is a high probability I don’t know what I’m talking about.  As someone else replied, Axis probably does not control the proxy stuff.  This probably happens at a lower level. 

 

I did find the following which talks about how the JVM in general handles SOCKS at http://java.sun.com/j2se/1.4.2/docs/guide/net/properties.html.  Here is some code I found that looks like it is configuring the SOCKS username and password.  http://www.koders.com/java/fid222A48E4FD3645C1DD102E4A9DB562C2930D4753.aspx.  I imagine this configuration would have to happen in your client code somewhere.

 

-----Original Message-----
From: Larry Lemons [mailto:[EMAIL PROTECTED]
Sent:
Friday, September 08, 2006 8:46 AM
To: axis-user@ws.apache.org
Subject: RE: WSDL2JAVA Using Socks V5 instead of V4. Can It Use Socks 4 Instead?

 

Ok.  I guess nobody has an answer to my problem.  Why do I always get the unsolvable ones? lol  I guess I can forget about this list server for the answer.

 

Thank you,

Larry M. Lemons

(304) 726-4809 Ext. 4505

 

 

 


From: Larry Lemons [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 07, 2006 4:40 PM
To: axis-user@ws.apache.org
Subject: RE: WSDL2JAVA Using Socks V5 instead of V4

Now I'm guessing that either nobody knows the answer, or it cannot be done.  Anyone?

 

Thank you,

Larry M. Lemons

(304) 726-4809 Ext. 4505

 

 

 


From: Larry Lemons [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 06, 2006 2:19 PM
To: axis-user@ws.apache.org
Subject: RE: WSDL2JAVA Using Socks V5 instead of V4

Well, I guess either nobody understands my question or problem, or nobody has an answer to my problem.  I am using Axis 1.2.  I do think I forgot to mention that in the original e-mail, or rather the original with this subject.

 

Thank you,

Larry M. Lemons

(304) 726-4809 Ext. 4505

 

 

 


From: Larry Lemons [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 05, 2006 11:10 AM
To: axis-user@ws.apache.org
Subject: WSDL2JAVA Using Socks V5 instead of V4

We are using WSDL2JAVA to connect to a web service and to upload a group of files to the server.  Everything works fine when the user is not behind a proxy server.  When the user is behind a proxy server, it is able to connect to the web service, but as soon as it calls a web method, it connects using a Socket, which is alright also.  The problem is, it is using SOCKS 5 instead of SOCKS 4.  When it connects using SOCKS 5, the applet requires a login to the proxy server for each SOCKS communication with the web service, which ends up being 2 plus the number of files that are uploaded.  The worst part is that the login prompt occurs right before each file is uploaded, so you cannot even just login for all the files and let it go, you have to actually sit there and wait for each prompt, otherwise it will just wait for you to login to the proxy server.  As you can imagine, if a user wanted to upload 100 files at a time, this would require a lot of time.  We were able to get the proxy server to not require a username and password, so the user could actually just click OK for the login and it would work, but it still prompts the user for a username and password regardless of the need for one or not.

 

My question is, is there a way to force the WSDL2JAVA tool to use SOCKS 4 instead of SOCKS5?

Thank you,

Larry M. Lemons

(304) 726-4809 Ext. 4505

 

 


This message, including any attachments, is the property of Sears Holdings Corporation and/or one of its subsidiaries. It is confidential and may contain proprietary or legally privileged information. If you are not the intended recipient, please delete it without reading the contents. Thank you.

Reply via email to