15
SOAP and Web Services
Using SOAP and Web Services
Contents
Topics
Using SOAP and Web Services
DNS Service Discovery
Managing XML-based Information
Workflow Applications
Using SOAP and Web Services
Acrobat JavaScript provides a
SOAP
object that encapsulates the support for web services
and service discovery. Through the usage of this object, you can extend and customize
your workflows by engaging in XML-based communication with remote servers.
The
SOAP
object has a
wireDump
property that sends all XML requests and responses to
the JavaScript Console for debugging purposes. In addition, the
SOAP
object provides the
methods described below in
Table 15.1:
T
ABLE
15.1
SOAP Object
Method
Description
Obtains a WSDL proxy object used to invoke a web
service
Locates network services using DNS Service Discovery
Binds a service name to a network address and port
The principal method used to invoke a web service
A callback method used in asynchronous web method
calls
Decodes a Base64 or Hex stream object
Applies Base64 or Hex encoding to a stream object
Converts a string to a stream object
Converts a stream object to a string
connect
queryServices
resolveService
request
response
streamDecode
streamEncode
streamFromString
stringFromStream
244
Acrobat JavaScript Scripting Guide