Skip to main content
Skip table of contents

<type>

This element describes a "type". It is a container for one or more <element> elements.

parents

<types>

children

<element>[1:∞]

Attributes

Attribute

Data Type

Usage

Default Value

Description

name

xsd:NCName

required

none

The type name. Must be unique within <types>.

size

xsd:positiveInteger

required

none

The size of the type in bytes.

ddlObject

xsd:token

optional

none

Reserved for use by the Service Definition Wizard. Do not modify the contents of this attribute.

stringPadding

xsd:token

optional

zeros

Controls the way <element type="string" ...> are treated. Sets the default for <element> members of this <type> used by this server. Valid values are "zeros" and "spaces". See Remarks for the <element> element for more information.

encoding

xsd:NCName

optional


Indicates the default character encoding that should be used when serializing/deserializing child elements to/from the SOAP envelope. If omitted, the default encoding is the server's default encoding which is typically ISO-8859-1. This value may be altered by Server startup options. A list of available encoding names can be found in Character Encoding Names.

Example

XML
<types>
   <type name="MyRequestMessage" size="14">    
       <element name="RequestCode" type="short" offset="0" size="2"/>
       <element name="MyDataItem" type="string" offset="2" size="12"/>
   </type>
   <type name="MyReplyMessage" size="10">
       <element name="ReplyCode" type="short" offset="0" size="2"/>
       <element name="MyDataItem" type="double" offset="2" size="8"/>
   </type>
</types>


JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.