Show TOC Start of Content Area

Component documentation Providing and Consuming Web Services  Locate the document in its SAP Library structure

To a great extent, communication between B2B and e-Commerce applications is based on manually declared interfaces, message formats, and arrangements between business partners. Using Web services, this process can be simplified. Web services are Web-based interfaces that can be integrated into business scenarios of a company based on open and commonly accepted standards. Using Web services enables you to combine functions implemented on different software components into a single process.

Web services are self-contained, modularized, executable entities that can be published, searched for, and accessed across a network. For a caller or sender, a Web service is a black box that may require input and delivers a result.

Introductory Notes

In the following chapters, we assume that the reader is familiar with Web service techniques.

Link to external website

For an introduction to Web services and their standards, refer to the following links:

java.sun.com

www.w3.org/2002/ws/Activity

www.uddi.org

 

Features

The SAP Web Application Server allows companies to extend their solutions by exposing and integrating Web services. The SAP NetWeaver Developer Studio provides an environment for publishing, discovering, and accessing Web services. Therefore, it allows the SAP Web Application Server to act both as a “server” and as a “client” for Web services.

The Java Web Service Infrastructure allows developers to:

·        Display all self-contained, modularized functions implemented as Enterprise Java Bean (session bean) or as a Java class in a Web service. This includes functions provided by SAP as part of mySAP solutions or developed by the customer or partner. The Web service can be used across the Internet through standard protocols and can easily be integrated in any development framework. Displaying a Java class as a Web service is also possible.

·        Integrate Web services, irrespective of where they reside or how they are implemented. Therefore, business processes spanning different systems, both intra-company and cross-company, can be implemented.

The following triangle shows the basic architecture of the Web services framework:

This graphic is explained in the accompanying text

Service Provider

Within the SAP Web AS, the inside-out approach is used to develop the functions that can be made available as a Web service. After the functions have been implemented, a Web service interface, which is visible to the Web service consumer, has to be created. This interface provides an abstraction layer and consequently independence from the specific implementation. Based on this interface, the Web service is configured and can be accessed during runtime. Full UDDI client capabilities can be used to publish the Web Services to a UDDI registry.

Service Directory

Web service definitions and deployed Web services can be stored in a UDDI registry. WSDL documents provide the basis for the Web service client and can be found in the UDDI using a browser or the standard UDDI API’s. In the SAP Web AS, UDDI client and server functions are provided. You can search in all, and publish to all, registries that conform to the standard. A full-blown UDDI server is shipped as part of the SAP Web AS so customers can create their own registries.

Service Requestor

The SAP Web AS allows you to integrate Web services using the WSDL file as input for generating a Web service client.

Web services and Open Standards

Open integration can only be achieved if it is based on generally accepted standards. The SAP Web Application Server implements the basic Web services standards eXtensible Markup Language (XML), SOAP, Web Service Definition Language (WSDL) and Universal Description, Discovery, and Integration (UDDI).

The following basic standards driven by the Java and Web service community are included as well:

·        WS Interoperability:

WS-I BP 1.0

·        Java API:

JAXP 1.2, JAXM 1.1, SAAJ 1.1, JAX-RPC 1.0

·        XML:

SOAP 1.1 w/ Attachments, WSDL 1.1, UDDI v2, Web Services Inspection Language

·        Security:

WS-Security (1.0), SSL / TLS

Extensibility and Plugability

Web Services and Web service standards are rapidly evolving and new standards will be established by the community. To provide the full flexibility, enhanced standards (for example, security standards), additional protocols, and so on can be easily integrated in the Web services framework.

 

See also:

Web Services Toolset

 

 

 

 

End of Content Area