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 <[EMAIL PROTECTED]>
À : Maven Users List <[email protected]>
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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





Reply via email to