Axis 1.X WSDD Reference: parameter

Can be used in

globalConfiguration, handler, operation, handlerInfo, transport

Description

In the following deployment descriptor, the parameters articleId and quantity are described using parameter elements. By contrast, the parameter element that is a direct child of service is used to configure the service with a name/value pair.
<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">
        <parameter qname="ns:articleId" type="xsd:string" mode="IN"/>
        <parameter qname="ns:quantity" type="xsd:integer" mode="IN"/>
    </operation>
</service>

Attributes

NameMandatoryDefaultDescriptionExamples
qnameno-

Qualified name of the XML element containing the parameter value in a SOAP message

ns:articleId, ns:price
nameno-

Name of the parameter

articleId, price
typeno-

Qualified name of the parameter type

xsd:string, ns:Order
modenoin

Mode of the parameter

IN, OUT, INOUT
inHeadernofalse

Using this attribute an IN-parameter can be placed in the header as a header block instead of being placed in the body

true, false, yes, no, 1, 0
outHeadernofalse

Using this attribute an IN-parameter can be placed in the header as a header block instead of being placed in the body

true, false, yes, no, 1, 0

Childs

NameCardinalityDescription
documentation0...*

Documentation for the parameter


Index

Provided by Orientation in Objects