AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Funciones WLanguage / Comunicación / SOAP
  • Overview
  • Principle
  • Remark
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Client application: Running procedures on a SOAP server
Advertencia
This feature is reserved for advanced users, to handle special cases. In most cases, we recommend importing the wsdl file of the SOAP web service. For more details, see Importing/Consuming web services.
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 (function 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 procedure result or error to the current computer.
  3. Check the procedure result.
The result of SOAPRun or SOAPRunXML is used to find out whether the connection was successfully established.
If the connection was not established, use ErrorInfo to find out the cause of the error.
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 get the procedure error, use SOAPError.
Remark
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.
Versión mínima requerida
  • Versión 9
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 25/03/2025

Señalar un error o enviar una sugerencia | Ayuda local