sap - building web services with java and sap web application server

27
8/13/2019 SAP - Building Web Services With Java and SAP Web Application Server http://slidepdf.com/reader/full/sap-building-web-services-with-java-and-sap-web-application-server 1/27 Building Web Services with Java and SAP Web Application Server Martin Huvar Product Manager Enterprise Services / SAP AG Walldorf Timm Falter Project Manager Web Services / SAP AG Walldorf  SAP AG2003, TechED_Basel / OSI202, Timm Falter / Martin Huvar / 2 Learning Objectives As a result of this lecture, you will be able to: Comprehend the main ideas of SAPs Web Service definition Understand the architecture of the Web Service Framework Understand what Virtual Interfaces, Web Service Definitions, Web service Configurations and other concepts of the Web Service Framework are

Upload: iulian-best

Post on 04-Jun-2018

231 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: SAP - Building Web Services With Java and SAP Web Application Server

8/13/2019 SAP - Building Web Services With Java and SAP Web Application Server

http://slidepdf.com/reader/full/sap-building-web-services-with-java-and-sap-web-application-server 1/27

Building Web Services withJava and SAP Web ApplicationServer 

Martin Huvar Product Manager Enterprise Services / SAP AG Walldorf 

Timm Falter Project Manager Web Services / SAP AG Walldorf 

SAP AG 2003, TechED_Basel / OSI202, Timm Falter / Martin Huvar / 2

Learning Objectives

As a result of this lecture, you willbe able to:

Comprehend the main ideas of SAPs Web Service definition

Understand the architecture of the Web Service Framework

Understand what Virtual Interfaces, Web Service

Definitions, Web service Configurations and other conceptsof the Web Service Framework are

Page 2: SAP - Building Web Services With Java and SAP Web Application Server

8/13/2019 SAP - Building Web Services With Java and SAP Web Application Server

http://slidepdf.com/reader/full/sap-building-web-services-with-java-and-sap-web-application-server 2/27

SAP AG 2003, TechED_Basel / OSI202, Timm Falter / Martin Huvar / 3

Agenda

Web Service Overview

What are Web services?

Why do we need them?

SAP NetWeaver

Web Service Technology

SAP Web Application Server 6.40

Providing Web Services

Consuming Web Services

Summary

SAP AG 2003, TechED_Basel / OSI202, Timm Falter / Martin Huvar / 4

Web Services Definition

Web Services are

application functionalities

supporting direct interaction

by responding to service requests

based on open Internet Standards

Page 3: SAP - Building Web Services With Java and SAP Web Application Server

8/13/2019 SAP - Building Web Services With Java and SAP Web Application Server

http://slidepdf.com/reader/full/sap-building-web-services-with-java-and-sap-web-application-server 3/27

SAP AG 2003, TechED_Basel / OSI202, Timm Falter / Martin Huvar / 5

The nature of Web Services

Web Services

act like a black-box that may require input and deliver a result

are modular, self-contained and self-describing

work on top of any communication technology stack

can be published, discovered and invoked based on open

technology standards

work in synchronous and asynchronous scenarios

facilitate integration within an enterprise as well

as cross enterprises

SAP AG 2003, TechED_Basel / OSI202, Timm Falter / Martin Huvar / 6

UDDI 

Web Service Paradigm

3

ServiceExecution

2

Service Requestor 

ServiceDiscovery 

Service Provider 

Service Directory

1

ServicePublication

WSDL/ 

 XSD

 XML/ 

SOAP http

Page 4: SAP - Building Web Services With Java and SAP Web Application Server

8/13/2019 SAP - Building Web Services With Java and SAP Web Application Server

http://slidepdf.com/reader/full/sap-building-web-services-with-java-and-sap-web-application-server 4/27

SAP AG 2003, TechED_Basel / OSI202, Timm Falter / Martin Huvar / 7

Web Services: Examples

Intelligent product catalog search

Product availability check

Pricing inquiry

Customer credit check

Order status check

Vendor managed inventory

Demand forecasts, stock

replenishment …

Dynamic auctioning and bidding

Publish and analyze financial

reports (XBRL based)

Electronic bill presentment and

payment

Matching vacancies and job

applicants profiles

Postal service address check

