Show TOC Start of Content Area

Procedure documentation Importing Web Services  Locate the document in its SAP Library structure

Prerequisites

You have configured the Universal Description Discovery and Integration (UDDI) server. To do that, in the SAP NetWeave Developer Studio, choose Window Preferences Web Services SAP Services Registry  in the Server Name field enter name of the UDDI server.

Note

When designing your composite applications with the Composite Application Framework (CAF), you can easily consume existing enterprise services, and map them to customizable application services that fit your particular needs. In addition, CAF allows you to edit the services in an entirely model-driven manner, which ensures flexibility, reusability, ease of development, and increased development productivity.You can browse the enterprise services that are offered in the Enterprise Service (ES) Workplace of the SAP Developer Network.

More information: Importing WSDL Documents in the SAP NetWeaver Developer Studio.

Procedure

       1.      In the Composite Applications Explorer of SAP NetWeaver Developer Studio, choose the CAF application in which you want to import a Web service.

       2.      Click the external node with the secondary mouse button and choose Import Web Service.

       3.      To import a WSDL definition, select one of the available WSDL sources:

¡        Enterprise Service Repository – imports a Web service from a repository. Based on a WSDL definition you generate the service's implementation skeleton. This skeleton is a CAF application service containing service's operations with their input/output parameters.

More information: Implementing Web Services in CAF

¡        Remote Location / File System – imports a Web service from your local file system or from another location.

...

                                                  i.       In the URL field, enter a URL address of a Web service.

                                                ii.       Choose Next.

       Service Registry - imports UDDI (Universal Description, Discovery, and Integration) service or classification service

...

                                                  i.       Enter username and password for the UDDI and classification service.

                                                ii.       Choose Next.

                                               iii.       In the Search for definitions by field, enter the name of the Web service and choose Name from the dropdown box. You can use wild cards for the search.

                                               iv.       Choose Next.

                                                 v.       Select a service definition and an available endpoint for this definition.

                                               vi.       Chose Finish.

Note

If the Web service requires authentication you may be prompted to enter user credentials for the server that provides the Web service.

After you import a service definition from one of the WSDL sources, choose Next.

       4.      If you need to apply customization for the imported WSDL definition, enable the Apply JAX-WS external customization files indicator. This way you can change the hierarchy of the Java packages or change the name of a particular Java file.

The location of all xsdand wsdlfiles is displayed in a new window, so that you can write proper external customization bindings. To read the specification of the JAX-WS technology, visit the link below.

Link to external website https://jax-ws.dev.java.net/

Result

The imported Web service appears under the external package node in Composite Application Explorer.

You can now create mappings for the Web service.

More Information

Mapping Service Operations

 

End of Content Area