Axis 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 messagens:articleId, ns:price
nameno-Name of the parameterarticleId, price
typeno-Qualified name of the parameter typexsd:string, ns:Order
modenoinMode of the parameterIN, OUT, INOUT
inHeadernofalseUsing this attribute an IN-parameter can be placed in the header as a header block instead of being placed in the bodytrue, false, yes, no, 1, 0
outHeadernofalseUsing this attribute an IN-parameter can be placed in the header as a header block instead of being placed in the bodytrue, false, yes, no, 1, 0

Childs

NameCardinalityDescription
documentation0...*Documentation for the parameter

Index

Provided by Orientation in Objects