UDDI registration and discovery

services

Automated web searches(Google)

SAP AG 2003, TechED_Basel / OSI202, Timm Falter / Martin Huvar / 8

Demo

Demo

Web Service

Example

Page 5: SAP - Building Web Services With Java and SAP Web Application Server

8/13/2019 SAP - Building Web Services With Java and SAP Web Application Server

http://slidepdf.com/reader/full/sap-building-web-services-with-java-and-sap-web-application-server 5/27

SAP AG 2003, TechED_Basel / OSI202, Timm Falter / Martin Huvar / 9

Example: Web Service Szenario Credit Limit Check

CRM

Order  Create

Order 

Credit

Management

System

Credit

Limit

Check

Financial

ProcessOrder 

Creditlimit

OK?

Credit

standing

Database

History

Database

OK

rejected

= Web Service

Customer Company Service Provider  

SAP AG 2003, TechED_Basel / OSI202, Timm Falter / Martin Huvar / 10

Credit Limit Check Example: Architecture

RFC Function Module

(External Id -> Internal ID)

R/3 Enterprise 4.7

Session Enterprise Java Bean

SAP Web

AS 6.30 (Java)SAP JCo Proxy SAP JCo Proxy

RFC Function Module

(Credit Limit Check)

Virtual Interface Virtual Interface

SAP Web AS 6.30 (Java)

Cell Phone Shop

Web Application (JSP)

Microsoft Excel XP / 2003 Beta

Credit Limit Check

Company Worksheet

Web Service Web Service

Web Service ProxyWeb Service Proxy

Page 6: SAP - Building Web Services With Java and SAP Web Application Server

8/13/2019 SAP - Building Web Services With Java and SAP Web Application Server

http://slidepdf.com/reader/full/sap-building-web-services-with-java-and-sap-web-application-server 6/27

SAP AG 2003, TechED_Basel / OSI202, Timm Falter / Martin Huvar / 11

Fundamental Elements of the complete Web ServiceSolution

Web Service

Technology

Open TechnologyStandards for Web

Services

Web Service

Technology Referent

to business

semantics

SAP NetWeaver 

RosettaNet,

Spec2000,

HR-XML,XBRL, IFX,

papiNet,

....

XML, WSDL, SOAP, UDDI, WSI

SAP AG 2003, TechED_Basel / OSI202, Timm Falter / Martin Huvar / 12

Agenda

Web Service Overview What are Web services?

Why do we need them?

SAP NetWeaver

Web Service Technology

SAP Web Application Server 6.40

Providing Web Services

Consuming Web Services

Summary

Page 7: SAP - Building Web Services With Java and SAP Web Application Server

8/13/2019 SAP - Building Web Services With Java and SAP Web Application Server

http://slidepdf.com/reader/full/sap-building-web-services-with-java-and-sap-web-application-server 7/27

SAP AG 2003, TechED_Basel / OSI202, Timm Falter / Martin Huvar / 13

Providing Web services based on Open Standards

UDDI 

SOAP Processing 

   B  u  s

   i  n  e  s  s

   A  p  p

   l   i  c  a

   t   i  o  n

Web Service Configuration

UDDI Publishing 

WSDL Generation

Development 

Environment 

Web Service

Consumer 

Web Service

Configuration

   W  e

   b   S  e  r  v

   i  c  e

   I  n   t  e  r   f  a  c  e

  s

   R   F   C

   B   A

   P   I

   I   D  o  c

   E   J   B

SAP Web

 Application

Server 

Extensible RuntimePluggable Features

Security

Transactions

Protocols

WSDL

SOAP 

SAP AG 2003, TechED_Basel / OSI202, Timm Falter / Martin Huvar / 14

Consuming Web services based on Open Standards

UDDI 

SOAP Processing 

   B  u  s

   i  n  e  s  s   A

  p  p

   l   i  c  a

   t   i  o  n

UDDI based Web Service

discovery 

Web Service Proxy 

Generation

Proxy Configuration

Development Environment 

Proxy Config.

   W  e

   b   S  e  r  v

   i  c  e

   P  r  o  x

   i  e  s

SAP Web Application

Server 

Extensible runtime

Pluggable features

Security

Transactions

Protocols

WSDL

SOAP 

