Common SSIS package-web service tasks

Source: Internet
Author: User
Tags ssis

A Web service task is a newly added task in SSIs. It can connect to a WebService and execute a method in the service. After the method is executed, the result can be written back to a variable or file. This task is suitable for processing information in third-party applications. For example, you can use this task to execute WebService to obtain the updated product list of Amazon and write the information to the local server.

Open HTTP Connection Manager editor in the httpconnection option on the Edit page of the web service task to create an HTTP connection. What is different from ole db connection is that HTTP connection uses a URL to specify a. asmx file. If you want to experience this connection, you can log on to www.xmethods.net. This website provides a large number of free Web Services, and most do not need to provide verification codes or other authentication. If the Web service does not require authentication, You need to modify the HTTP connection settings. In Figure 3-20, a Web service connection can be crawled on this site.

Figure 2-20

After setting the HTTP connection, return to the Web service task Editor interface. In the wsdlfile column, no Web Service Description Language (WSDL) file is selected for WebService. This file describes how the package uses the service. If you select an external site, you must copy the WSDL file to your local device. You can also set whether the overwritewsdlfile option can be rewritten.

The methods in the Service may not require any parameters. In the drop-down list of the service column, select the servcie to use and select a method from the method drop-down list. In the webmethoddocumentation column, the description of the method is automatically filled, the entered information appears in the service box. Enter the parameter to be passed, and then specify the output location on the output tab page. You can select a file or variable. In Figure 3-21, the task crawls the network in the specified URL and outputs the result to a variable. If it is output to a file, you need to use the file link Manager Configuration File Link.

Figure 3-21

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.