Navigation
  • Home
  • Recent
  • Most Active
  • Popular
  • Blog
  • Credits
  • RSS
  •   Interaction
  • Register
  • Statistics
  •   Help
  • Suggestions
  • Contact Us
  • How to Edit
  • Help



  • [Edit]




    Apache Axis is an open source, Java and XML based Web service framework consisting of an implementation of the SOAP server, and various utilities and API's for generating and deploying Web service applications. Using Apache Axis, developers can create interoperable, distributed computing applications. Besides the Java version, a C++ implementation is also available. Axis is developed under the auspices of the Apache Software Foundation.

    There are two ways to expose Java code as webservice. 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 webservice.


        Apache Axis
            JWS Webservice creation
                JWS webservice deployment
                JWS webservice access
            Custom deployed webservice
                Automated generation of WSDL
            Related technologies
    NameApache Axis
    LogoImage:Apache Axis Logo.jpg
    DeveloperApache Software Foundation
    Latest Release Version1.4
    Latest Release DateApril 22, 2006
    Operating SystemCross-platform
    GenreWeb service
    LicenseApache License

    top

    JWS Webservice creation
    JWS files contain Java class source code that should be exposed as webservice. 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 is taken from http://ws.apache.org/axis/java/user-guide.html
      PublishingWebServicesWithAxis.
    It will expose methods add and subtract of class Calculator.

    public class Calculator

    top

    JWS webservice 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 a
    Jakarta Tomcat container. In the case that you are using another web container, custom WAR archive creation will be required.

    top

    JWS webservice access
    JWS webservice is accessible using the URL "http://localhost:8080/axis/Calculator.jws". If you are running a custom configuration of Jakarta Tomcat or a different container, the URL might be different.

    top

    Custom deployed webservice
    Custom webservice 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 webservices. Current version (1.3) supports

    top

    Automated generation of WSDL
    When a webservice is exposed using Axis it will generate a WSDL file automatically when accessing the webservice URL with ?WSDL appended to it.

    top

    Related technologies
      JWSDP - web services framework
      XINS - RPC/web services framework
     
    Search more:
     

       
    Source Privacy License Download Contact Us Atlas
    Scientus.org Dictionary (Yet Another Wiki) RC : 1.39
    This article is licensed under the GNU Free Documentation License [copyleft]. It uses material from the Wikipedia article "Apache Axis". link