Apache Axis

Short description: Web service framework

Apache Axis

Developer(s)| Apache Software Foundation
Stable release|

1.4 / April 22, 2006; 20 years ago (2006-04-22)

Written in| C++, Java
Operating system| Cross-platform
Type| Web service
License| Apache License 2.0
Website| axis.apache.org

Apache Axis (Apache eXtensible Interaction System) is an open-source, XML based Web service framework. It consists of a Java and a C++ implementation of the SOAP server, and various utilities and APIs for generating and deploying Web service applications. Using Apache Axis, developers can create interoperable, distributed computing applications. Axis development takes place under the auspices of the Apache Software Foundation.

## Contents

* 1 Axis for Java
* 1.1 JWS Web service creation
* 1.1.1 JWS Web service deployment
* 1.1.2 JWS Web service access
* 1.2 Custom deployed Web service
* 1.2.1 Automated generation of WSDL
* 2 Related technologies
* 3 References
* 4 External links

## Axis for Java

When using the Java version of Axis, there are two ways to expose Java code as Web service. The easiest one is to use Axis native JWS (Java Web Service) files. Another way is to use custom deployment. Custom deployment enables you to customize resources that should be exposed as Web services.

See also Apache Axis2.

### JWS Web service creation

JWS files contain Java class source code that should be exposed as Web service. The main difference between an ordinary java file and jws file is the file extension. Another difference is that jws files are deployed as source code and not compiled class files.

The following example will expose methods add and subtract of class Calculator.[1]

public class Calculator

public int add(int i1, int i2)

return i1 + i2;

public int subtract(int i1, int i2)

return i1 - i2;

#### JWS Web service deployment

Once the Axis servlet is deployed, you need only to copy the jws file to the Axis directory on the server. This will work if you are using an Apache Tomcat container. In the case that you are using another web container, custom WAR archive creation will be required.

#### JWS Web service access

JWS Web service is accessible using the URL http://localhost:8080/axis/Calculator.jws. If you are running a custom configuration of Apache Tomcat or a different container, the URL might be different.[2]

### Custom deployed Web service

Custom Web service deployment requires a specific deployment descriptor called WSDD (Web Service Deployment Descriptor) syntax. It can be used to specify resources that should be exposed as Web services. Current version (1.3) supports

* RPC services
* EJB - stateless (Enterprise Java Bean)

#### Automated generation of WSDL

When a Web service is exposed using Axis, it will generate a WSDL file automatically when accessing the Web service URL with ?WSDL appended to it.

## Related technologies

* Apache Axis2 \- re-design/write of Axis
* Java Web Services Development Pack \- web services framework
* Apache CXF \- other Apache web services framework (old XFire & Celtix)
* XML Interface for Network Services \- RPC/web services framework
* Web Services Invocation Framework \- Java API for invoking Web services
* webMethods Glue - commercial web services enabling product

## References

1. ↑ "Apache Axis – User's Guide" (in en). http://axis.apache.org/axis/java/user-guide.html#Publishing_Web_Services_with_Axis.
2. ↑ "Apache Axis2 – ADB - Howto". https://axis.apache.org/axis2/java/core/docs/adb/adb-howto.html.

## External links

* Apache Axis Homepage at the Apache Software Foundation

* v
* t
* e

Apache Software Foundation

Top-level
projects|

* Accumulo
* ActiveMQ
* Airflow
* Ambari
* Ant
* Apex
* Aries
* Apache HTTP Server
* APR
* Avro
* Axis
* Axis2
* Beam
* Bloodhound
* Brooklyn
* Buildr
* Calcite
* Camel
* CarbonData
* Cassandra
* Cayenne
* Chemistry
* CloudStack
* Cocoon
* Cordova
* CouchDB
* cTAKES
* CXF
* Derby
* Directory
* Drill
* Empire-db
* Felix
* Flex
* Flink
* Flume
* Forrest
* Geronimo
* Giraph
* Gump
* Hadoop
* Hama
* HBase
* Helix
* Hive
* Impala
* Jackrabbit
* James
* Jini
* JMeter
* Kafka
* Karaf
* Kudu
* Kylin
* Lucene
* Mahout
* Marmotta
* Maven
* MINA
* mod perl
* MyFaces
* NetBeans
* Nutch
* ODE
* OFBiz
* Oozie
* OpenEJB
* OpenJPA
* OpenNLP
* OрenOffice
* ORC
* PDFBox
* Parquet
* Phoenix
* POI
* Pig
* Pivot
* Qpid
* Roller
* RocketMQ
* Samza
* ServiceMix
* Shiro
* SINGA
* Sling
* Solr
* Spark
* Stanbol
* Storm
* SpamAssassin
* Sqoop
* Struts 1
* Struts 2
* Subversion
* SystemML
* Tapestry
* Thrift
* Tika
* Tomcat
* Trafodion
* Traffic Server
* UIMA
* Velocity
* Wicket
* Xalan
* Xerces
* Yetus
* ZooKeeper

Commons|

* BCEL
* BSF
* Daemon
* Jelly
* Logging

Incubator|

* MXNet
* Taverna
* XAP

Other projects|

* Batik
* Chainsaw
* FOP
* Ivy
* Log4j

Attic|

* Abdera
* AxKit
* Beehive
* Bluesky
* iBATIS
* Cactus
* Click
* Continuum
* Deltacloud
* Etch
* Excalibur
* Harmony
* HiveMind
* Jakarta
* Lenya
* Shale
* Shindig
* Slide
* stdcxx
* Tuscany
* Wave
* Wink
* XMLBeans

Licenses|

* Apache License

* Category

0.00

(0 votes)

Original source: https://en.wikipedia.org/wiki/Apache Axis. Read more

|

Retrieved from "https://handwiki.org/wiki/index.php?title=Software:Apache_Axis&oldid=747534"
*[v]: View this template
*[t]: Discuss this template
*[e]: Edit this template