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 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:- Navigate to the Web Service References page. See "Accessing the Web Service References Page".
- Click Create.
- Select Based on WSDL and click Next.
- When prompted to search a UDDI registry to find a WSDL, click Yes then Next.
- For UDDI Location, enter a URL endpoint to a UDDI registry and click Next.
- For Search, specify the following:
- Search Type - Specify whether to search for a business name or a service name. You cannot search for both.
- Name - Enter the business name or service name to search for. Use the percent (%) symbol as a wildcard character.
- Optionally indicate if the search should be case-sensitive or an exact match.
- Click Search.
- When the search results appear, make a selection and click Next.
- Review your selection and click Next to continue.
The URL to the WSDL document displays in the WSDL Location field. - Click Finish.
Creating a Web Service Reference by Specifying a WSDL Document
To create a Web service by specifying a URL to a specific WSDL document:- Navigate to the Web Service References page. See "Accessing the Web Service References Page".
- Click Create.
- Select Based on WSDL and click Next.
- When prompted to search a UDDI registry to find a WSDL, click No then Next.
- In WSDL Location, enter the URL to the WSDL document.
- Click Finish.
No comments:
Post a Comment