langlois yan wrote on Friday, September 29, 2006 8:45 AM:

> When I use the file://c:/dir/file.wsdl I have this error message :
> 
> [INFO] Executing tasks
>      [echo] Tache Generation sources
> [INFO] Executed tasks
> [INFO] Registering compile source root
> D:\dev\croisic\configurationEquipements\croisic-webapplication
> \target\generated-sources\main\java
> [INFO] [axistools:wsdl2java {execution: default}]
> [INFO] about to add compile source root
> [INFO]
> --------------------------------------------------------------
> ----------
> [ERROR] BUILD ERROR
> [INFO]
> --------------------------------------------------------------
> ----------
> [INFO] error executing plugin
> 
> Embedded error: unable to download WSDL file from
> file://D:\dev\croisic\configurationEquipements\croisic-webappl
> ication/src\main\webapp\WEB-INF\wsdl\oc2e.wsdl to
> D:\dev\croisic\configurationEquipements\croisic-webapplication
> \target\axistools\wsdl2java\urlDownloads\file---D--dev-croisic
> -configurationEquipements-croisic-webapplication-src-main-weba
> pp-WEB-INF-wsdl-oc2e.wsdl. Reason: java.net.UnknownHostException: D
> [INFO] 
> --------------------------------------------------------------
> ----------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: error
> executing plugin 

Right, it's not a proper URL!

Either:

file://localhost/c:/dir/file.wsdl

or short form:

file:///c:/dir/file.wsdl

- Jörg

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to