eclipse-ee4j / eclipse-ee4j/metro-wsit

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

Open
#283 0 comments 0 reactions 0 assignees View on GitHub
Component: tests ERR: Assignee Priority: Critical Type: Bug
Dominant language
Java
Stars
6
Forks
21
Avg merge
10h 2m
Merged PRs (30d)
1

Description

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](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](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]

Source: [https://github.com/javaee/metro-wsit/issues/1164](https://github.com/javaee/metro-wsit/issues/1164)
Author: glassfishrobot

Contributor guide

Open the contributing guide

Research direction

Start with the generate-client-from-indigo-endpoint Ant target and reproduce the shown wsimport command against the HostedClient.svc?wsdl URL. Inspect how wsimport obtains the WSDL and handles SOCKS proxy settings, then verify that the interop client generation succeeds without the connection-refused failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
networking, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.