Web Service

Provider 

Page 8: SAP - Building Web Services With Java and SAP Web Application Server

8/13/2019 SAP - Building Web Services With Java and SAP Web Application Server

http://slidepdf.com/reader/full/sap-building-web-services-with-java-and-sap-web-application-server 8/27

SAP AG 2003, TechED_Basel / OSI202, Timm Falter / Martin Huvar / 15

Exchange Infrastructure & Web Services

Exchange Infrastructure

mySAP

Component

mySAP

ComponentmySAP

Component

mySAP

ComponentNON SAP

Component

NON SAP

ComponentNON SAP

Component

NON SAP

Component

SOAP 

 Adapter 

Native

Protocol 

Native

Protocol 

SAP Web Application Server 

SOAP 

SOAP 

SOAP 

Web Services Infrastructure

Web Services Infrastructure

Business Process

Engine

Business Process

Engine

Routing 

Routing 

Mapping 

Mapping    I  n   t  e  g  r  a

   t   i  o  n

   R  u  n

   t   i  m  e

Integration

Repository &Directory 

Integration

Repository &Directory 

RMI

RMI...

...

Persistency

Persistency

RFC

RFC

 Adapter 

SAP AG 2003, TechED_Basel / OSI202, Timm Falter / Martin Huvar / 16

Agenda

Web Service Overview What are Web services?

Why do we need them?

SAP NetWeaver

Web Service Technology

SAP Web Application Server 6.40

Providing Web Services

Consuming Web Services

Summary

Page 9: SAP - Building Web Services With Java and SAP Web Application Server

8/13/2019 SAP - Building Web Services With Java and SAP Web Application Server

http://slidepdf.com/reader/full/sap-building-web-services-with-java-and-sap-web-application-server 9/27

SAP AG 2003, TechED_Basel / OSI202, Timm Falter / Martin Huvar / 17

Web Service within SAP Web Application Server 

The Web Service capability within SAP Web AS is

the foundation for all mySAP.com solutions

a scalable, reliable Web application infrastructure that delivers high-

performance Web Services

offering Web Service functionality for the ABAP and J2EE

personality with a common architecture

allowing to expose existing functionality (BAPIs, RFMs, IDOCs,

EJBs, Java Classes, XI Server Proxies) as Web Service

easily allowing to consume Web Service from any source

requiring only configuration (no coding)

SAP AG 2003, TechED_Basel / OSI202, Timm Falter / Martin Huvar / 18

Benefits

Web Service interfaces provide a ‚virtual‘ abstraction from theimplementation layer 

Fully integrated into development environment

Full fledged UDDI capabilities

UDDI server implementation

UDDI client functionality

Standard compliant WSDL generation

Support of client proxy generation for ABAP and J2EE

Extensible SOAP Runtime

Pluggable Features

Security

Protocols

....

Page 10: SAP - Building Web Services With Java and SAP Web Application Server

8/13/2019 SAP - Building Web Services With Java and SAP Web Application Server

http://slidepdf.com/reader/full/sap-building-web-services-with-java-and-sap-web-application-server 10/27

SAP AG 2003, TechED_Basel / OSI202, Timm Falter / Martin Huvar / 19

SAP Web Services Infrastructure- Role-based Approach -

Provider side

Web Service Developer 

defines design time information of a Web Service

Web Service Configurator 

defines runtime information of a Web service

Consumer side

Web Service Client Developer 

SAP AG 2003, TechED_Basel / OSI202, Timm Falter / Martin Huvar / 20

Agenda

Web Service Overview What are Web services?

Why do we need them?

SAP NetWeaver

Web Service Technology

SAP Web Application Server 6.40

Providing Web Services

Consuming Web Services

Summary

Page 11: SAP - Building Web Services With Java and SAP Web Application Server

8/13/2019 SAP - Building Web Services With Java and SAP Web Application Server

http://slidepdf.com/reader/full/sap-building-web-services-with-java-and-sap-web-application-server 11/27

SAP AG 2003, TechED_Basel / OSI202, Timm Falter / Martin Huvar / 21

The Web Service Creation Wizard- Background -

Creating a Web Service in less than 1 minute

- The Web Service Creation wizard

proves that Web services are easy and out-of-the-box

