Products Downloads


French version


 


      

VADELIA

      

WADELIA

EADELIA


(I/B) (C)


(I/B) (C)

(B) (C)


Context for use

SOAP Web Service consumption.


Section for use

All


Syntax

WS_GET_STATE WebServiceId OperationId *ID(numId) ResVarNum


numId

VarNumId | CstNum



Description

This instruction retrieves the status of an asynchronous request sent to the OperationId operation of Web service WebServiceId.

The value returned provides an indication concerning request processing:


Value

Meaning

0

The request is being processed.

< 0

The service returned an error.

> 0

The service returned its response.


When the value returned is not equal to 0, then the result can be processed.


Notes:

    • Instruction not supported for a SOAP 'RPC/Encoded' Web service called in "parameter" mode.
    • The instruction can be called cyclically by means of a timer from an Interactive Visual Adelia program or from a cyclical Ajax event in an Adelia Web program.


Example

/* Retrieves the status of the asynchronous id 2 request for the Web service GetWeather operation

/* GLOBALWEATHER


NUM_BIN_2 StateRes

WS_GET_STATE GLOBALWEATHER GetWeather *ID(2) StateRes




↑ Top of page

  • Aucune étiquette