axis.jar is the core library of Apache Axis, a popular open-source SOAP (Simple Object Access Protocol) web services framework for Java.

axis.jar is rarely used alone. The usual set (Axis 1.x) includes:

| JAR | Purpose |
|---|---|
axis.jar |
Core Axis runtime |
axis-ant.jar |
Ant tasks (WSDL2Java, Java2WSDL) |
jaxrpc.jar |
JAX-RPC API implementation |
saaj.jar |
SOAP with Attachments API for Java |
wsdl4j.jar |
WSDL parsing |
commons-discovery.jar |
Service discovery |
commons-logging.jar |
Logging facade |
log4j.jar |
Logging backend |
axis.jar 1.4) — classic, JAX-RPC based, uses javax.xml.rpc; still found in legacy enterprise apps.axis2-*.jar files, not axis.jar, and is a separate project.Generate client stubs from a WSDL:
java -cp axis.jar:jaxrpc.jar:wsdl4j.jar:commons-logging.jar:commons-discovery.jar \ org.apache.axis.wsdl.WSDL2Java http://example.com/service?wsdl
Generate a WSDL from a Java class:
java -cp axis.jar:... org.apache.axis.wsdl.Java2WSDL -o service.wsdl -l http://localhost:8080/ -n urn:example com.example.MyService
Is there something specific you need — e.g., resolving a ClassNotFoundException, upgrading off Axis 1.x, or configuring WSDL2Java?
发表评论
暂时没有评论,来抢沙发吧~