Copying WSDL Definitions

To copy the definitions of an existing WSDL file, you must first add a new WSDL resource to your project. If you know the location of the WSDL file you want to copy, enter the URL into the Copy From URL field and click Copy URL. The definitions from the external file get copied into your WSDL resource.

If you are not sure of the location of the WSDL file, a WSIL and UDDI Registry Browser is provided, enabling you to browse well-known WSIL and UDDI directories. To access the browser, click Browse UDDI.

Use the radio buttons at the top of the browser to indicate whether you want to browse a WSIL directory or a UDDI registry. For the selected registry type, you can type in the location of the registry you want to browse in the field adjacent to the radio buttons or you can use this field’s drop down menu to select from a list of popular registries, as shown in Specifying a UDDI registry.

Figure 112: Specifying a UDDI registry

Once you have selected the registry to browse, use the Search Details section to select the type of services you want to browse. The Search Details section has the following fields.

Field

Description

Search Type

Use this field to specify the facet you want to use to locate the WSDL file. When browsing a WSIL registry, searches are conducted based on service name only. When browsing a UDDI registry, for a description of the available search types, see UDDI search types.

Search Term

To filter the registry’s services, enter a search term corresponding to the facet selected in the Search Type field.

Max Rows

Specify the number of services you would like to be returned.

Case-sensitive

Indicate if the case of the search term should be considered when locating services.

Order Asc.

Indicate if the results should be ordered ascending. (Files are returned in descending order by default.)

Exact Match

Indicate if the search term must be matched exactly.

Timeout (msec)

Specify the amount of time permitted before a search is aborted.

UDDI search types

Search Type

Description

Service Name

In the Search Term field, specify a service name.

Business Name

In the Search Term field, specify business name.

Business Key

In the Search Term field, specify a uuid key for a business.

TModel Key

 

ALL WSDLs

In the Search Term field, specify a service name. It searches TModels of type wsdlSpec.

NAICS

In the Search Term field, specify a NAICS number. For more information, see http://www.naics.com.

ISO 3166

In the Search Term field, specify the code for a particular country. For a list of ISO 3166 codes, see http://www.iso.org/iso/en/prods-services/iso3166ma/02iso-3166-code-lists/list-en1.html

D-U-N-S

In the Search Term field, enter the nine digit D-U-N-S number. For more information, see http://www.dnb.com.

Geo Web

In the Search Term field, enter a Microsoft geoweb classification. For example, the value 514267 would return businesses from London.

SIC Code

In the Search Term field, enter the four digit SIC code. For more information, see http://www.siccode.com.

UNSPSC

In the Search Term field, enter a UNSPSC code. For more information, see http://eccma.org/unspsc/.

Depending on the Search Type specified in the Search Details, either the Get Services or Explore buttons become active. The Explore option returns a list of company names matching the search criteria, such as the companies with a particular NAICS or SIC code. (To see the services provided one of the companies on the list, select the company and click Get Services.) The results returned by the Explore button are shown in Companies returned by the Explore button.

Figure 113: Companies returned by the Explore button

The Get Services option displays the WSDL files matching the search criteria in the table below the Search Details section, as shown in List of returned services.

Figure 114: List of returned services

From the list of returned WSDL files, highlight the file you want to copy and click OK. The URL for the service appears in the Copy From URL field of the Configuration tab of the WSDL resource. Click Copy URL. The definitions from the external file get copied into your WSDL resource.