In this task you choose a web service as the source for your Input Source element.
-
Double-click
an Input Source
element.
The Input Source Properties dialog appears.
-
In the Input Source Properties dialog, click Choose.
The Input Source Chooser wizard appears.
-
Select the option A web service operation and click Next.
-
On the Web Service Input Source
page, specify the information about the web service that you want to call, using the table below as a guide.
Option |
Description |
WSDL Location |
Enter or browse to the WSDL file for the web service
you want to call. If the file is:
- On an HTTP server, enter an “http://” URL
- In the data catalog, browse to it using the Browse
Data Catalog
button or enter an “avaki://” URL
- In your local file
system, browse to it using the Browse
Local File System
button or enter a “file://” URL
|
Use “wrapped” mode |
If
your web service uses the document/literal (as opposed to rpc/encoded) format, check this box to use the “wrapped” mode for passing
parameters. If
you have trouble calling a document/literal web service,
try changing the value of this checkbox. If the web service uses
the rpc/encoded format, this option has no effect.
|
-
Click Next to continue.
-
On the Web Service Response page, indicate which part of
the SOAP response you want
this input source to return.
- The entire
SOAP response
Return the SOAP message
and any attachments.
- Only the
SOAP
part
of the response
Return the SOAP message
with no attachments.
- The nth attachment (0-based index)
Return the specified attachment but not the SOAP message. If the web service
returns multiple attachments, you can enter a number in the text
box to specify the zero-based index number of the attachment to
return. For example, if the web service returns four attachments
and you only want the fourth, enter 3 in the text box.
-
Click Finish to close the
wizard.
Next If this Input Source doesn’t supply data in a relational result set format, configure a transform for the data. Otherwise, configure error handling for this Input Source.
Send your feedback on this help topic to Sybase Technical Publications:
pubs@sybase.com
Your comments will be sent to the technical publications staff at Sybase, Inc.
For product-related issues or technical support, contact Sybase Technical Support
at 1-800-8SYBASE.