Importing a Web Service as a Library of VIs

Use the Import Web Service wizard to create or update wrapper VIs based on the methods in a Web service. You must provide a valid URL to a Web Service Description Language (WSDL), and the WSDL must validate correctly with ASP.NET. WSDL is an XML-formatted language used to describe a Web service and its functionality.

NoteNote  
  • You must have the .NET Framework 4.0 installed to use the Import Web Service wizard.
  • If you change the URL for the Web Service you want to import, you must complete the following steps to regenerate the VIs for the Web Service.

Complete the following steps to create or update a library of VIs based on methods in a Web service.

  1. Select Tools»Import»Web Service to launch the Import Web Service wizard.
  2. Enter the URL to the WSDL for the Web service you want to import.
  3. Click the Next button to display the next page of the wizard.
  4. (Optional) Enter the authentication or proxy information.
  5. Click the Next button to display the next page of the wizard.
  6. Enter the name of the project library (.lvlib) file you want to create.
  7. Enter the destination directory, which is the location to which you want to save the project library (.lvlib) file. You also can browse to navigate to and select a folder.
  8. Click the Next button to display the next page of the wizard.
  9. Select the methods to import. For each method you select, LabVIEW creates a VI with parallel functionality.
  10. Click the Next button to display the Summary page of the wizard. 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.
  11. 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.
  12. Select the appropriate options if you want to open the imported project library file or view the report upon closing the wizard.
  13. Click the Finish button to close the wizard and optionally open the specified files.