allows to expose an existing endpoint as a Web Service with few

mouse-clicks

Only shows the most important settings in the wizard

Default values for other settings

hides technical details

implicitly creates all necessary objects

SAP AG 2003, TechED_Basel / OSI202, Timm Falter / Martin Huvar / 22

Steps for the Web Service Wizard

Implement Business Logic1

UDDI

Start Web Service Wizard2

Publish Web Service

(optional)3a

Deploy Web Service3

Virtual

Interface

Web

ServiceDefinition

Web

ServiceConfig.

generate

Page 12: SAP - Building Web Services With Java and SAP Web Application Server

8/13/2019 SAP - Building Web Services With Java and SAP Web Application Server

http://slidepdf.com/reader/full/sap-building-web-services-with-java-and-sap-web-application-server 12/27

SAP AG 2003, TechED_Basel / OSI202, Timm Falter / Martin Huvar / 23

Demo

Demo

Web Service

Creation Wizard 

SAP AG 2003, TechED_Basel / OSI202, Timm Falter / Martin Huvar / 24

Web Service Wizard Results

 All necessary files are created 

Virtual Interfaces

Web service Definition

Web Service Configuration

Enterprise Application Project (optional)

Page 13: SAP - Building Web Services With Java and SAP Web Application Server

8/13/2019 SAP - Building Web Services With Java and SAP Web Application Server

http://slidepdf.com/reader/full/sap-building-web-services-with-java-and-sap-web-application-server 13/27

SAP AG 2003, TechED_Basel / OSI202, Timm Falter / Martin Huvar / 25

The Web Service Homepage

The Web Service Homepage

is available for each deployed Web Service

shows the documentation for the Web Service

allows to retrieve WSDL descriptions in different styles

allows to generate standalone proxies

offers testing capabilities

SAP AG 2003, TechED_Basel / OSI202, Timm Falter / Martin Huvar / 26

Web Service Explorer 

The Web Service Explorer 

is part of SAP NetWeaver Developer Studio

shows deployed Web services from different servers

(SAP and Non SAP)

is the starting point for the Web Service Homepage

is the starting point for Web Service Proxy generation

Page 14: SAP - Building Web Services With Java and SAP Web Application Server

8/13/2019 SAP - Building Web Services With Java and SAP Web Application Server

http://slidepdf.com/reader/full/sap-building-web-services-with-java-and-sap-web-application-server 14/27

SAP AG 2003, TechED_Basel / OSI202, Timm Falter / Martin Huvar / 27

Demo

Demo

Web Service

Homepage &Explorer 

SAP AG 2003, TechED_Basel / OSI202, Timm Falter / Martin Huvar / 28

The Web Service Creation Wizard- Background -

The Step-by-Step approach

Create all objects by hand

Full flexibility and options

More expenses

… but still configuration only

Page 15: SAP - Building Web Services With Java and SAP Web Application Server

8/13/2019 SAP - Building Web Services With Java and SAP Web Application Server

http://slidepdf.com/reader/full/sap-building-web-services-with-java-and-sap-web-application-server 15/27

SAP AG 2003, TechED_Basel / OSI202, Timm Falter / Martin Huvar / 29

The Step by Step Approach

Implement Business Logic1

UDDI

Define Virtual Interface (VI)2

Create Web Service Definition (WSD)3

Publish Web Service

(optional)5a

Publish WSD

(optional)3a

Deploy Web Service5

Configure Web Service4

SAP AG 2003, TechED_Basel / OSI202, Timm Falter / Martin Huvar / 30

Support for Web Service Developers (1)- Background -

The Web Service developer 

knows/defines the application logic

knows/defines the Web Service Interface

which should be accessible for clients

knows/defines the “behavior” of the Web Service

e.g. “Stateless / Stateful”, Security requirements, etc.

does not need to have detailed knowledge about

technical protocols which implement abstract behavior 

concrete application servers on which the Web Service will be running

  Defines Design-Time information of a Web Service

Page 16: SAP - Building Web Services With Java and SAP Web Application Server

8/13/2019 SAP - Building Web Services With Java and SAP Web Application Server

http://slidepdf.com/reader/full/sap-building-web-services-with-java-and-sap-web-application-server 16/27

