You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by langlois yan <la...@yahoo.fr> on 2006/09/29 08:44:38 UTC
Re : Axistool WSDL -> JAVA
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-webapplication/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-webapp-WEB-INF-wsdl-oc2e.wsdl. Reason: java.net.UnknownHostException: D
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: error executing plugin
----- Message d'origine ----
De : Wayne Fay <wa...@gmail.com>
À : Maven Users List <us...@maven.apache.org>
Envoyé le : Vendredi, 29 Septembre 2006, 5h26mn 43s
Objet : Re: Axistool WSDL -> JAVA
You can also easily set up a simple Apache webserver on your local
box, point it at your project directory, and poof instant
http-accessible url for your file.
Not saying this is necessarily ideal, but it would certainly work in
the short term while you try to find another solution/work-around etc.
Wayne
On 9/28/06, dan tran <da...@gmail.com> wrote:
> if you already have a file, why not the plugin uses directly via
> sourceDirectory
>
> But i dont see any problem using file://c:/dir/file.wsdl approach
>
> -D
>
>
> On 9/28/06, langlois yan <la...@yahoo.fr> wrote:
> >
> > Hi,
> >
> > Is it possible to use this plugin with url like : file://C:\my-wsdl.wsldinstead of using the http protocol ? I mean :
> > <project>
> > ...
> > <build>
> > <plugins>
> > <plugin>
> > <groupId>org.codehaus.mojo</groupId>
> > <artifactId>axistools-maven-plugin</artifactId>
> > <configuration>
> > <urls>
> > <url>file://C:\my-wsdl.wsld</url>
> > </urls>
> > ...
> > </project>
> > instead of :
> >
> > <project>
> > ...
> > <build>
> > <plugins>
> > <plugin>
> > <groupId>org.codehaus.mojo</groupId>
> > <artifactId>axistools-maven-plugin</artifactId>
> > <configuration>
> > <urls>
> > http://host/server/sample.wsdl
> > </urls>
> > ...
> > </project> Thanx, Yan.
> >
> >
> >
> >
> >
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re : Re : Axistool WSDL -> JAVA
Posted by langlois yan <la...@yahoo.fr>.
Sorry I sent this email too soon,
Anyone as an idea why my WSDL file cannot be downloaded ? here is my pom :
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>axistools-maven-plugin</artifactId>
<configuration>
<urls>
<url>file://${project.basedir}/.../file.wsdl</url>
</urls>
<testCases>false</testCases>
<serverSide>false</serverSide>
<verbose>true</verbose>
<subPackageByFileName>true</subPackageByFileName>
</configuration>
<executions>
<execution>
<goals>
<goal>wsdl2java</goal>
</goals>
</execution>
</executions>
</plugin>
Thanx for your advise Wayne, I already use this methode and I am looking for a solution/work-around (sorry I should have mentioned it). I would like to use maven without any other "extra-application".
Yan.
----- Message d'origine ----
De : langlois yan <la...@yahoo.fr>
À : Maven Users List <us...@maven.apache.org>
Envoyé le : Vendredi, 29 Septembre 2006, 8h44mn 38s
Objet : Re : Axistool WSDL -> JAVA
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-webapplication/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-webapp-WEB-INF-wsdl-oc2e.wsdl. Reason: java.net.UnknownHostException: D
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: error executing plugin
----- Message d'origine ----
De : Wayne Fay <wa...@gmail.com>
À : Maven Users List <us...@maven.apache.org>
Envoyé le : Vendredi, 29 Septembre 2006, 5h26mn 43s
Objet : Re: Axistool WSDL -> JAVA
You can also easily set up a simple Apache webserver on your local
box, point it at your project directory, and poof instant
http-accessible url for your file.
Not saying this is necessarily ideal, but it would certainly work in
the short term while you try to find another solution/work-around etc.
Wayne
On 9/28/06, dan tran <da...@gmail.com> wrote:
> if you already have a file, why not the plugin uses directly via
> sourceDirectory
>
> But i dont see any problem using file://c:/dir/file.wsdl approach
>
> -D
>
>
> On 9/28/06, langlois yan <la...@yahoo.fr> wrote:
> >
> > Hi,
> >
> > Is it possible to use this plugin with url like : file://C:\my-wsdl.wsldinstead of using the http protocol ? I mean :
> > <project>
> > ...
> > <build>
> > <plugins>
> > <plugin>
> > <groupId>org.codehaus.mojo</groupId>
> > <artifactId>axistools-maven-plugin</artifactId>
> > <configuration>
> > <urls>
> > <url>file://C:\my-wsdl.wsld</url>
> > </urls>
> > ...
> > </project>
> > instead of :
> >
> > <project>
> > ...
> > <build>
> > <plugins>
> > <plugin>
> > <groupId>org.codehaus.mojo</groupId>
> > <artifactId>axistools-maven-plugin</artifactId>
> > <configuration>
> > <urls>
> > http://host/server/sample.wsdl
> > </urls>
> > ...
> > </project> Thanx, Yan.
> >
> >
> >
> >
> >
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org