Dependencies for Axis2 1.5.1 generated stubs
I have server side java stubs generated with wsdl2java from axis2 1.5.1. I'm trying to integrate these stubs into a grander application, but I have time to reduce the dependencies of axis2 1.5.1.
I'm using Maven2 to manage dependencies. At the moment I am downloading most of the dependencies from the local library directory with all the jar / zip / ... files for the various dependencies. I have it all built into eclipse so I can see when dependencies are resolved or not in code.
The only jar files I could find on the axis2 site were: axis2-1.2.jar and various other packages of the same version. I gave this jar file and it fixed a lot of errors, but many still remain (org.apache.axis2.databinding has some unresolved links as well as org.apache.axiom).
I also tried using ax2 1.5.1 pom but never seems to resolve one line of dependent code.
Can anyone help point me in the right direction?
a source to share
I've never used Maven to generate Axis2 server-side code. The web services (.aar files) created for Axis2 are intended to be deployed in the "services" subdirectory of the Axis2 web application. Then each service will use the jars that exist in the web application class loader.
The Axis2 project is built using ANT, meaning it only has bucket support (modular jars are published in the Maven central hub). Version 1.5 has modified these modules to display different logical jar groups.
If it helps, here is a Groovy client that uses Axis2 maven banners.
a source to share
We are deploying axis2 web services, but we are not using maven. Below is the set of files that we use for packaging. It contains all the jars that need to be started with the generated pivot pitch. All of these cans come with a 2-axis distribution.
<fileset id="axis2.server.fileset" dir="${dir.common.lib}/axis2">
<include name="axis2-kernel-1.5.1.jar" />
<include name="axis2-transport-http-1.5.1.jar" />
<include name="axis2-transport-local-1.5.1.jar" />
<include name="httpcore-4.0.jar" />
<include name="axiom-api-1.2.8.jar" />
<include name="axiom-impl-1.2.8.jar" />
<include name="neethi-2.0.4.jar" />
<include name="woden-api-1.0M8.jar" />
<include name="XmlSchema-1.4.3.jar" />
<include name="axis2-jaxws-1.5.1.jar" />
<include name="axis2-adb-1.5.1.jar" />
<include name="wsdl4j-1.6.2.jar" />
</fileset>
a source to share