Axis 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 operationgetWareBasket
qnameno-Qualified name of the element representing the operation in a SOAP messagens:getWareBasket
returnQNameno-Qualified name of the element containing the return of the operation in the SOAP responsens:getWareBasketReturn
returnTypeno-Type of return elementxsd:integer, ns:Invoice
returnHeadernofalseIf this attribute is set to true the return element of the operation is returned as header blocktrue, 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...1Documentation about the operation

Index

Provided by Orientation in Objects