Load WSDL
|
WSDL
Location
|
In order
for the Web Service element to be configurable, a WSDL file defining the
desired web service must first be loaded. First, choose either "URI" or "File"
from the drop-down, then either browse for a local file or enter a remote URI
where the WSDL can be retrieved, the URI can be HTTP or HTTPS. Then, click the
"Load" button to initiate @audiumstudio.field@'s download, caching, and parsing
of the WSDL. Once WSDL is loaded, the other configuration options become
available.
|
Configure
Web Service Call
|
Service
|
This
drop-down allows you to select which service you would like this element to
invoke at runtime. Generally, WSDL files only define a single service so this
list may have just one item. Each service's namespace is listed alongside it in
parenthesis.
|
Port
|
This
drop-down allows you to specify which port you would like to use to connect to
the web service at runtime. Each port has a name, and may define completely
different connection properties than other ports. Please refer to your web
service's documentation, or the WSDL file, for information about what each port
represents. Note that this port list is dependent on which service is selected,
and so it will update as the service is changed.
|
Operation
|
This drop-down allows you to specify which operation you would like to run against the previously-selected service. Note that
this operation list is dependent on which port is selected, and so it will update as the port is changed.
|
Request
|
Click the
"Configure" button next to the "Request" label to bring up the "Configure
Request Parameters" dialog. Using that dialog, you can specify which values to
send to the web service as inputs at runtime.
|
Response
|
Click the
"Configure" button next to the "Response" label to bring up the "Configure
Response Parameters" dialog. Using that dialog, you can specify in which
element or session data variable each potential return value from the web
service should be stored at runtime.
|
Store Full
Response XML
|
Check this
box if you would like the full XML response from the web service to be stored
in element data at runtime, for later processing by your own custom code, or
for debug purposes. Note that checking this box may be memory intensive if the
response XML documents are large. Even if this checkbox has been selected,
response parameter storage settings from the "Configure Response Parameter"
dialog will still be used.
|
Runtime
Settings
|
Connect
Timeout
|
This
setting allows you to specify how many seconds @audiumcallservices.field@
should wait for the web service socket connection to get established at
runtime, before timing-out and following the "error" exit state.
Note
|
This is the tcp connect timeout (sun.net.client.defaultConnectTimeout), which specifies the timeout (in milliseconds) to establish
the connection to the host. Depending on which services uses it (http or ftp), it is used for the connection set up and not
for the service timeout.
|
|
Requires
HTTP Authentication
|
Check this
box if you would like HTTP authentication to be used when accessing the web
service at runtime.
|
Username
|
Only
available if the "Requires HTTP Authentication" checkbox has been selected.
This field allows you to specify the username to use for HTTP authentication
when accessing the web service at runtime.
|
Password
|
Only
available if the "Requires HTTP Authentication" checkbox has been selected.
This field allows you to specify the password to use for HTTP authentication
when accessing the web service at runtime.
|
Use Proxy
|
Check this
box if you would like a proxy to be used when accessing the web service at
runtime.
|
Proxy Host
|
Only
available if the "Use Proxy" checkbox has been selected. This field allows you
to specify the proxy host to use to access the web service at runtime.
|
Proxy Port
|
Only
available if the "Use Proxy" checkbox has been selected. This field allows you
to specify the proxy port to use to access the web service at runtime.
|