You can invoke services that are part of LiveCycle using web
services. For instance, you can invoke a service on another LiveCycle
Server using the Invoke Web Service operation in your process. Invoke
the service on another LiveCycle Server when the service is not
available on the LiveCycle Server that executes the process. When
you choose to invoke web services, the default for attachments is MTOM.
For a service in LiveCycle, you determine the
WSDL URL to use by accessing the web service endpoint information
in Applications and Services. (See Applications and ServicesAdministration Help.) For example, to determine the WSDL URL to use for the Generate PDF service, in Administration Console, select Applications and Services > GeneratePDFService. In the Endpoints tab, click GeneratePDFService for the provided Default SOAP Endpoint to see the WSDL URL.To invoke asynchronous service operations from LiveCycle, add
the suffix ?wsdl&async=true&lc&lc_version=9.0.0 to
the value of Target URL after the WSDL is successfully loaded. If
you do not add ?wsdl&async=true&lc&lc_version=9.0.0 to
the value, an Operation Not Found exception occurs when you invoke
the web service.
Services for long-lived processes are asynchronous. For example, if you want to use an asynchronous operation from
the Generate PDF service, perform the following steps. In the following
example,[servername] is the name of the LiveCycle Server
and [portnumber] is the port number used to access the server.
In the WSDL URL field, type http://[servername]:[portnumber]/soap/services/GeneratePDFServices?wsdl&lc_version=9.0.0&version=1.1&async=true, and
then click Load. After successfully loading the WSDL URL, in the
Target URL box, the value http://[server name]:[port number]/soap/services/GeneratePDFServices
is filled in for you.
Add the ?wsdl&async=true&lc&lc_version=9.0.0 to
the provided URL. For example, change http://[servername]:[portnumber]/soap/services/GeneratePDFServices to http://[servername]:[portnumber]/soap/services/GeneratePDFServices? wsdl&async=true&lc&lc_version=9.0.0.
Select an asynchronous operation from the Operation list.
For example, select HTMLToPDF to invoke the asynchronous operation
to convert an HTML page to a PDF document.
|
|
|