<initializer> element

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

<initializer> element

Previous pageReturn to chapter overviewNext page

This element specifies default values for request interprocess message elements. This allows you set values in the request interprocess message that will not be supplied though method parameters or override that values specified in the request parameters.

 

parents

initializers

children

 

Attributes

attribute name

data type

usage

default value

description

 

element

xsd:NCName

required

 

The name of the element to initialize. It must be a child of the type specified by the type attribute of the initializer's parent <request>. It may include a path if it refers to a sub element.

 

value

xsd:anySimpleType

required

 

The value of the element. It must be appropriate to the type of the specified element. If element's type is "integer", value must be an integer value.

 

assert

xsd:positiveInteger

optional

0

If 1, indicates that the element should be initialized with the value, overriding any value supplied in the method parameters.

Remarks

None.

Example

<initializers>

   <initializer element="RequestCode" value="1"/>

</initializers>