tSoapParamDef
See Also: Declaring Variables, Struct, Integer, String, Handle
Purpose
tSoapParamDef is a structured type used in web services.
Type Declaration
Struct tSoapParamDef
String sName
String sNamespace
Integer eType
Handle hoStruct
Integer iMin
Integer iMax
End_Struct
Struct Members
sName
The parameter SOAP name used by XML.
sNamespace
The parameter SOAP namespace URI used by XML.
eType
Represents the mapping of SOAP data types to DataFlex data types. Possible values are:
| Constant | Meaning |
|---|---|
| xsString | String |
| xsNumber | Number |
| xsDate | Date |
| xsInteger | Integer |
| xsBigInt | BigInt |
| xsReal | Real |
| xsBoolean | Boolean |
| xsTime | Time |
| xsDatetime | DateTime |
| xsFloat | Float |
| xsChar | Char |
| xsShort | Short |
| xsUShort | UShort |
| xsUInteger | UInteger |
| xsUBigInt | UBigInt |
| xsCurrency | Currency |
| xsDecimal | Decimal |
| xsAnyType | XML parameter without the wrapper |
| xsXmlElement | XML including the wrapper |
hoStruct
If eType=xsStruct, this is a pointer to the cSoapMetaStruct object that defines the struct.
iMin
Minimum number of occurrences of the parameter. 0 or 1.
iMax
Maximum number of occurrences of the parameter. 1-C_Unbounded.
Syntax
Use cClientWebService.pkg
:
tSoapParamDef {variableName}
Declaring Variables
To declare tSoapParamDef variables, use the name of the type (tSoapParamDef) followed by the variable name.
tSoapParamDef MySoapParamDef
See struct variables for more details on instantiating struct types.