alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Axis 2 example source code file (Test01.wsdl)

This example Axis 2 source code file (Test01.wsdl) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Axis 2 tags/keywords

add, add, addresponse, addresponse, addreturn, arg1, arg1, arg2, axis2sampledoclitport, test01, test01, test01portbinding, test01porttype, utf-8

The Axis 2 Test01.wsdl source code

<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://wsns.foo.com/axis2/test01" xmlns:typ="http://xmlns.foo.com/axis2/test01" xsi:schemaLocation="http://schemas.xmlsoap.org/wsdl/ http://www.foo.com/wsdl.xsd" targetNamespace="http://wsns.foo.com/axis2/test01" name="Test01">
    <types>
        <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://xmlns.foo.com/axis2/test01" elementFormDefault="qualified">
            <xs:element name="Add">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="Arg1" type="xs:int"/>
                        <xs:element name="Arg2" type="xs:int"/>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="AddReturn" type="xs:int"/>
        </xs:schema>
    </types>
    <message name="Add">
        <part name="params" element="typ:Add"/>
    </message>
    <message name="AddResponse">
        <part name="result" element="typ:AddReturn"/>
    </message>
    <portType name="Test01PortType">
        <operation name="Add">
            <input name="Add" message="tns:Add"/>
            <output name="AddResponse" message="tns:AddResponse"/>
        </operation>
    </portType>
    <binding name="Test01PortBinding" type="tns:Test01PortType">
        <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
        <operation name="Add">
            <soap:operation soapAction="Add" style="document"/>
            <input>
                <soap:body use="literal" namespace="http://wsns.foo.com/axis2/test01"/>
            </input>
            <output>
                <soap:body use="literal" namespace="http://wsns.foo.com/axis2/test01"/>
            </output>
        </operation>
    </binding>
    <service name="Test01">
        <port name="Axis2SampleDocLitPort" binding="tns:Test01PortBinding">
            <soap:address location="http://requiem.foo.com:8080/axis2/services/Test01"/>
        </port>
    </service>
</definitions>

Other Axis 2 examples (source code examples)

Here is a short list of links related to this Axis 2 Test01.wsdl source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.