Select Tools»Import»Web Service to display this wizard.

Use this wizard to create wrapper VIs based on the methods in a Web service that you specify. You must provide a valid URL to the WSDL for the Web service you want to import, and the WSDL must validate correctly with ASP.NET.

Note Note
  • You must have the .NET Framework 4.0 installed to use the Import Web Service wizard.
  • If you change the WSDL URL for the Web Service you want to import, you must regenerate the VIs to use the new URL for the Web Service.

This wizard includes the following pages and components:

Option Description
Input the location of a WSDL URL Includes the following component:
  • Web Service Description Language URL

    The URL of the WSDL (Web Service Description Language) for the Web service you want to import. You can copy a WSDL from another source and paste the URL into this field.

Input the authentication information Includes the following components:
  • Authentication—Use the Authentication section to configure Web service authentication options.
    • Web service requires authentication

      Place a checkmark in this checkbox if the Web service requires authentication.

      • User name

        Specifies the name of the user.

      • Password

        Specifies the password for the current user.

      • Domain

        Displays the name of the domain.

  • Proxy Server—Use the Proxy Server section to configure proxy server options.
    • Use a proxy server for your LAN

      Place a checkmark in this checkbox if the network connects to the Internet through a proxy server.

      • Name/Address

        Displays the proxy server machine name or address.

      • Port

        HTTP port where the server is located. The default is 80.

      • Proxy service requires authentication

        Place a checkmark in this checkbox if the proxy server requires authentication.

        • User Name

          Specifies the user name of the proxy server.

        • Password

          Specifies the password for the proxy server.

        • Domain

          Specifies the domain name for the proxy server.

    • Proxy service requires authentication

      Place a checkmark in this checkbox if the proxy server requires authentication.

      • User Name

        Specifies the user name of the proxy server.

      • Password

        Specifies the password for the proxy server.

      • Domain

        Specifies the domain name for the proxy server.

Input the project library and destination directory Includes the following components:
  • Project Library Name (.lvlib)

    The name of the project library (.lvlib) file you want to create.

  • Destination Directory

    The location to which you want to save the project library (.lvlib) file. You also can browse to navigate to and select a folder.

Select the methods to import Includes the following components:
  • Select Methods to Import

    Lists the methods you can import as VIs to be included in the final project library file.

  • Check Selected

    Click this button to add a checkmark for the methods you have selected in the Select Methods to Import listbox.

  • Uncheck Selected

    Click this button to remove the checkmark from each method you have selected in the Select Methods to Import listbox.

  • Check All

    Click this button to add a checkmark for all the methods in the Select Methods to Import listbox.

  • Uncheck All

    Click this button to remove the checkmark from each method in the Select Methods to Import listbox.

Summary Use this page to review the Web service information you have specified before LabVIEW creates the wrapper VIs. You can use the Back button to make any changes. Click the Generate button when you are ready to import the Web service methods and generate wrapper VIs for them. The Completed page appears when generation is complete.
Completed Includes the following components:
  • Open imported project library

    Place a checkmark in this checkbox to open the imported project library (.lvlib) file when the wizard completes.

  • View report

    Place a checkmark in this checkbox to view the generated report when the wizard completes.