SOAP and Web Services
Using SOAP and Web Services
15
Synchronous and Asynchronous Information Exchange
The
SOAP
object’s
request
method may be used to establish either synchronous or
asynchronous communication with a web service, and provides extensive support for
SOAP header information, firewall support, the type of encoding used, namespace
qualified names, compressed or uncompressed attachments, the SOAP protocol version to
be used, authentication schemes, response style, and exception handling.
The
request
method accepts the parameters shown below in
Table 15.3:
T
ABLE
15.3
Request Method
Parameter
Description
URL for SOAP HTTP endpoint
Object containing RPC information
Object used for asynchronous method invocation
SOAPAction header used by firewalls and servers to filter
requests
Indicates whether SOAP encoding is used
Message schema namespace when SOAP encoding is not used
SOAP header to be included with request
SOAP header to be included with response
SOAP protocol version to be used (1.1 or 1.2)
Authentication scheme
The type and structure of the response information (JS, XML,
Message)
cURL
oRequest
oAsync
cAction
bEncoded
cNamespace
oReqHeader
oRespHeader
cVersion
oAuthenticate
cResponseStyle
Acrobat JavaScript Scripting Guide
247