Application Express User's Guide > Advanced Programming Techni... > Implementing Web Services > Creating a Web Service Refe...
Creating a Web Service Reference |
Previous |
Next |
When you create a Web service reference, you need to 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
AUDDI registry is a directory where businesses register their Web services.
To create a new Web service by searching a UDDI registry:
Navigate to the Web Service References page:
On the Database Home Page, click the Application Builder icon.
Select an application.
Click Shared Components.
Under Logic, select Web Service References.
The Web Service References page appears.
Click Create.
When prompted to search a UDDI registry to find a WSDL, click Yes.
For UDDI Location you can either:
Enter a URL endpoint to a UDDI registry.
Click the List icon and select a UDDI registry.
Under Search for Services, specify whether to search for a business name or a service name.
For Search Type, specify whether to search for a business name or a service name. You cannot search for both.
In Name, enter the business name or service name to search for.
Optionally indicate if the search should be case-sensitive or an exact match. Use the percent (%) symbol as a wildcard character.
Click Search.
When the search results appear, make a selection and click Next.
A summary page appears describing the selected Web service.
Review your selection and click Next to continue.
The URL to the WSDL document displays in the WSDL Location field.
Click Finish.
The Web service reference is added to the Web Service References Repository.
To create a new Web service by specifying a URL to a specific WSDL document:
Navigate to the Web Service References page:
On the Database Home Page, click the Application Builder icon.
Select an application.
Click Shared Components.
Under Logic, select Web Service References.
The Web Service References page appears.
Click Create.
When prompted to search a UDDI registry to find a WSDL, click No.
In WSDL Location, enter the URL to the WSDL document.
Click Finish.
The Web service reference is added to the Web Service References Repository.