Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the minimum classpath for an Axis2 client?

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?

like image 354
Aaron Digulla Avatar asked Nov 26 '08 09:11

Aaron Digulla


People also ask

How to set Axis2_ HOME environment variable?

Set an environment variable AXIS2_HOME to the pathname of the extracted directory of Axis2 (Eg: /opt/axis2-1.8. 2). Linux users can alternatively run the setenv.sh file available in the AXIS2_HOME/bin directory to set the AXIS2_HOME environment variable to the Axis2 classpath.

What is Axis2 server?

The well known Apache Axis, and the the second generation of it, the Apache Axis2, are two Web Service containers that helps users to create, deploy, and run Web Services. Axis2 is avaialble in both Java as well as C, languages and details about each version can be found below.

What is OMElement Axis2?

(An OMElement is how the AXIs2 Object Model (AXIOM) represents an XML element.) Create the service descriptor, services. xml, which defines the class to be used by the service and the appropriate message receivers.

How do you consume Java SOAP Web services using Axis2 client?

All you need to do is create a new "Dynamic Web Service Project" in a RAD Workspace. Then import your wsdl file to this Project. Then, right click on that file, and select Webservices ---> Generate Client. This would allow you to configure parameters like WS Runtime which can be set to Apache Axis here.


1 Answers

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
like image 115
Late_But_May_Help_Someone Avatar answered Sep 19 '22 15:09

Late_But_May_Help_Someone