SAP AG 2003, TechED_Basel / OSI202, Timm Falter / Martin Huvar / 31

Support for Web Service Developers (2)- Tasks of a Web Service Developer -

Step 1: Implementing the business logic 

Supported by the standard IDE

Takes place in “Endpoint-specific” standard Tools

Java: SAP NetWeaver Developer Studio

ABAP: SE80

SAP AG 2003, TechED_Basel / OSI202, Timm Falter / Martin Huvar / 32

Support for Web Service Developers (3)- Tasks of a Web Service Developer -

Step 2: Definition of Virtual Interface

Web Service Interface = Interface visible to clients (via WSDL, UDDI, … )

Supported by the Web Service Infrastructure via Virtual Interface Editor 

A Virtual Interface

provides abstraction from concrete implementation (=endpoint)

allows to publish a “view” on existing implementations as Web Service

Interfaces

i.e. renaming, hiding of parameters/methods, default values

allows to define how the Web Service Interface is represented in the

SOAP message

Page 17: SAP - Building Web Services With Java and SAP Web Application Server

8/13/2019 SAP - Building Web Services With Java and SAP Web Application Server

http://slidepdf.com/reader/full/sap-building-web-services-with-java-and-sap-web-application-server 17/27

SAP AG 2003, TechED_Basel / OSI202, Timm Falter / Martin Huvar / 33

Virtual Interfaces

Virtual

Interface

Implementation

Layer 

i_credit

segment (I)i_partner

(I)

e_score

(O)FSCM_Cr_Limit_Check

e_limit

(O)

e_currency

(O)

e_valid_to

(O)

<SOAP-ENV:Envelope>

<SOAP-ENV:Body>

<ns1:creditLimitCheck>

<ns1:idNumber>1001</ns1:idNumber>

</ns1:creditLimitCheck>

</SOAP-ENV:Body></SOAP-ENV:Envelope>

<SOAP-ENV:Envelope>

<SOAP-ENV:Body>

<rpl:creditLimitCheckResponse>

<rpl:Response>

<tns:score>980</tns:score>

<tns:creditLimit>500000.00</tns:creditLimit>

<tns:limitCurrency>USD</tns:limitCurrency>

<tns:validTo>2005-01-01</tns:validTo></rpl:Response>

</rpl:creditLimitCheckResponse>

</SOAP-ENV:Body>

</SOAP-ENV:Envelope>

idNumber

(I)

score

(O)credit

Limit (O)

limit

Currency (O)

valid To

(O)creditLimitCheck

Request

Default Value:

BUP001

Response

SAP AG 2003, TechED_Basel / OSI202, Timm Falter / Martin Huvar / 34

Virtual Interfaces

Virtual

Interface

Implementation

Layer 

i_credit

segment (I)i_partner

(I)

e_score

(O)FSCM_Cr_Limit_Check

e_limit

(O)

e_currency

(O)

e_valid_to

(O)

<SOAP-ENV:Envelope><SOAP-ENV:Body>

<ns1:creditLimitCheck>

<ns1:idNumber>1001</ns1:idNumber>

</ns1:creditLimitCheck>

</SOAP-ENV:Body>

</SOAP-ENV:Envelope>

<SOAP-ENV:Envelope>

<SOAP-ENV:Body>

<rpl:creditLimitCheckResponse>

<rpl:Response>

<tns:score>980</tns:score>

<tns:creditLimit>500000.00</tns:creditLimit>

<tns:limitCurrency>USD</tns:limitCurrency>

<tns:validTo>2005-01-01</tns:validTo>

</rpl:Response>

</rpl:creditLimitCheckResponse>

</SOAP-ENV:Body>

</SOAP-ENV:Envelope>

idNumber

(I)

score

(O)credit

Limit (O)

limit

Currency (O)

valid To

(O)creditLimitCheck

Request

Default Value:

BUP001

Response

Rename Methods

Page 18: SAP - Building Web Services With Java and SAP Web Application Server

8/13/2019 SAP - Building Web Services With Java and SAP Web Application Server

http://slidepdf.com/reader/full/sap-building-web-services-with-java-and-sap-web-application-server 18/27

SAP AG 2003, TechED_Basel / OSI202, Timm Falter / Martin Huvar / 35

