Wednesday, 4 January 2012

Creating a Web Service Reference Based on a WSDL

When you create a Web service reference based on a WSDL, you must decide how to locate the WSDL. You can locate a WSDL in two ways:
  • By searching a Universal Description, Discovery and Integration (UDDI) registry
  • By entering the URL to the WSDL document
A UDDI registry is a directory where businesses register their Web services.

Creating a Web Service Reference by Searching a UDDI Registry

To create a Web service by searching a UDDI registry:
  1. Navigate to the Web Service References page. See "Accessing the Web Service References Page".
  2. Click Create.
  3. Select Based on WSDL and click Next.
  4. When prompted to search a UDDI registry to find a WSDL, click Yes then Next.
  5. For UDDI Location, enter a URL endpoint to a UDDI registry and click Next.
  6. For Search, specify the following:
    1. Search Type - Specify whether to search for a business name or a service name. You cannot search for both.
    2. Name - Enter the business name or service name to search for. Use the percent (%) symbol as a wildcard character.
    3. Optionally indicate if the search should be case-sensitive or an exact match.
    4. Click Search.
    5. When the search results appear, make a selection and click Next.
    A summary page appears describing the selected Web service.
  7. Review your selection and click Next to continue.
    The URL to the WSDL document displays in the WSDL Location field.
  8. Click Finish.
The Web service reference is added to the Web Service References Repository.

Creating a Web Service Reference by Specifying a WSDL Document

To create a Web service by specifying a URL to a specific WSDL document:
  1. Navigate to the Web Service References page. See "Accessing the Web Service References Page".
  2. Click Create.
  3. Select Based on WSDL and click Next.
  4. When prompted to search a UDDI registry to find a WSDL, click No then Next.
  5. In WSDL Location, enter the URL to the WSDL document.
  6. Click Finish.
The Web service reference is added to the Web Service References Repository.

No comments:

Post a Comment