PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Overview
  • Principle
  • Note
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
Overview
WINDEV include several SOAP functions. These functions allow you to manage the execution of procedures on a SOAP server from your WINDEV applications.
Principle
All the parameters required to run a SOAP procedure are supplied in the documentation of the SOAP server.
To run a procedure on a SOAP server:
  1. Initialize the structure of parameters for the procedure to run (see structure of a SOAP procedure).
    Note: To perform additional checks on the SOAP server, add a procedure header (SOAPAddHeader).
  2. Run the procedure (SOAPRun or SOAPRunXML). The following operations are automatically performed:
    • connecting the current computer and the SOAP server.
    • transmitting the parameters of the procedure to the SOAP server.
    • checking the header if necessary.
    • running the procedure.
    • returning the result or the error of the procedure to the current computer.
  3. Check the result of the procedure.
The result of SOAPRun or SOAPRunXML is used to find out whether the connection was successfully established.
If the connection was not established, ErrorInfo returns the error details.
If the connection was established, check the result of SOAPGetResult:
  • if the result is not an empty string (""), the procedure was successfully run.
  • if the result is an empty string (""), the procedure was not run and/or an error was returned. To find out the error of the procedure, use SOAPError.
Note
The transfers are not secured at the moment (the data transferred is not encrypted). The SOAP protocol should not be used to transfer sensitive data.
Minimum required version
  • Version 9
Comments
Click [Add] to post a comment