Virtual Interfaces

Virtual

Interface

Implementation

Layer 

i_credit

segment (I)i_partner

(I)

e_score

(O)FSCM_Cr_Limit_Check

e_limit

(O)

e_currency

(O)

e_valid_to

(O)

<SOAP-ENV:Envelope>

<SOAP-ENV:Body>

<ns1:creditLimitCheck>

<ns1:idNumber>1001</ns1:idNumber>

</ns1:creditLimitCheck>

</SOAP-ENV:Body></SOAP-ENV:Envelope>

<SOAP-ENV:Envelope>

<SOAP-ENV:Body>

<rpl:creditLimitCheckResponse>

<rpl:Response>

<tns:score>980</tns:score>

<tns:creditLimit>500000.00</tns:creditLimit>

<tns:limitCurrency>USD</tns:limitCurrency>

<tns:validTo>2005-01-01</tns:validTo></rpl:Response>

</rpl:creditLimitCheckResponse>

</SOAP-ENV:Body>

</SOAP-ENV:Envelope>

idNumber

(I)

score

(O)credit

Limit (O)

limit

Currency (O)

valid To

(O)creditLimitCheck

Request

Default Value:

BUP001

Response

Rename Parameters

SAP AG 2003, TechED_Basel / OSI202, Timm Falter / Martin Huvar / 36

Virtual Interfaces

Virtual

Interface

Implementation

Layer 

i_credit

segment (I)i_partner

(I)

e_score

(O)FSCM_Cr_Limit_Check

e_limit

(O)

e_currency

(O)

e_valid_to

(O)

<SOAP-ENV:Envelope><SOAP-ENV:Body>

<ns1:creditLimitCheck>

<ns1:idNumber>1001</ns1:idNumber>

</ns1:creditLimitCheck>

</SOAP-ENV:Body>

</SOAP-ENV:Envelope>

<SOAP-ENV:Envelope>

<SOAP-ENV:Body>

<rpl:creditLimitCheckResponse>

<rpl:Response>

<tns:score>980</tns:score>

<tns:creditLimit>500000.00</tns:creditLimit>

<tns:limitCurrency>USD</tns:limitCurrency>

<tns:validTo>2005-01-01</tns:validTo>

</rpl:Response>

</rpl:creditLimitCheckResponse>

</SOAP-ENV:Body>

</SOAP-ENV:Envelope>

idNumber

(I)

score

(O)credit

Limit (O)

limit

Currency (O)

valid To

(O)creditLimitCheck

Request

Default Value:

BUP001

Response

Hide parameters and

 / or provide default

values

Page 19: SAP - Building Web Services With Java and SAP Web Application Server

8/13/2019 SAP - Building Web Services With Java and SAP Web Application Server

http://slidepdf.com/reader/full/sap-building-web-services-with-java-and-sap-web-application-server 19/27

SAP AG 2003, TechED_Basel / OSI202, Timm Falter / Martin Huvar / 37

Demo

Demo

Virtual Interfaces

SAP AG 2003, TechED_Basel / OSI202, Timm Falter / Martin Huvar / 38

Support for Web Service Developers (4)- Tasks of a Web Service Developer -

Step 3: Creation of Web Service Definition Web Service Definition = Assignment of behavior to a Web Service

Interface via features

Motivation

a Web Service is not only described by its interface but also by its behavior 

with respect to

stateless/stateful communication,

transactional behavior,

security requirements, …

Idea:

describe this kind of behavior via abstract features

leave it to the Web Service Configurator to assign technical protocols to

these abstract features

Example:

Feature: Stateful

Technical Protocols: Stateful via HTTP-Cookies,Stateful via URL-Extensions

Page 20: SAP - Building Web Services With Java and SAP Web Application Server

8/13/2019 SAP - Building Web Services With Java and SAP Web Application Server

http://slidepdf.com/reader/full/sap-building-web-services-with-java-and-sap-web-application-server 20/27

SAP AG 2003, TechED_Basel / OSI202, Timm Falter / Martin Huvar / 39

Support for Web Service Developers (5)- Tasks of a Web Service Developer -

Benefits

The same Web Service definition can be deployed to various application

servers which may differ in their technical capabilities

