<parameter> element

SOAP/AM Server Development > Service Definition File Reference > Schema Reference >

<parameter> element

Previous pageReturn to chapter overviewNext page

This element represents a method parameter, either input or output (or both).

 

parents

parameters

children

 

Attributes

attribute name

data type

usage

default value

description

 

direction

xsd:token

required

 

The direction in which the parameter travels in the SOAP envelope. Must be one of: "in", "in/out" or "out". If "in", you must define a mapping> to an element of the request message. If "out", you must define a <mapping> from an element of the reply message. If "in/out", you must define both mappings.

 

name

xsd:NCName

required

 

The parameter name; corresponds to the parameter name in the SOAP envelope and the "name" attribute of a <mapping> element. It must be unique within <parameters> and <headers>.

 

type

xsd:NCName

required

 

The type of data for this parameter. It may be one of the built-in types or a <type> defined in <types>.

 

maxOccurs

xsd:positiveInteger

optional

1

If the parameter represents an array, the maximum number of occurrences.