dev@jax-ws.java.net

Re: A question about using <goal>wsimport</goal>

From: Rama Pulavarthi <Rama.Pulavarthi_at_Sun.COM>
Date: Mon, 17 Nov 2008 10:44:29 -0800

Hi,
You can definitely run wsimport with a local wsdl.
Try using wsdlDirectory and wsdlFiles parameters as described here at
https://jax-ws-commons.dev.java.net/jaxws-maven-plugin/wsimport-mojo.html

thanks,
Rama Pulavarthi


thomas2004 wrote:
> Hi all,
>
> I use the following codes in my "pom.xml" to create the java files:
>
> *******
> <plugin>
> <groupId>org.codehaus.mojo</groupId>
> <artifactId>jaxws-maven-plugin</artifactId>
> <executions>
> <execution>
> <goals>
> <goal>wsimport</goal>
> </goals>
> <configuration>
> <wsdlUrls>
>
> <wsdlUrl>http://localhost:8080/mq-monitoring-ws/mqmonitoringws?wsdl</wsdlUrl>
> </wsdlUrls>
> <packageName>de.proactiv.mq.monitoring.stub</packageName>
> </configuration>
> </execution>
> </executions>
> </plugin>
> ****
>
> The disadvantage of this usage is: the web service must be running. Is it
> possible instead using the <wsdlUrl/> but using the .wsdl file?
>
>
>