Web Service Client implementations do not depend from technical server

information

Clients are generated based on implementation-independent Web

Service definitions

Technical details are configured separately in the Web Service Client

Runtime

Supported by the Web Service Infrastructure via

Web Service Definition Editor 

UDDI Publication of Web Service Definitions

WSDL Generation for Web Service Definitions

SAP AG 2003, TechED_Basel / OSI202, Timm Falter / Martin Huvar / 40

Demo

Demo

Web ServiceDefinition

Page 21: SAP - Building Web Services With Java and SAP Web Application Server

8/13/2019 SAP - Building Web Services With Java and SAP Web Application Server

http://slidepdf.com/reader/full/sap-building-web-services-with-java-and-sap-web-application-server 21/27

SAP AG 2003, TechED_Basel / OSI202, Timm Falter / Martin Huvar / 41

Support for Web Service Configurators (1)- Background -

The Web Service Configurator 

knows the technical protocols which implement the abstract features

knows the System Landscape

knows the Web Service capabilities of the single Application Servers

  Defines Runtime information of a Web Service

SAP AG 2003, TechED_Basel / OSI202, Timm Falter / Martin Huvar / 42

Support for Web Service Configurators (2)- Tasks of a Web Service Configurator -

Step 1: Technical configuration of a Web Service Definition

Assignment of technical protocols to the abstract features

based on the Web Service capabilities of the Application Server 

Configuration of additional Web Service Runtime features

Logging, Tracing, Monitoring

Security Roles

Supported by the Web Service Infrastructure via

Web Service Configuration Editor 

Page 22: SAP - Building Web Services With Java and SAP Web Application Server

8/13/2019 SAP - Building Web Services With Java and SAP Web Application Server

http://slidepdf.com/reader/full/sap-building-web-services-with-java-and-sap-web-application-server 22/27

SAP AG 2003, TechED_Basel / OSI202, Timm Falter / Martin Huvar / 43

Support for Web Service Configurators (3)- Tasks of a Web Service Configurator -

Step 2: Deployment of a Web Service

Deployment of the Web Service archive to a specific application

server 

Supported by Web Service Infrastructure via

Integration of Web Service deployment in J2EE Deploy Tool

WSDL Generation for deployed Web Services

UDDI Publishing

Web Service Administrator 

SAP AG 2003, TechED_Basel / OSI202, Timm Falter / Martin Huvar / 44

Demo

Demo

Web ServiceConfiguration

and

Deployment 

Page 23: SAP - Building Web Services With Java and SAP Web Application Server

8/13/2019 SAP - Building Web Services With Java and SAP Web Application Server

http://slidepdf.com/reader/full/sap-building-web-services-with-java-and-sap-web-application-server 23/27

SAP AG 2003, TechED_Basel / OSI202, Timm Falter / Martin Huvar / 45

Agenda

Web Service Overview

What are Web services?

Why do we need them?

SAP NetWeaver

Web Service Technology

SAP Web Application Server 6.40

Providing Web Services

Consuming Web Services

Summary

SAP AG 2003, TechED_Basel / OSI202, Timm Falter / Martin Huvar / 46

Support for Web Service Consumers (1)- Background -

The Web Service client developer 

implements the client application

knows how to use the Web Service client proxy in the client application

knows how to get the description of a Web Service

(UDDI, WSDL, …)

knows how to generate the Web Service client proxy

Page 24: SAP - Building Web Services With Java and SAP Web Application Server

8/13/2019 SAP - Building Web Services With Java and SAP Web Application Server

http://slidepdf.com/reader/full/sap-building-web-services-with-java-and-sap-web-application-server 24/27

SAP AG 2003, TechED_Basel / OSI202, Timm Falter / Martin Huvar / 47

Support for Web Service Consumers (2)- Tasks of a Web Service Consumer -

Step 1: Retrieve description of Web Service

Retrieval of URL of WSDL description

either manually,

or using UDDI Browsing

Supported by the Web Service Infrastructure via

Web Service Proxy Project

UDDI Client Browser 

SAP AG 2003, TechED_Basel / OSI202, Timm Falter / Martin Huvar / 48

Support for Web Service Consumers (3)- Tasks of a Web Service Consumer -

