maven axis2 build

Mike Barnes <[email protected]> Fri, 9 May 2014 09:47:50 -0400
Newsgroups gmane.org.user-groups.ajug.members
Message-ID <CAJepgNf-6ny_9EnoC87tP0aB-H1=Y+gPD8BRonxYRwv5jvFLbA@mail.gmail.com>
I need some help with build web service clients using maven 2 and axis2.

Basically, I have a situation where I need to incorporate several WSDL's
into a single jar/aar using maven.

Below is an example of what I am trying to do.

=======================================================================

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>aero.nettracer</groupId>
<artifactId>NTService</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>
<artifactId>Navitaire</artifactId>
<build>
<plugins>
<plugin>
<groupId>org.apache.axis2</groupId>
<artifactId>axis2-wsdl2code-maven-plugin</artifactId>
<version>1.4</version>
<executions>
<execution>
<goals>
<goal>wsdl2code</goal>
</goals>
</execution>
</executions>
<configuration>
<packageName>org.tempuri</packageName>
<wsdlFile>${basedir}/src/main/resources/NavitaireBookingManager.wsdl</wsdlFile>
<databindingName>xmlbeans</databindingName>
<generateServerSide>true</generateServerSide>
<generateServicesXml>true</generateServicesXml>
<generateAllClasses>true</generateAllClasses>
<skipBuildXML>true</skipBuildXML>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.axis2</groupId>
<artifactId>axis2-wsdl2code-maven-plugin</artifactId>
<version>1.4</version>
<executions>
<execution>
<goals>
<goal>wsdl2code</goal>
</goals>
</execution>
</executions>
<configuration>
<packageName>org.tempuri</packageName>
<wsdlFile>${basedir}/src/main/resources/NavitaireSessionManager.wsdl</wsdlFile>
<databindingName>xmlbeans</databindingName>
<generateServerSide>true</generateServerSide>
<generateServicesXml>true</generateServicesXml>
<generateAllClasses>true</generateAllClasses>
<skipBuildXML>true</skipBuildXML>
</configuration>
</plugin>
</plugins>
</build>
</project>

=============================================================================

Thanks
Mike

_______________________________________________
ajug-members mailing list
[email protected]
http://lists.ajug.org/mailman/listinfo/ajug-members