Import a web service

You can import any defined Web Service into a specified Web Service Provider.

About this task

During the import, you can select which operations or resources in the Web Service to import, and specify a new name or Endpoint URL for the service. You can also test and change the connection parameters for each service, and verify the proper execution of each operation or resource in the service.

Note: When importing a Web Service to a server that does not support connection pooling, connection pooling will be disabled on the imported web services.

To correct failed connections or change MV Server settings, go to the applicable topic (provided in the following steps) to get additional information and complete the import.

Procedure

  1. Right-click the MV Web Service Provider into which to import the new Web Service from the MV Web Service Explorer and select the Import Web Service option.
    The Import a Web Service dialog box opens.
  2. Click Browse to navigate to the Web Service file (.xml) to import.
  3. Select the file and click Open.
  4. Click Next.

    The Select services to import dialog box opens. The Web Service table lists all of the services contained in the Web Service file you selected for import.

  5. (Optional) If you want to change the service name, Endpoint URL, Account, or Password, do the following:
    1. Select the service to edit from the Web Service table.
    2. Click Edit to open the Edit Service Settings dialog box.
    3. Edit the service information.
    4. When you are finished, click OK.
  6. Select the services you want to import from the Web Service table, and then click Next.

    The connections for the selected services are tested.

    If all of the connections pass the test, the status Successful shows for each service in the Web Service Operation table.

    If any of the connections fail, you will see a message indicating that you need to correct the connection. Go to Fixing failed connections to fix these issues.

  7. Do one of the following:
    • If all of the connections pass the test and you do not want to make any changes, click Next.
    • If you want to change MV Server settings during the import, including connection pool settings, go to Changing MV Server settings.
    You will see one of the following messages:
    • A message indicating that the operations or resources were verified and no errors were found.
    • A message indicating the problem with the operation or resource.
  8. After you receive the message, do one of the following:
    • If all of the operations or resources pass the test, click Finish to complete the import.

      The specified Web Services are imported into the specified Web Service Provider and the Web Services are displayed in the MV Web Service Explorer.

    • If any of the operations or resources fail to verify, go to Step 9.
  9. To correct operations or resources that fail to verify, do the following:
    1. Take the necessary steps to correct the operation.
    2. Click Verify Services to re-verify.
    3. When the operations or resources are fixed, click Finish to complete the import.

For additional information, see: