Entering content frame

Procedure documentation UDDI Discovery for Creating Web Service Clients Locate the document in its SAP Library structure

Use

You can use the SAP NetWeaver Developer Studio to create Web service clients by discovering and getting the WSDLs of already published Web Services or Web service definitions in UDDI as tModels or business services.

Prerequisites

·        Created deployable or standalone proxy project

For more information, see also Creating a Deployable Proxy or Creating a Standalone Proxy.

Procedure

Creating a Client

If You Want To

Then

Create a client from tModel

Start the wizard for creating a new proxy definition...

       1.      Start the wizard for creating a new proxy definition

Note

In the Developer Studio, select your client project and click with the right mouse button to choose New ® Client Proxy Definition.

       2.      Enter a package and a proxy name and select UDDI or URL for the WSDL source.

       3.      In the next window displayed, choose UDDI

When the UDDI Client Browser appears, select the registry you want to search in and choose the tModel tab

       4.      Search for a tModel by name

If you are not sure about the name of the tModel, you can use the percentage sign (%). For example, enter “My%” and this will display all tModel names beginning with “My”.

In addition, you can enter tModel identifiers and categories in order to filter the results. When the result list is available, choose View to view the details of the tModel.

This graphic is explained in the accompanying text

       5.      Choose OK

If Overview URL is specified in the Service Definition Details of the tModel, the OK button is enabled.

The WSDL URL field is filled automatically with the URL of the tModel.

       6.      Complete the proxy definition wizard.

Create a client from a Web Service

...

       1.      Repeat the same steps as for creating a client from a tModel, but on the search page of the UDDI Client Browser, select the Service tab.

       2.      Search for a service by name

If you are not sure about the name of the service, you can use the percentage sign (%). For example, enter “My%” and this will display all services names beginning with “My”.

When the result list is available, choose View to view the details of the service.

       3.      Select Binding Template and choose View Template

       4.      Select the Details tab and choose the instance of your tModel

       5.      Choose View Info, and if the Overview URL for the instance info is entered, the OK button is enabled.

       6.      Complete the proxy definition wizard.

Create a client from a Business Entity

...

       1.      Repeat the same steps as when creating from a tModel, but on the search page of the UDDI Client Browser, select the Business Entity tab.

       2.      Search for an entity by name

If you are not sure about the name of the entity, you can use the percentage sign (%). For example, enter “My%” and this will display all entities names beginning with “My”.

When the result list is available, choose View to view the details of the business entity.

       3.      Select the Business Services tab

       4.      Select your Business Service, choose View, and follow the steps for the business service.

 

Leaving content frame