[
http://jira.codehaus.org/browse/MOJO-600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_87552
]
Immo Huneke commented on MOJO-600:
----------------------------------
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?!
> wsdl2java does not work under unix (when useEmitter is true)
> ------------------------------------------------------------
>
> Key: MOJO-600
> URL: http://jira.codehaus.org/browse/MOJO-600
> Project: Mojo
> Issue Type: Bug
> Components: axistools
> Environment: Mac OS X, java 1.5.0_06, axistools 1.1-20061007.142847-4
> Reporter: Peter Wyngaard
> Attachments: patch
>
>
> wsdl2java did not work for me under Mac OS X. I think that File.toURL() is
> supposedly a more portable solution than "file:///" + File.getAbsolutePath().
> The attached patch changes one line in wsdl2java/DefaultWSDL2JavaPlugin.java
> This patch has not been tested on any other platform besides Mac OS X.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email