I get the same problem when using WSDL2JAVA under Linux (RHEL3). The report is:
...
about to add compile source root
processing wsdl: /home/sh_icc_dev/tools/TeamCity/buildAgent/buildagent1/ICC_Infra/logonservice/src/main/wsdl/lws-service.wsdl
mappings size : 2
mapping [namespace : https://jeep-logonws.ldn.swissbank.com:2011/LogonWS/wsdl/Logon-service.wsdl, targetPackage icc.infra.base.security.axis.logonservice, namespace : http://www.logon.com/definitions/LogonRemoteInterface, targetPackage icc.infra.base.security.axis.logonservice]
mapping [namespace : https://jeep-logonws.ldn.swissbank.com:2011/LogonWS/wsdl/Logon-service.wsdl, targetPackage icc.infra.base.security.axis.logonservice, namespace : http://www.logon.com/definitions/LogonRemoteInterface, targetPackage icc.infra.base.security.axis.logonservice]
mappingMap size : 2
wsdlUrl.toExternalForm() file://home/sh_icc_dev/tools/TeamCity/buildAgent/buildagent1/ICC_Infra/logonservice/src/main/wsdl/lws-service.wsdl
------------------------------------------------------------------------
BUILD ERROR
------------------------------------------------------------------------
error executing plugin
Embedded error: WSDL2Java execution failed
WSDL2Java emitter timed out (this often means the WSDL at the specified URL is inaccessible)!
------------------------------------------------------------------------
Trace
...
Caused by: org.codehaus.mojo.axistools.axis.AxisPluginException: error running file://home/sh_icc_dev/tools/TeamCity/buildAgent/buildagent1/ICC_Infra/logonservice/src/main/wsdl/lws-service.wsdl
at org.codehaus.mojo.axistools.wsdl2java.DefaultWSDL2JavaPlugin.runEmitter(DefaultWSDL2JavaPlugin.java:849)
at org.codehaus.mojo.axistools.wsdl2java.DefaultWSDL2JavaPlugin.execute(DefaultWSDL2JavaPlugin.java:297)
... 13 more
Caused by: java.io.IOException: WSDL2Java emitter timed out (this often means the WSDL at the specified URL is inaccessible)!
at org.apache.axis.wsdl.gen.Parser.run(Parser.java:320)
at org.apache.axis.wsdl.toJava.Emitter.run(Emitter.java:599)
at org.codehaus.mojo.axistools.wsdl2java.DefaultWSDL2JavaPlugin.runEmitter(DefaultWSDL2JavaPlugin.java:845)
... 14 more
What puzzles me is how this could EVER have worked for any Linux / Unix / Mac OS user. The plugin works fine under Windows, so is that the only environment under which it is tested?!
I get the same problem when using WSDL2JAVA under Linux (RHEL3). The report is:
...
about to add compile source root
processing wsdl: /home/sh_icc_dev/tools/TeamCity/buildAgent/buildagent1/ICC_Infra/logonservice/src/main/wsdl/lws-service.wsdl
mappings size : 2
mapping [namespace : https://jeep-logonws.ldn.swissbank.com:2011/LogonWS/wsdl/Logon-service.wsdl, targetPackage icc.infra.base.security.axis.logonservice, namespace : http://www.logon.com/definitions/LogonRemoteInterface, targetPackage icc.infra.base.security.axis.logonservice]
mapping [namespace : https://jeep-logonws.ldn.swissbank.com:2011/LogonWS/wsdl/Logon-service.wsdl, targetPackage icc.infra.base.security.axis.logonservice, namespace : http://www.logon.com/definitions/LogonRemoteInterface, targetPackage icc.infra.base.security.axis.logonservice]
mappingMap size : 2
wsdlUrl.toExternalForm() file://home/sh_icc_dev/tools/TeamCity/buildAgent/buildagent1/ICC_Infra/logonservice/src/main/wsdl/lws-service.wsdl
------------------------------------------------------------------------
BUILD ERROR
------------------------------------------------------------------------
error executing plugin
Embedded error: WSDL2Java execution failed
WSDL2Java emitter timed out (this often means the WSDL at the specified URL is inaccessible)!
------------------------------------------------------------------------
Trace
...
Caused by: org.codehaus.mojo.axistools.axis.AxisPluginException: error running file://home/sh_icc_dev/tools/TeamCity/buildAgent/buildagent1/ICC_Infra/logonservice/src/main/wsdl/lws-service.wsdl
at org.codehaus.mojo.axistools.wsdl2java.DefaultWSDL2JavaPlugin.runEmitter(DefaultWSDL2JavaPlugin.java:849)
at org.codehaus.mojo.axistools.wsdl2java.DefaultWSDL2JavaPlugin.execute(DefaultWSDL2JavaPlugin.java:297)
... 13 more
Caused by: java.io.IOException: WSDL2Java emitter timed out (this often means the WSDL at the specified URL is inaccessible)!
at org.apache.axis.wsdl.gen.Parser.run(Parser.java:320)
at org.apache.axis.wsdl.toJava.Emitter.run(Emitter.java:599)
at org.codehaus.mojo.axistools.wsdl2java.DefaultWSDL2JavaPlugin.runEmitter(DefaultWSDL2JavaPlugin.java:845)
... 14 more
What puzzles me is how this could EVER have worked for any Linux / Unix / Mac OS user. The plugin works fine under Windows, so is that the only environment under which it is tested?!