On Thu, 20 Aug 2009, Carl Mosca wrote:
It's been a long day of travel...apparently I was right the first time.
I cannot seem to get the <configuration> in the <execution> to work. (I
thought I had commented out the <configuration> in the <plugin> when I had
not.)
What I would like to do is something like this:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>axistools-maven-plugin</artifactId>
<version>1.3</version>
<executions>
<execution>
<id>myService</id>
<configuration>
<fileName>Some.wsdl</fileName>
<location>location</location>
<classOfPortType>package.MyClass</classOfPortType>
</configuration>
<goals>
<goal>java2wsdl</goal>
</goals>
</execution>
</executions>
</plugin>
This works for me:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>axistools-maven-plugin</artifactId>
<version>1.3</version>
<configuration>
<sourceDirectory>${project.build.directory}/dependency/WEB-INF/servicesWSDL</sourceDirectory>
<typeMappingVersion>1.2</typeMappingVersion>
<wrapArrays>false</wrapArrays>
</configuration>
<executions>
<execution>
<id>ProcessFlowConfigurationWS</id>
<configuration>
<wsdlFiles>
<wsdlFile>ProcessFlowConfigurationWS.wsdl</wsdlFile>
</wsdlFiles>
<packageSpace>com.te.jpay.ws.client.processflowconfigurationws</packageSpace>
</configuration>
<goals>
<goal>wsdl2java</goal>
</goals>
</execution>
<execution>
<id>PropayProcessingsConfigurationWS</id>
<configuration>
<wsdlFiles>
<wsdlFile>PropayProcessingsConfigurationWS.wsdl</wsdlFile>
</wsdlFiles>
<packageSpace>com.te.jpay.ws.client.propayprocessingsconfigurationws</packageSpace>
</configuration>
<goals>
<goal>wsdl2java</goal>
</goals>
</execution>
--
David J. M. Karlsen - +47 90 68 22 43
http://www.davidkarlsen.com
http://mp3.davidkarlsen.com
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email