Attributes, methods, and events to consume a web service
- Last Updated: March 12, 2021
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
The following table lists the ABL handle attributes and methods that are either valid only for consuming a Web service or have special application in Web service client programming.
| ABL attribute, method, or event | Description |
|---|---|
ACTOR
|
(SOAP Version 1.1 only) A CHARACTER attribute on a
SOAP header-entryref object handle that returns the value of the
actor attribute specified in the associated SOAP header entry.
Replaced in SOAP Version 1.2 by the ROLE attribute, and assumes the
value of that attribute if used in the context of a SOAP 1.2 connection. |
ADD-HEADER-ENTRY( )
|
A LOGICAL method on the SOAP header object handle
that creates a new SOAP header entry and attaches it to the SOAP header. A specified
SOAP header-entryref object handle references the new header entry. |
ASYNC-REQUEST-COUNT
|
An INTEGER attribute that:
|
CANCELLED
|
A LOGICAL attribute on the asynchronous request
object handle that indicates if the asynchronous request was cancelled using either
the CANCEL-REQUESTS( ) method or the DISCONNECT( )
method on the associated server handle. |
CANCEL-REQUESTS( )
|
A LOGICAL method on the server object handle that:
|
CLIENT-CONNECTION-ID
|
A CHARACTER attribute on the server object handle
that returns the connection ID for the connection associated with this server
handle. For Web services, this is the empty string. |
COMPLETE
|
A LOGICAL attribute on the asynchronous request
object handle that indicates if the asynchronous request is completed and its result
is processed on the client. |
|
A LOGICAL method
on the server object handle that logically connects (binds) and associates a Web
service to the server handle.For complete list of parameters, see Connect() method (Web service) |
CONNECTED( )
|
A LOGICAL method on the server object handle that
returns TRUE if the handle is currently bound to a Web
service. |
DELETE-HEADER-ENTRY( )
|
A LOGICAL method on the SOAP header-entryref
object handle that deletes the underlying SOAP header entry and all of its content,
but does not delete the SOAP header-entryref object used to reference the deleted
header entry. |
DISCONNECT( )
|
A LOGICAL method on the server object handle that
disconnects from and removes all reference to the Web service currently associated
with the server handle. Any running or pending asynchronous requests to the Web
service submitted by this client are also cancelled. |
ERROR
|
A LOGICAL attribute on the asynchronous request
object handle that indicates that an ERROR condition was returned
as a result of processing a Web service request. |
ERROR-OBJECT
|
An attribute on the asynchronous request object handle that returns
an object reference to an instance of a class that implements
Progress.Lang.Error. |
ERROR-OBJECT-DETAIL
|
A HANDLE attribute an the
ERROR-STATUS system handle that references the SOAP-fault object
for any Web service request that returns a SOAP fault that is trapped using the ABL
NO-ERROR option. |
EVENT-PROCEDURE
|
A CHARACTER attribute on the asynchronous request
object handle that contains the name of the internal procedure to be run as the
event procedure for this asynchronous request. |
EVENT-PROCEDURE-CONTEXT
|
A HANDLE attribute on the asynchronous request
object handle that contains the procedure handle of the active procedure context
where the event procedure for this asynchronous request is defined. |
FIRST-ASYNC-REQUEST( )
|
A HANDLE method on the server object handle that
returns the first entry in the list of all current asynchronous request handles for
the specified Web service. |
FIRST-PROCEDURE
|
A HANDLE attribute on the server object handle
that references the first procedure object associated with the Web service port type
bound to this server object. |
FIRST-SERVER
|
A HANDLE attribute on the SESSION
system handle that returns the handle to the first entry in the chain of server
handles for the session, including server handles for Web services. |
GET-HEADER-ENTRY( )
|
A LOGICAL method on the SOAP header object handle
that associates a specified SOAP header-entryref object handle with a specified
entry in the associated SOAP header. |
GET-NODE( )
|
A LOGICAL method that:
|
GET-SERIALIZED( )
|
A LONGCHAR method that:
|
LAST-ASYNC-REQUEST( )
|
A HANDLE method on the server object handle that
returns the last entry in the list of all current asynchronous request handles for
the specified Web service. |
LAST-PROCEDURE
|
A HANDLE attribute on the server object handle
that references the last procedure object associated with the Web service port type
bound to this server object. |
LAST-SERVER
|
A HANDLE attribute on the SESSION
system handle that returns the handle to the last entry in the chain of server
handles for the session, including server handles for Web services. |
LOCAL-NAME
|
A CHARACTER attribute on the SOAP header-entryref
object handle that returns the unqualified part of name specified for the associated
SOAP header entry element. |
MUST-UNDERSTAND
|
A LOGICAL attribute on the SOAP header-entryref
object handle that returns the value of the mustUnderstand
attribute specified in the associated SOAP header. |
NAME
|
A CHARACTER attribute that:
|
NAMESPACE-URI
|
A CHARACTER attribute on the SOAP header-entryref
object handle that returns the namespace URI prefixed to the associated SOAP header
entry element's name. |
NEXT-SIBLING
|
A HANDLE attribute that:
|
NUM-HEADER-ENTRIES
|
An INTEGER attribute on the SOAP header object
handle that returns the number of entries attached to the SOAP header. |
PERSISTENT
|
A LOGICAL attribute on procedure handles that
returns TRUE for a procedure object associated with a Web
service. |
PERSISTENT-PROCEDURE
|
A HANDLE attribute on the asynchronous request
object handle that returns the handle to the procedure object for the specified
asynchronous Web service request. |
PREV-SIBLING
|
A HANDLE attribute that:
|
PROCEDURE-COMPLETE
|
The event returned for an asynchronous request object handle that
indicates the associated Web service request has completed execution and, as a
result, causes execution of the event procedure as specified by the
EVENT-PROCEDURE and EVENT-PROCEDURE-CONTEXT
attributes. |
PROCEDURE-NAME
|
A CHARACTER attribute on the asynchronous request
object handle that provides the name of the Web service operation executed to
instantiate this asynchronous request handle. |
PROXY
|
A LOGICAL attribute on procedure object handles
that is TRUE if the procedure handle references a procedure object
associated with a Web service. |
ROLE
|
(SOAP 1.2 only) A CHARACTER attribute on a SOAP
header-entryref object handle that returns the value of the role
attribute specified in the associated SOAP header entry. Replaces the
ACTOR attribute used in SOAP 1.1. |
SERVER
|
A HANDLE attribute that:
|
SET-ACTOR( )
|
(SOAP 1.1 only) A LOGICAL method on the SOAP
header-entryref object handle that sets the value of the actor
attribute in the underlying SOAP header entry. This method completes and returns
TRUE only if there is an underlying SOAP header entry (XML)
associated with the object handle. Replaced by the SET-ROLE method
in SOAP 1.2. |
SET-CALLBACK-PROCEDURE( )
|
A LOGICAL method on the procedure object handle
that associates a specified internal procedure with an ABL callback. For Web
services, the two supported types of ABL callbacks, include:
|
SET-MUST-UNDERSTAND( )
|
A LOGICAL method on the SOAP header-entryref
object handle that sets the value of the mustUnderstand attribute
in the underlying SOAP header entry. This method completes and returns
TRUE only if there is an underlying SOAP header entry (XML)
associated with the object handle. |
SET-NODE( )
|
A LOGICAL method on the SOAP header-entryref
object handle that replaces the header entry referenced by this SOAP header-entryref
object with a specified DOM sub-tree (parsed XML) that is assumed to represent a
SOAP header entry element. |
SET-ROLE( )
|
(SOAP 1.2 only) A LOGICAL method on the SOAP
header-entryref object handle that sets the value of the role
attribute in the underlying SOAP header entry. This method completes and returns
TRUE only if there is an underlying SOAP header entry (XML)
associated with the object handle. Replaces the SET_ACTOR method
used in SOAP 1.1. |
SET-SERIALIZED( )
|
A LOGICAL method on the SOAP header-entryref
object handle that replaces the header entry referenced by this SOAP header-entryref
object with serialized XML that is assumed to parse into a DOM sub-tree that
represents a SOAP header entry element. |
SOAP-FAULT-CODE
|
A CHARACTER attribute on the SOAP-fault object
handle that contains the value of the faultcode attribute for the
SOAP fault, which identifies the fault. |
SOAP-FAULT-STRING
|
A CHARACTER attribute on the SOAP-fault object
handle that contains the value of the faultstring attribute for the
SOAP fault, which provides a human-readable description of the fault. |
SOAP-FAULT-ACTOR
|
(SOAP 1.1 only) A CHARACTER attribute on the
SOAP-fault object handle that contains the value of the faultactor
attribute for the SOAP fault, which is a URI that identifies the Web service
returning the fault. Replaced in SOAP Version 1.2 by a combination of
SOAP-FAULT-ROLE and SOAP-FAULT-NODE. |
SOAP-FAULT-DETAIL
|
A HANDLE attribute on the SOAP-fault object handle
that references the SOAP fault-detail object, which contains application-specific
error information. |
SOAP-FAULT-MISUNDERSTOOD-HEADER
|
(SOAP 1.2 only) A CHARACTER attribute on the
SOAP-fault object handle that returns the list of fully qualified names of SOAP
headers, if any, for which mandatory processing (as designated by the
SOAP-ENV:mustUnderstand attribute) failed. |
SOAP-FAULT-NODE
|
(SOAP 1.2 only) A CHARACTER attribute on the
SOAP-fault object handle that returns the URI of the SOAP node that generated the
SOAP-fault object, if available. In combination with
SOAP-FAULT-ROLE, replaces the SOAP-FAULT-ACTOR
attribute used in SOAP 1.1. |
SOAP-FAULT-ROLE
|
(SOAP 1.2 only) A CHARACTER attribute on the
SOAP-fault object handle that contains the value of the faultrole
attribute for the SOAP fault, which is a URI that identifies the Web service
returning the fault. In combination with SOAP-FAULT-NODE, replaces
the SOAP-FAULT-ACTOR attribute used in SOAP 1.1. |
SOAP-FAULT-SUBCODE
|
(SOAP 1.2 only) A CHARACTER attribute on the
SOAP-fault object handle that returns the list of fully qualified sub-code names for
the SOAP-fault object. |
SOAP-VERSION
|
A CHARACTER attribute on the server object handle
that returns the version number of the SOAP connection current. |
STOP
|
A LOGICAL attribute on the asynchronous request
object handle that is set to TRUE, if the asynchronous request was
executing when the client invoked a CANCEL-REQUESTS( )
method. |
SUBTYPE
|
A CHARACTER attribute that returns the subtype of
a handle. For a server object handle, this is:
Unknown
value (?). |
TYPE
|
A CHARACTER attribute that returns the handle
type, which:
|