Thank you, your solution worked very well! It seems that axistools
plugin processes the url elements incorrectly, I'll file a bug.

> 
> Are you sure the url
> http://localhost:8081/dvdstore/HelloWorldService?wsdl is valid? 
> 

Yup, it's valid. Just for testing purposes, but valid.

> I myself do not supply the wsdl using an url. Instead, I store the
> wsdl file in our scm, more specifically in <project
> root>/source/main/wsdl/HelloWorldService.wsdl. 
> My pom looks like: 
> 
> ... 
> <build> 
>     <plugins> 
>       <plugin> 
>         <groupId>org.codehaus.mojo</groupId> 
>         <artifactId>axistools-maven-plugin</artifactId> 
>         <configuration> 
>          <packageSpace>com.mycompany.mypackage</packageSpace> 
>         </configuration> 
>         <executions> 
>          <execution> 
>             <goals> 
>               <goal>wsdl2java</goal> 
>             </goals> 
>          </execution> 
>         </executions> 
>       </plugin> 
>     </plugins> 
>   </build> 
> ... 
> 
> Nothing more, nothing less. Is this an option for you? 
> Regards, 
> Niels 
> 

Well, I'm just evaluating possibilities, so I haven't thought this
through yet :)


> 
> 
> Martin Vysny <[EMAIL PROTECTED]> wrote on 2006-10-18 10:51:40 AM:
> 
> > Hi all,
> >   I have the following wsdl file (attachment #1). I have the
> following
> > in my pom.xml:
> > 
> > <plugin>
> >   <groupId>org.codehaus.mojo</groupId>
> >     <artifactId>axistools-maven-plugin</artifactId>
> >     <configuration>
> >     <urls>
> >
> <url>http://localhost:8081/dvdstore/HelloWorldService?wsdl</url>
> >     </urls>
> >     <packageSpace>com.company.wsdl</packageSpace>
> >     <serverSide>false</serverSide>
> >     <testCases>false</testCases>
> >     <verbose>true</verbose>
> >     <debug>true</debug>
> >     <subPackageByFileName>true</subPackageByFileName>
> > </configuration>
> >
> <executions><execution><goals><goal>wsdl2java</goal></goals></execution></executions></plugin>
> > 
> > Every time (even when I execute mvn clean package) the axistools
> plugin
> > refuses to generate sources with:
> > 
> > [INFO] [axistools:wsdl2java {execution: default}]
> > [INFO] about to add compile source root
> > [INFO] Nothing to generate. All WSDL files are up to date.
> > 
> > maven2 uses
> org.codehaus.mojo:axistools-maven-plugin:maven-plugin:1.0
> > 
> > Thanks,
> > Martin Vysny
> > 
> > ps: sorry if I am asking something well-known - I was unable to find
> > answer neither by google nor by browsing the
> > http://archive.mojo.codehaus.org/user/ archive - when you search for
> a
> > mail the mail body fails to display with "We were unable to match
> your
> > request to a message in the archive."
> > [attachment "wsdl.wsdl" deleted by Niels de 
> > Feijter/VDH/ASMB/PHILIPS] [attachment "signature.asc" deleted by 
> > Niels de Feijter/VDH/ASMB/PHILIPS] 

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to