PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Properties specific to the description of wsRequest variables
  • Functions that are using the wsRequest variables
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
wsRequest (Type of variable)
In french: wsRequête
The wsRequest type is used to define the advanced characteristics of a Webservice. This type of variable is mainly used to define the HTTP headers used by a Webservice. The EBay and SharePoint Websevices require this type of HTTP headers.
Note: See Declaring a variable for more details on the declaration of this type of variable and the use of WLanguage properties.
Example
C is wsRequest
C..HTTPHeader["key"] = "Value"
// Call the Webservice procedure
// while passing the header and the expected parameters
WebServiceProc(C, param1_WS, param2_WS)
// Displays the request sent
Trace(C..SourceXML)
Remarks

Properties specific to the description of wsRequest variables

The following properties can be used to handle a wsRequest variable:
Property nameType usedEffect
Versions 24 and later
ClientCertificate
New in version 24
ClientCertificate
ClientCertificate
Character stringCorresponds to:
  • the name of the certificate to use. If two certificates with the same name are found in the certificate store, one of them will be chosen at random by the system.
  • the thumbprint of the certificate to use. Only the thumbprint identifies a certificate in a unique way.
The certificate name (and the thumbprint) are returned by HTTPListCertificate.
If this property corresponds to an empty string (""), the default certificate is reset to "<None>".
Versions 21 and later
Timeout
New in version 21
Timeout
Timeout
Integer ou DurationMaximum response time-out (expressed in milliseconds). This property can correspond to:
  • an integer corresponding to the number of milliseconds,
  • a Duration variable,
  • Versions 23 and later
    the direct indication of duration (20 s or 20000 ms for example).
    New in version 23
    the direct indication of duration (20 s or 20000 ms for example).
    the direct indication of duration (20 s or 20000 ms for example).
This property is set to 20 seconds by default.
HTTPHeaderAssociative array of Unicode stringsHTTP headers.
Versions 24 and later
ClientCertificatePassword
New in version 24
ClientCertificatePassword
ClientCertificatePassword
Character stringPassword associated with the client certificate (empty string by default)
XMLSourceBinary/BufferXML source sent to the server.
This property is available in read-only.

Note: These properties can be used with one of the following syntaxes:
  • <Variable name>..<Property name>
  • <Variable name>.<Property name>

Functions that are using the wsRequest variables

Versions 18 and later
SOAPAddSAMLAssertion
New in version 18
SOAPAddSAMLAssertion
SOAPAddSAMLAssertion
Adds a SAML assertion to a Webservice request.
Versions 18 and later
SOAPAddXMLSignature
New in version 18
SOAPAddXMLSignature
SOAPAddXMLSignature
Adds an XML signature to a Webservice request.
Minimum version required
  • Version 19
This page is also available for…
Comments
Click [Add] to post a comment