Basic of OData
July 28, 2022 | Author: Anonymous | Category: N/A
Short Description
Download Basic of OData...
Description
SAP
Netweaver Gateway (OData)
Topics
to cover
DAY1
History of OData, Introduction, Need of OData When to use OData? How it is different than the Web services? Which is better SOA or !"S#?
"ntity data $ode%, co$&%e' ty&e, association, navi(ation
NW architecture, "ssentia% co$&onents of NW )W, Where to (et fro$ SA service $ar*et &%ace+
reate -ode% and Data c%ass, show ti%% ti% % $etadata fetch+
S!O onfi(uration+.S-/0 confi(uration+
Assi(n handson e'ercise
2
Topics
to cover
DAY2
Doubts session+
-ode% &rovider c%ass, Data c%ass in detai%s. )et entity set and (et entity $ethod.
How to insta%% rest c%ient and testin( usin( Advance Advance rest c%ient.
DAY Doubts Session
reate entity $ethod+
Topics
to cover
DAY3
Doubts Session reate dee&entity $ethod+
DAY/
Doubt Session Service bui%der+ Navi(ation, association+.
3
What
are services and
messages?
Services are not c%asses, co$&onents or na$es&aces, they are se%f contained business functiona%ity.
/
History
o OData! "ntrod#ction! Need o OData
•
•
These are initially defned defned by Microsot. Based on open specifcations, where these services can be invoked easily by the clients.
4
When to #se OData? How it is di$erent than the We% services? Which is %etter SOAP or &'ST?
5
When to #se OData? How it is di$erent than the We% services? Which is %etter SOAP or &'ST?
6
When to #se OData? How it is di$erent than the We% services? Which is %etter SOAP or &'ST?
0
When to #se OData? How it is di$erent than the We% services? Which is %etter SOAP or &'ST?
17
OData
ODATA Stands or “Open Data rotocol!
"t is based on the Ato# $blishin% and Ato# Syndication Syndicatio n standards, which in t$rn, are based on &M' and (TT)S*.
"t was desi%ned to provide a standardised i#ple#entation o a +ST$l A". "n doin% so, it o-ers databaselike access to serverside reso$rces.
ODB/ or the web
OData is also e0tensible. This allows SA to s$pple#ent the data types $sed by OData with e0tra inor#ation ro# the ABA Data Dictionary. Dictionary.
Specifes how data sho$ld be encoded within eed
OData can be $sed to access table like li ke str$ct$res si#ilar to the way S1' does
ntity Data Model )DM* to describe OData Services
ach entity can s$pport /reate, +etrieve, 2pdate, and Delete operations
11
OData
ont
12
OData
Ato# Syndication -
The Ato# Syndication 4or#at 4or#at is a &M'based &M'based or#at $sed or web eeds )or news eeds*. "t5s
ont
basically an alternative to +SS.
Ato# $blishin% rotocol The Ato# $blishin% rotocol rotocol is an app applicationlevel licationlevel protocol protocol or
p$blishin% and editin% 6eb +eso$rces $sin% (TT
/entral to the Ato# $blishin% rotocol is the concept o
collections o
editable reso$rces reso$rces that are represented represented by 4eed 4eed and
ntry doc$#ents
1
OData
ont
ODATA ODATA e0tends Ato# by providin% a #etadata description o
#essa%e
OData provides defnitions or7
Si#ple Types
/o#ple0 Types
Associations between entries 8avi%ation aths between entries
/$sto# behavio$r )known as $nction i#ports* beyond the standard 12+9, 12+9,
/+A /+AT, T, +AD, 2DAT, 2DAT, D'T )1/+2D*
operations
13
Atom
p#%*ishing protoco*
1/
OData
and Data%ase
14
'ntity data mode*! comp*e+ type! association! navigation
An Entity Data Model )DM* is the startin% point when desi%nin% an OData service. The DM describes the or%anisation and relationship o the reso$rces within a partic$lar b$siness scenario
'ntity Type 7 Data #odel defnitions, str$ct$re types consist o list o properties
omp*e+ Type 7 Str$ct$re types also consist o list o properties b$t with wit h no key
'ntity Set 7 /ollection o ntity
Association 7 Defnes the relationship between two or #ore entity type
Navigation Property 7 Special property on entity type which are bo$nd to a specifc association and can be $sed to reer association o an entity entity
15
NW architect#re! 'ssentia* components o NW GW! Where to get rom SAP service mar,et p*ace-
16
Prere.#isites
10
reating
OData #sing OData
hanne*
27
Gateway
Service
Gateway
Service ont
21
View more...
Comments