What's the minimum classpath for an Axis2 client?

Aaron Digulla picture Aaron Digulla · Nov 26, 2008 · Viewed 33.3k times · Source

I want to build an Axis2 client (I'm only accessing a remote web service, I'm not implementing one!) with Maven2 and I don't want to add 21MB of JARs to my project. What do I have to put in my pom.xml to compile the code when I've converted the WSDL with ADB?

Answer

Late_But_May_Help_Someone picture Late_But_May_Help_Someone · Aug 27, 2010

The minimum jars for the client are:

  • activation-1.1.jar
  • axiom-api-1.2.8.jar
  • axiom-impl-1.2.8.jar
  • axis2-adb-1.5.1.jar
  • axis2-kernel-1.5.1.jar
  • axis2-transport-http-1.5.1.jar
  • axis2-transport-local-1.5.1.jar
  • commons-codec-1.3.jar
  • commons-httpclient-3.1.jar
  • commons-logging-1.1.1.jar
  • httpcore-4.0.jar
  • mail-1.4.jar
  • neethi-2.0.4.jar
  • wsdl4j-1.6.2.jar
  • XmlSchema-1.4.3.jar

STAX jars below are not part of Axis2 1.5.1 release and will be needed if your JDK version is less than 6:

  • stax-1.2.0.jar
  • stax-api-1.0.1.jar