PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • 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.
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 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.
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 required version
  • Version 19
This page is also available for…
Comments
Click [Add] to post a comment