javaee / metro-wsit

https://javaee.github.io/metro-wsit/
Other
9 stars 24 forks source link

WSA/MTOM Interop wsimport error Can't connect to SOCKS proxy:Connection refused: connect #1164

Open glassfishrobot opened 15 years ago

glassfishrobot commented 15 years ago

MTOM Intreop (interop-indigo2tango) on GVv3 w/Metro 2.0 against 3.0 endpoints on OS WinXP

systems: xtest.machine=barrida xtest.indigo.host=java11.india.sun.com

seeing error:

generate-client-from-indigo-endpoint: [wsimport] Consider using / so that wsimport won't do unnecessary compilation [wsimport] command line: wsimport C:\space\jdks\jdk1.6.0_13\jre\bin\java.exe -classpath C:\space\sjsas\stage\glassfish\modules\endorsed\webservices-api-osgi.jar;C:\space\sjsas\stage\glassfish\modules\endorsed\jaxb-api-osgi.jar;C:\space\sjsas\stage\glassfish\modules\webservices-osgi.jar;C:\space\sjsas\stage\glassfish\modules\jaxb-osgi.jar;C:\space\jdks\jdk1.6.0_13\lib\tools.jar;C:\space\test4u2\cvswork\sunsw\tango\qe-tests\mtom\interop\lib\junit.jar;C:\space\test4u2\cvswork\sunsw\tango\qe-tests\mtom\interop\config com.sun.tools.ws.WsImport -d C:\space\test4u2\cvswork\sunsw\tango\qe-tests\mtom\interop\build\classes -g -s C:\space\test4u2\cvswork\sunsw\tango\qe-tests\mtom\interop\build\src -verbose http://java11.india.sun.com/MTOM_Client_Indigo/HostedClient.svc?wsdl [wsimport] parsing WSDL...

[wsimport] [ERROR] Can't connect to SOCKS proxy:Connection refused: connect

[wsimport] Failed to read the WSDL document: http://java11.india.sun.com/MTOM_Client_Indigo/HostedClient.svc?wsdl, because 1) could not find the document; /2) the document could not be read; 3) the root element of the document is not .

[wsimport] [ERROR] failed.noservice=Could not find wsdl:service in the provided WSDL(s):

[wsimport] At least one WSDL with at least one service definition needs to be provided.

[wsimport] Failed to parse the WSDL. wsimport failed

Environment

Operating System: Windows XP Platform: All

Affected Versions

[2.0]

glassfishrobot commented 15 years ago

Reported by jbenoit@java.net

glassfishrobot commented 15 years ago

jbenoit@java.net said: Created an attachment (id=907) test4u mtom interop M->S log file

glassfishrobot commented 15 years ago

jbenoit@java.net said: Created an attachment (id=908) GF V3 domain1 server.log file

glassfishrobot commented 15 years ago

jbenoit@java.net said: Created an attachment (id=909) test4u installation/setup log file

glassfishrobot commented 15 years ago

jbenoit@java.net said: Created an attachment (id=910) test4u xtest properties log file

glassfishrobot commented 15 years ago

jbenoit@java.net said: change OS to windows xP

glassfishrobot commented 15 years ago

jbenoit@java.net said: WSA 109 Interop and WSA Interop non 109 tests against 3.0 and 3.5 endpoints also suffer same problem on windows XP box

glassfishrobot commented 15 years ago

anand_mishra@java.net said: WS-Secconv Interop module also failing with "SOCKS proxy:Connection refused: connect" against endpoint 3.0 and 3.5 endpoints

glassfishrobot commented 13 years ago

msreekanth said: Not sure if this is an issue.

Reopening it so that Rama/Jitu can comment on this.

I am trying to run WSA tests locally on my machine.I got the same error and that is how I got here.So I unset the http_proxy environment variable in the terminal I am using.But still no progress.

Then I went to System > Preferences> Network Proxy on my Ubuntu Notebook and then changed the settings to use Direct Internet Connection. Now I re-ran the test with out changing the terminal and I was able to overcome the problem.So my question is why was wsimport failing when the proxy is set?

glassfishrobot commented 13 years ago

msreekanth said: Assigning to Rama, So that I can get an understanding of why wsimport fails with that error, when the proxy is set on the machine running the test.

glassfishrobot commented 15 years ago

File: server.log Attached By: jbenoit@java.net

glassfishrobot commented 15 years ago

File: tango_qe-tests_mtom_interop-indigo2tango.log Attached By: jbenoit@java.net

glassfishrobot commented 15 years ago

File: test4u.log Attached By: jbenoit@java.net

glassfishrobot commented 15 years ago

File: xtest.properties Attached By: jbenoit@java.net

glassfishrobot commented 15 years ago

Was assigned to ramapulavarthi

glassfishrobot commented 7 years ago

This issue was imported from java.net JIRA WSIT-1164