Professional Documents
Culture Documents
Building Web Services With Abap and Sap Web Application Server PDF
Building Web Services With Abap and Sap Web Application Server PDF
Martin Huvar
Product Manager Enterprise Services / SAP AG Walldorf
Learning Objectives
2003 SAP AG
Agenda
SAP NetWeaver
Web Service Technology
SAP Web Application Server 6.40
Providing Web Services
Consuming Web Services
Summary
2003 SAP AG
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
Service
Publication
Service
Discovery
2
Service Directory
UDDI
XML/
SOAP
WSDL/
XSD
http
3
Service Requestor
Service
Execution
Service Provider
2003 SAP AG
Pricing inquiry
Customer credit check
Demo
Demo
Web Service
Example
2003 SAP AG
Company
CRM
Order
Service Provider
Credit
Management
System
Financial
Credit
standing
Database
Credit
Limit
Check
Create
Order
Database
History
Creditlimit
OK?
Process
Order
OK
rejected
= Web Service
SAP AG 2003, TechED_Basel / OSI202, Timm Falter / Martin Huvar / 9
Web Service
Web Service
Virtual Interface
Virtual Interface
2003 SAP AG
Open Technology
Standards for Web
Services
XML, WSDL, SOAP, UDDI, WSI
Web Service
Referent
Technology
to business
semantics
RosettaNet,
Spec2000,
HR-XML,
XBRL, IFX,
papiNet,
....
Web Service
Technology
SAP NetWeaver
Agenda
SAP NetWeaver
Web Service Technology
SAP Web Application Server 6.40
Providing Web Services
Consuming Web Services
Summary
2003 SAP AG
Development
Environment
Web Service Configuration
WSDL Generation
WSDL
Web Service
Configuration
Security
Transactions
EJB
Protocols
Web Service
Consumer
BAPI
Pluggable Features
IDoc
Web Service
Interfaces
Extensible Runtime
SOAP
RFC
SOAP Processing
Business Application
UDDI Publishing
UDDI
SAP Web
Application
Server
UDDI
WSDL
Proxy
Config.
Web Service
Proxies
Business Application
SOAP Processing
Extensible runtime
SOAP
Pluggable features
Security
Transactions
Web Service
Provider
Protocols
SAP AG 2003, TechED_Basel / OSI202, Timm Falter / Martin Huvar / 14
2003 SAP AG
Business
BusinessProcess
Process
Engine
Engine
Integration
Integration
Repository
Repository &&
Directory
Directory
Routing
Routing
Mapping
Mapping
RFC
RFC
Web
WebServices
ServicesInfrastructure
Infrastructure
...
...
RMI
RMI
SOAP
Adapter
Native
Protocol
SOAP
SOAP
mySAP
mySAP
Component
Component
Adapter
Native
Protocol
SOAP
NON
NONSAP
SAP
Component
Component
mySAP
mySAP
Component
Component
NON
NONSAP
SAP
Component
Component
Integration
Server
Integration
Repository
& Directory
Inbound
Proxy
Application
Application
Outbound
Proxy
XI
Mediated Execution
via Web Services
2003 SAP AG
Agenda
SAP NetWeaver
Web Service Technology
SAP Web Application Server 6.40
Providing Web Services
Consuming Web Services
Summary
2003 SAP AG
Benefits
Web Service interfaces provide a virtual abstraction from the
implementation layer
Fully integrated into development environment
Full fledged UDDI capabilities
UDDI server implementation
UDDI client functionality
Provider-side
Web Service Developer
defines design time information of a Web Service
Consumer-side
Web Service Client Developer
2003 SAP AG
10
Agenda
SAP NetWeaver
Web Service Technology
SAP Web Application Server 6.40
Providing Web Services
Consuming Web Services
Summary
2003 SAP AG
11
Virtual
Interface
Web
Service
Definition
Web
Service
Config.
UDDI
Demo
Demo
Web Service
Creation Wizard
2003 SAP AG
12
2003 SAP AG
13
2003 SAP AG
14
2003 SAP AG
15
2003 SAP AG
16
Demo
Demo
Web Service
Homepage
2003 SAP AG
17
Homepage - Overview
2003 SAP AG
18
2003 SAP AG
19
2003 SAP AG
20
3a
Publish WSD
(optional)
2003 SAP AG
21
2003 SAP AG
22
2003 SAP AG
23
Virtual Interfaces
Request
<SOAP-ENV:Envelope>
<SOAP-ENV:Body>
<ns1:creditLimitCheck>
<ns1:idNumber>1001</ns1:idNumber>
</ns1:creditLimitCheck>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
creditLimitCheck
Default Value:
BUP001
idNumber
(I)
<SOAP-ENV:Envelope>
Response
<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>
score
(O)
credit
Limit (O)
limit
Currency (O)
e_limit
(O)
e_currency
(O)
valid To
(O)
Virtual
Interface
i_credit
segment (I)
FSCM_Cr_Limit_Check
i_partner
(I)
e_score
(O)
e_valid_to
(O)
Implementation
Layer
SAP AG 2003, TechED_Basel / OSI202, Timm Falter / Martin Huvar / 47
Virtual Interfaces
Request
<SOAP-ENV:Envelope>
<SOAP-ENV:Body>
<ns1:creditLimitCheck>
<ns1:idNumber>1001</ns1:idNumber>
</ns1:creditLimitCheck>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<SOAP-ENV:Envelope>
Response
<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>
Rename Methods
creditLimitCheck
Default Value:
BUP001
idNumber
(I)
score
(O)
credit
Limit (O)
limit
Currency (O)
e_limit
(O)
e_currency
(O)
valid To
(O)
Virtual
Interface
FSCM_Cr_Limit_Check
i_credit
segment (I)
i_partner
(I)
e_score
(O)
e_valid_to
(O)
Implementation
Layer
SAP AG 2003, TechED_Basel / OSI202, Timm Falter / Martin Huvar / 48
2003 SAP AG
24
Virtual Interfaces
<SOAP-ENV:Envelope>
Response
<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>
Request
<SOAP-ENV:Envelope>
<SOAP-ENV:Body>
<ns1:creditLimitCheck>
<ns1:idNumber>1001</ns1:idNumber>
</ns1:creditLimitCheck>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Rename Parameters
creditLimitCheck
Default Value:
BUP001
idNumber
(I)
score
(O)
credit
Limit (O)
limit
Currency (O)
e_limit
(O)
e_currency
(O)
valid To
(O)
Virtual
Interface
i_credit
segment (I)
FSCM_Cr_Limit_Check
i_partner
(I)
e_score
(O)
e_valid_to
(O)
Implementation
Layer
SAP AG 2003, TechED_Basel / OSI202, Timm Falter / Martin Huvar / 49
Virtual Interfaces
Request
<SOAP-ENV:Envelope>
<SOAP-ENV:Body>
<ns1:creditLimitCheck>
<ns1:idNumber>1001</ns1:idNumber>
</ns1:creditLimitCheck>
Hide
</SOAP-ENV:Body>
/ or
</SOAP-ENV:Envelope>
creditLimitCheck
Default Value:
BUP001
<SOAP-ENV:Envelope>
Response
<SOAP-ENV:Body>
<rpl:creditLimitCheckResponse>
<rpl:Response>
<tns:score>980</tns:score>
<tns:creditLimit>500000.00</tns:creditLimit>
<tns:limitCurrency>USD</tns:limitCurrency>
parameters
and
<tns:validTo>2005-01-01</tns:validTo>
provide default
</rpl:Response>
</rpl:creditLimitCheckResponse>
values
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
idNumber
(I)
score
(O)
credit
Limit (O)
limit
Currency (O)
e_limit
(O)
e_currency
(O)
valid To
(O)
Virtual
Interface
FSCM_Cr_Limit_Check
i_credit
segment (I)
i_partner
(I)
e_score
(O)
e_valid_to
(O)
Implementation
Layer
SAP AG 2003, TechED_Basel / OSI202, Timm Falter / Martin Huvar / 50
2003 SAP AG
25
Demo
Demo
Virtual Interfaces
2003 SAP AG
26
Rename
Parameter
Type
mapping
Define
default value
Hide
parameter
SAP AG 2003, TechED_Basel / OSI202, Timm Falter / Martin Huvar / 54
2003 SAP AG
27
2003 SAP AG
28
Copied
Type
Rename
Field
2003 SAP AG
29
2003 SAP AG
30
Original
type
Choose new
type
2003 SAP AG
31
Type mappings
applied
new type
assigned
Stateful
Technical Protocols:
2003 SAP AG
32
Demo
Demo
Web Service
Definition
2003 SAP AG
33
2003 SAP AG
34
Start UDDI
publishing
2003 SAP AG
35
2003 SAP AG
36
2003 SAP AG
37
2003 SAP AG
38
Demo
Demo
Web Service
Configuration
and
Administration
SAP AG 2003, TechED_Basel / OSI202, Timm Falter / Martin Huvar / 77
2003 SAP AG
39
Configure
Transport Settings
SAP AG 2003, TechED_Basel / OSI202, Timm Falter / Martin Huvar / 80
2003 SAP AG
40
Configure
Security Settings
2003 SAP AG
41
Display WSDL
Open WS
Homepage
Configure
Logging, Tracing
Start UDDI
Publishing
SAP AG 2003, TechED_Basel / OSI202, Timm Falter / Martin Huvar / 84
2003 SAP AG
42
2003 SAP AG
43
Agenda
SAP NetWeaver
Web Service Technology
SAP Web Application Server 6.40
Providing Web Services
Consuming Web Services
Summary
2003 SAP AG
44
2003 SAP AG
45
Demo
Demo
Web Service
Proxy Project
2003 SAP AG
46
2003 SAP AG
47
2003 SAP AG
48
2003 SAP AG
49
2003 SAP AG
50
2003 SAP AG
51
Configure
Security Settings
Summary
The Enterprise Service Architecture (ESA), SAPs approach for
building services-oriented business applications utilizes Web
Services as vital part of its communication and integration
strategy
SAPs rich business functionality, in conjunction with
state-of-the-art technology, enables you to establish crosscompany 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
2003 SAP AG
52
Questions?
Q&A
Feedback
Thank You !
The SAP TechEd 03 Basel Team
2003 SAP AG
53
SAP Blue
e fo
Remove pag
SAP Gold
w
r slide sho
SAP Gray
2003 SAP AG
54