Step 2: Generate Web Service Client Proxy 

Start proxy generator based on imported WSDL Document

Supported by the Web Service Infrastructure via

Web Service Proxy Project

Step 3: Implementation of Client Application

Use generated client proxies

Supported by the Web Service Infrastructure via

the standard Java IDE

Page 25: SAP - Building Web Services With Java and SAP Web Application Server

8/13/2019 SAP - Building Web Services With Java and SAP Web Application Server

http://slidepdf.com/reader/full/sap-building-web-services-with-java-and-sap-web-application-server 25/27

SAP AG 2003, TechED_Basel / OSI202, Timm Falter / Martin Huvar / 49

Demo

Demo

Web Service

Proxy Project 

SAP AG 2003, TechED_Basel / OSI202, Timm Falter / Martin Huvar / 50

Summary

The Enterprise Service Architecture (ESA), SAP’s approach forbuilding services-oriented business applications utilizes Web

Services as vital part of its communication and integration

strategy

SAP’s rich business functionality, in conjunction with

state-of-the-art technology, enables you to establish cross-

company business processes as an integrated part of your

development efforts based on Web Services

SAP Web Application Server 6.40 offers an easy, convenient way

to build Web services

Page 26: SAP - Building Web Services With Java and SAP Web Application Server

8/13/2019 SAP - Building Web Services With Java and SAP Web Application Server

http://slidepdf.com/reader/full/sap-building-web-services-with-java-and-sap-web-application-server 26/27

SAP AG 2003, TechED_Basel / OSI202, Timm Falter / Martin Huvar / 51

Q A

Questions?

SAP AG 2003, TechED_Basel / OSI202, Timm Falter / Martin Huvar / 52

Please complete your session evaluation and

drop it in the box on your way out.

Feedback

Thank You

The SAP TechEd ’03 Basel Team

Page 27: SAP - Building Web Services With Java and SAP Web Application Server

8/13/2019 SAP - Building Web Services With Java and SAP Web Application Server

http://slidepdf.com/reader/full/sap-building-web-services-with-java-and-sap-web-application-server 27/27

SAP AG 2003, TechED_Basel / OSI202, Timm Falter / Martin Huvar / 53

No part of this publication may be reproduced or transmitted in any form or for any purpose without the express

permission of SAP AG. The information contained herein may be changed without prior notice.

Some software products marketed by SAP AG and its distributors contain proprietary software components of other

software vendors.

Microsoft®, WINDOWS®, NT®, EXCEL®, Word®, PowerPoint® and SQL Server ® are registered trademarks of

Microsoft Corporation.

IBM®, DB2®, DB2 Universal Database, OS/2®, Parallel Sysplex®, MVS/ESA, AIX®, S/390®, AS/400®, OS/390®,

OS/400®, iSeries, pSeries, xSeries, zSeries, z/OS, AFP, Intelligent Miner, WebSphere®, Netfinity®, Tivoli®, Informix

and Informix® Dynamic Server TM are trademarks of IBM Corporation in USA and/or other countries.

ORACLE® is a registered trademark of ORACLE Corporation.

UNIX®, X/Open®, OSF/1®, and Motif ® are registered trademarks of the Open Group.

Citrix®, the Citrix logo, ICA®, Program Neighborhood®, MetaFrame®, WinFrame®, VideoFrame®, MultiWin® and

other Citrix product names referenced herein are trademarks of Citrix Systems, Inc.

HTML, DHTML, XML, XHTML are trademarks or registered trademarks of W3C®, World Wide Web Consortium,

Massachusetts Institute of Technology.

JAVA® is a registered trademark of Sun Microsystems, Inc.

JAVASCRIPT® is a registered trademark of Sun Microsystems, Inc., used under license for technology invented

and implemented by Netscape.

MarketSet and Enterprise Buyer are jointly owned trademarks of SAP AG and Commerce One.

SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver and other SAP products and services mentioned

herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in

several other countries all over the world. All other product and service names mentioned are the trademarks of

their respective companies.

Copyright 2003 SAP AG. All Rights Reserved

Corporate Colors for PPT

SAP Blue SAP Gold SAP Gray

 You can use these colors with gradations

Remo ve page  for s l ide s h

o w