|
|
|
|
- Overview
- Type of parameter passed to a procedure run on a SOAP server
- Type of parameter
The SOAP structure
Not available
To pass parameters to a procedure run on a SOAP server, WINDEV and WEBDEV are using the following structure: | | | Variable | Type | Details |
---|
SOAP.NameSpace | Optional character string | "NameSpace" of parameter | SOAP.Name | Character string | Parameter name | SOAP.XMLParam | Optional character string | Structures of a parameter expressed in XML format. The other parameters (Value, Name, Type, NameSpace and EncodingStyle) are ignored if this parameter is specified. | SOAP.EncodingStyle | Optional character string | Encoding style of parameter | SOAP.Type | Constant | Type of parameter | SOAP.Value | Any type | Value of parameter The SOAP.Value variable is ignored if the SOAP.ExtendedValue is used.
For a character string (Unicode string or string used in WINDEV Mobile): This string is automatically converted into ANSI format when it is sent.
Binary string: To transmit a binary string, use the SOAP.ExtendedValue variable.
| SOAP.ExtendedValue | Any type | Parameter value
For a character string (Unicode string or string used in WINDEV Mobile): This string is not modified when it is sent. No conversion is performed.
Useful when a character string in UNICODE format must be transmitted for instance. |
This structure must be used for each parameter. For example:
SOAP.Value[1] = 94010 SOAP.Name[1] = "ZipCode" SOAP.Type[1] = SOAPStringType
This structure is equivalent to:
SOAP.XMLParam[1] = <ZipCode xsi:type="xsd:string">94010</ZipCode>
Type of parameter passed to a procedure run on a SOAP server Type of parameter The type of parameter can be: | | Constant | Type |
---|
SOAPBase64BinaryType | Binary | SOAPHexBinaryType | Hexadecimal binary | SOAPBooleanType | Boolean | SOAPStringType | Character string | SOAPNormalizedStringType | Character string without carriage return (CR) and without tabulation (TAB) | SOAPDecimalType | Any number without limit | SOAPIntType | Integer included between - 2 147 483 648 and + 2 147 483 647) | SOAPShortType | Short integer | SOAPUnsignedShortType | Unsigned short integer | SOAPIntegerType | Integer (no limit) | SOAPLongType | Long integer | SOAPUnsignedLongType | Long unsigned integer | SOAPNegativeIntegerType | Negative integer (except 0) | SOAPNonNegativeIntegerType | Non-negative integer | SOAPNonPositiveIntegerType | Non-positive integer | SOAPUnsignedIntType | Unsigned integer | SOAPPositiveIntegerType | Positive integer (except 0) | SOAPByteType | Byte | SOAPUnsignedByteType | Unsigned byte | SOAPFloatType | Real | SOAPDoubleType | Double real | SOAPAnyURIType | URL address |
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|