In this window, you need to provide the name of the web service and the
method call that you want to make. If the previous window is configured
with the correct HTTP connection and a correct WSDL file, then when you
click on an empty area along this line item, ForSsis should show up. When
you click on an empty area for method, the Miles_To_Km method should
get displayed.
Web Service Task to Convert Miles to Kilometres
[ 224 ]
7. Click on an empty area to locate the Service and click on an empty area to
locate the Method, as shown in the following screenshot.
These two actions will locate the web service and the method call that were
referenced in the WSDL file. In the WebMethodDocumentation line item,
you provide a verbose description of what the method would do when called
in the package.
8. When you choose the Miles_To_Km web method, the method??™s input
argument window opens. Just type in a value (say 20) for the argument a in
the box under the column heading Value.
Chapter 14
[ 225 ]
9. Click on the list item Output on the left.
This brings up the window shown below.
This window will open a File System Task Editor when you click on the line
item File (on an empty area), which we have seen earlier many times. In the
File System Task Editor choose to create a new file WebServiceTaskOutput or
any file name of your choice.
10. Click on the button OK on the Web Service Task Editor.
The Web Service Task is now completely configured.
Pages:
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161