Topic2 Part2 Web Service Creation
Transcript of Topic2 Part2 Web Service Creation
![Page 1: Topic2 Part2 Web Service Creation](https://reader033.fdocuments.in/reader033/viewer/2022051007/577ccf3f1a28ab9e788f40b4/html5/thumbnails/1.jpg)
SAP FlashbookProviding Web ServicesPart 2Author: Susanne Rothaug
This e-learning session contains narration!
![Page 2: Topic2 Part2 Web Service Creation](https://reader033.fdocuments.in/reader033/viewer/2022051007/577ccf3f1a28ab9e788f40b4/html5/thumbnails/2.jpg)
SAP AG 2003, Title of Presentation, Speaker Name / 2
Objectives
After completing this session, you will be able to:
manually create and edit a
Web Service Definition and a Web Service Configuration
![Page 3: Topic2 Part2 Web Service Creation](https://reader033.fdocuments.in/reader033/viewer/2022051007/577ccf3f1a28ab9e788f40b4/html5/thumbnails/3.jpg)
SAP AG 2003, Title of Presentation, Speaker Name / 3
Web Service Definition
A Web service Definition is the assignment of behavior to a Virtual Interface via features
MotivationA 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 4: Topic2 Part2 Web Service Creation](https://reader033.fdocuments.in/reader033/viewer/2022051007/577ccf3f1a28ab9e788f40b4/html5/thumbnails/4.jpg)
SAP AG 2003, Title of Presentation, Speaker Name / 4
Web Service Definition
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 on technical server information
Clients are generated based on implementation-independent Web Service definitions
Technical details are configured separately in the Web Service Client Runtime
![Page 5: Topic2 Part2 Web Service Creation](https://reader033.fdocuments.in/reader033/viewer/2022051007/577ccf3f1a28ab9e788f40b4/html5/thumbnails/5.jpg)
SAP AG 2003, Title of Presentation, Speaker Name / 5
Create Web Service Definition
Choose “Web Service
Definition”
![Page 6: Topic2 Part2 Web Service Creation](https://reader033.fdocuments.in/reader033/viewer/2022051007/577ccf3f1a28ab9e788f40b4/html5/thumbnails/6.jpg)
SAP AG 2003, Title of Presentation, Speaker Name / 6
Create Web Service Definition
Specify a name
Choose a package
![Page 7: Topic2 Part2 Web Service Creation](https://reader033.fdocuments.in/reader033/viewer/2022051007/577ccf3f1a28ab9e788f40b4/html5/thumbnails/7.jpg)
SAP AG 2003, Title of Presentation, Speaker Name / 7
Create Web Service Definition
Overview of the WSD
![Page 8: Topic2 Part2 Web Service Creation](https://reader033.fdocuments.in/reader033/viewer/2022051007/577ccf3f1a28ab9e788f40b4/html5/thumbnails/8.jpg)
SAP AG 2003, Title of Presentation, Speaker Name / 8
Create Web Service Definition
Features of the WSD: Session
![Page 9: Topic2 Part2 Web Service Creation](https://reader033.fdocuments.in/reader033/viewer/2022051007/577ccf3f1a28ab9e788f40b4/html5/thumbnails/9.jpg)
SAP AG 2003, Title of Presentation, Speaker Name / 9
Create Web Service Definition
Features of the WSD:
Authentication
![Page 10: Topic2 Part2 Web Service Creation](https://reader033.fdocuments.in/reader033/viewer/2022051007/577ccf3f1a28ab9e788f40b4/html5/thumbnails/10.jpg)
SAP AG 2003, Title of Presentation, Speaker Name / 10
Create Web Service Definition
Features of the WSD:
Authorization
![Page 11: Topic2 Part2 Web Service Creation](https://reader033.fdocuments.in/reader033/viewer/2022051007/577ccf3f1a28ab9e788f40b4/html5/thumbnails/11.jpg)
SAP AG 2003, Title of Presentation, Speaker Name / 11
Create Web Service Definition
Features of the WSD:
Transport Guarantee
![Page 12: Topic2 Part2 Web Service Creation](https://reader033.fdocuments.in/reader033/viewer/2022051007/577ccf3f1a28ab9e788f40b4/html5/thumbnails/12.jpg)
SAP AG 2003, Title of Presentation, Speaker Name / 12
Create Web Service Definition
Feautures of the WSD:
Message ID
![Page 13: Topic2 Part2 Web Service Creation](https://reader033.fdocuments.in/reader033/viewer/2022051007/577ccf3f1a28ab9e788f40b4/html5/thumbnails/13.jpg)
SAP AG 2003, Title of Presentation, Speaker Name / 13
Web Service Configuration & Deployment - 1 -
A Web Service Configuration is the assignment of technical
protocols to abstract features
Based on the Web Service capabilities of the specific SAP Web Application Server
Configuration of additional Web Service Runtime featuresLogging, Tracing, MonitoringSecurity Roles…
Deployment as usualSDM deployment in Java
![Page 14: Topic2 Part2 Web Service Creation](https://reader033.fdocuments.in/reader033/viewer/2022051007/577ccf3f1a28ab9e788f40b4/html5/thumbnails/14.jpg)
SAP AG 2003, Title of Presentation, Speaker Name / 14
Web Service Configuration & Deployment - 2 -
Create New Deployment Descriptor
![Page 15: Topic2 Part2 Web Service Creation](https://reader033.fdocuments.in/reader033/viewer/2022051007/577ccf3f1a28ab9e788f40b4/html5/thumbnails/15.jpg)
SAP AG 2003, Title of Presentation, Speaker Name / 15
Web Service Configuration & Deployment - 3 -
Select “Web Service
Configurations”…
…and choose “Add”.
![Page 16: Topic2 Part2 Web Service Creation](https://reader033.fdocuments.in/reader033/viewer/2022051007/577ccf3f1a28ab9e788f40b4/html5/thumbnails/16.jpg)
SAP AG 2003, Title of Presentation, Speaker Name / 16
Web Service Configuration & Deployment - 4 -
Choose the EJB
Reference
![Page 17: Topic2 Part2 Web Service Creation](https://reader033.fdocuments.in/reader033/viewer/2022051007/577ccf3f1a28ab9e788f40b4/html5/thumbnails/17.jpg)
SAP AG 2003, Title of Presentation, Speaker Name / 17
Web Service Configuration & Deployment - 5 -
Choose the WSD
Reference
![Page 18: Topic2 Part2 Web Service Creation](https://reader033.fdocuments.in/reader033/viewer/2022051007/577ccf3f1a28ab9e788f40b4/html5/thumbnails/18.jpg)
SAP AG 2003, Title of Presentation, Speaker Name / 18
Web Service Configuration & Deployment - 6 -
Select “CreditCheckWS”
…
…and choose “Add”.
![Page 19: Topic2 Part2 Web Service Creation](https://reader033.fdocuments.in/reader033/viewer/2022051007/577ccf3f1a28ab9e788f40b4/html5/thumbnails/19.jpg)
SAP AG 2003, Title of Presentation, Speaker Name / 19
Web Service Configuration & Deployment - 7 -
Choose the transport binding
![Page 20: Topic2 Part2 Web Service Creation](https://reader033.fdocuments.in/reader033/viewer/2022051007/577ccf3f1a28ab9e788f40b4/html5/thumbnails/20.jpg)
SAP AG 2003, Title of Presentation, Speaker Name / 20
Web Service Configuration & Deployment - 8 -
Overview of the WSC
![Page 21: Topic2 Part2 Web Service Creation](https://reader033.fdocuments.in/reader033/viewer/2022051007/577ccf3f1a28ab9e788f40b4/html5/thumbnails/21.jpg)
SAP AG 2003, Title of Presentation, Speaker Name / 21
Web Service Configuration & Deployment - 9 -
Authentication Types
![Page 22: Topic2 Part2 Web Service Creation](https://reader033.fdocuments.in/reader033/viewer/2022051007/577ccf3f1a28ab9e788f40b4/html5/thumbnails/22.jpg)
SAP AG 2003, Title of Presentation, Speaker Name / 22
Web Service Configuration & Deployment - 10 -
Create EAR project
![Page 23: Topic2 Part2 Web Service Creation](https://reader033.fdocuments.in/reader033/viewer/2022051007/577ccf3f1a28ab9e788f40b4/html5/thumbnails/23.jpg)
SAP AG 2003, Title of Presentation, Speaker Name / 23
Web Service Configuration & Deployment - 11 -
Build EAR file
![Page 24: Topic2 Part2 Web Service Creation](https://reader033.fdocuments.in/reader033/viewer/2022051007/577ccf3f1a28ab9e788f40b4/html5/thumbnails/24.jpg)
SAP AG 2003, Title of Presentation, Speaker Name / 24
Web Service Configuration & Deployment - 12 -
![Page 25: Topic2 Part2 Web Service Creation](https://reader033.fdocuments.in/reader033/viewer/2022051007/577ccf3f1a28ab9e788f40b4/html5/thumbnails/25.jpg)
SAP AG 2003, Title of Presentation, Speaker Name / 25
Summary
Now you should be able to:
manually create and edit a
Web Service Definition and a Web Service Configuration