Axis2 clients dependencies conflicts with CXF service dependencies

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Axis2 clients dependencies conflicts with CXF service dependencies

saminda konkaduwa
Hi all,

I am writing web service clients using Axis2 1.6.2 for the CXF services located in same project. Hence i have one Maven POM file. Now CXF dependencies and Axis2 dependencies are conflicting. It is really appreciate if anyone can explain to exclude axis2 conflicting dependencies. I used Axis2 client stub as it generate single file rather than CXF clients stub generates multiple java types.

                <dependency>
                        <groupId>org.apache.cxf</groupId>
                        <artifactId>cxf-rt-frontend-jaxws</artifactId>
                        <version>${apache-cfx-version}</version>
                </dependency>
                <dependency>
                        <groupId>org.apache.cxf</groupId>
                        <artifactId>cxf-rt-transports-http</artifactId>
                        <version>${apache-cfx-version}</version>
                </dependency>
                <dependency>
                        <groupId>org.apache.cxf</groupId>
                        <artifactId>cxf-rt-transports-http</artifactId>
                        <version>${apache-cfx-version}</version>
                </dependency>
               <dependency>
                      <groupId>org.apache.axis2</groupId>
                      <artifactId>axis2-kernel</artifactId>
                      <version>1.6.2</version>
              </dependency>
               <dependency>
                      <groupId>org.apache.axis2</groupId>
                      <artifactId>axis2-kernel</artifactId>
                      <version>1.6.2</version>
              </dependency>
               <dependency>
                      <groupId>org.apache.axis2</groupId>
                      <artifactId>axis2-kernel</artifactId>
                      <version>1.6.2</version>
              </dependency>
               <dependency>
                     <groupId>org.apache.axis2</groupId>
                     <artifactId>axis2-adb</artifactId>
                     <version>1.6.2</version>
               </dependency>
               <dependency>
                    <groupId>org.apache.axis2</groupId>
                    <artifactId>axis2-java2wsdl</artifactId>
                    <version>1.6.2</version>
                </dependency>
                <dependency>
                        <groupId>javax.jws</groupId>
                        <artifactId>jsr181-api</artifactId>
                        <version>1.0-MR1</version>
                </dependency>

Thanks
saminda konkaduwa
Loading...