Axis 1.X WSDD Reference: operation

Can be used in

service

Description

Metadata about operations can be provided with operation elements inside a service element.
<deployment xmlns="http://xml.apache.org/axis/wsdd/"
            xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
    <service name="PurchaseService" 
             provider="java:RPC"
             xmlns:ns="http://osmoticweb.com/PurchaseService/"
             xmlns:xsd="http://www.w3.org/2001/XMLSchema">
        <parameter name="className" value="com.osmoticweb.axisdemo.PurchaseService"/>
        <operation qname="ns:orderItem"
                   returnType="xsd:boolean"
                   returnQName="ns:orderItemResponse"
        />
    </service>
</deployment> 

Attributes

NameMandatoryDefaultDescriptionExamples
nameyes-

Name of the operation

getWareBasket
qnameno-

Qualified name of the element representing the operation in a SOAP message

ns:getWareBasket
returnQNameno-

Qualified name of the element containing the return of the operation in the SOAP response

ns:getWareBasketReturn
returnTypeno-

Type of return element

xsd:integer, ns:Invoice
returnHeadernofalse

If this attribute is set to true the return element of the operation is returned as header block

true, false, yes, no, 1, 0

Childs

NameCardinalityDescription
parameter0...*

Metadata about a parameter like the name or mode of a parameter

fault0...*

Description of an exception

documentation0...1

Documentation about the operation


Index

Provided by Orientation in Objects