ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / SOAP
  • Overview
  • Type of parameter passed to a procedure run on a SOAP server
  • Type of parameter
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Overview
To pass parameters to a procedure run on a SOAP server, WINDEV and WEBDEV are using the following structure:
VariableTypeDetails
SOAP.NameSpaceOptional character string"NameSpace" of parameter
SOAP.NameCharacter stringParameter name
SOAP.XMLParamOptional character stringStructures of a parameter expressed in XML format. The other parameters (Value, Name, Type, NameSpace and EncodingStyle) are ignored if this parameter is specified.
SOAP.EncodingStyleOptional character stringEncoding style of parameter
SOAP.TypeConstantType of parameter
SOAP.ValueAny typeValue 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.ExtendedValueAny typeParameter 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:
ConstantType
SOAPBase64BinaryTypeBinary
SOAPHexBinaryTypeHexadecimal binary
SOAPBooleanTypeBoolean
SOAPStringTypeCharacter string
SOAPNormalizedStringTypeCharacter string without carriage return (CR) and without tabulation (TAB)
SOAPDecimalTypeAny number without limit
SOAPIntTypeInteger included between - 2 147 483 648 and + 2 147 483 647)
SOAPShortTypeShort integer
SOAPUnsignedShortTypeUnsigned short integer
SOAPIntegerTypeInteger (no limit)
SOAPLongTypeLong integer
SOAPUnsignedLongTypeLong unsigned integer
SOAPNegativeIntegerTypeNegative integer (except 0)
SOAPNonNegativeIntegerTypeNon-negative integer
SOAPNonPositiveIntegerTypeNon-positive integer
SOAPUnsignedIntTypeUnsigned integer
SOAPPositiveIntegerTypePositive integer (except 0)
SOAPByteTypeByte
SOAPUnsignedByteTypeUnsigned byte
SOAPFloatTypeReal
SOAPDoubleTypeDouble real
SOAPAnyURITypeURL address
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help