#GX23 #GX3254 Integrando sistemas via OData Luis Murillo Artech Caso de estudio: GeneXus - SAP @lemurillo [email protected]
Jan 27, 2015
#GX23 #GX3254
Integrando sistemas via OData
Luis MurilloArtech
Caso de estudio: GeneXus - SAP
#GX23#GX3254
#GX23#GX3254
#GX23#GX3254
#GX23#GX3254
?OData
Microsoft Open Specification Promise
#GX23#GX3254
Open Data Protocol
Http / REST
Atom Publishing Protocol(AtomPub)
JSON / XML
#GX23#GX3254
Entity Entity
Entity
EntityProperty Navigation
Property
EntityProperty Navigation
Property
Entity
PropertyNavigatio
n Property
https://sapes1.sapdevcenter.com/sap/opu/odata/sap/<ODataServiceName>/
OData
https://<ODataServiceProvider>/<ODataServiceName>/$metadata
AtomPub Service
Collection Collection
Atom Feed
Entry
Entry
Entry
Atom Feed
Entry
Entry
Entry
Service
Feed
Entry
Property
Entity Container
Entity Set
Entity
Property
Database
Table
Row
Column Value
AtomPub EDM Relational
#GX23#GX3254
PUT
OData
The OData Protocol
GET ReadUpdate
CreateUpdate
Remove
MERGEPOST
DELETE
#GX23#GX3254
$orderby Categories?$orderby=CategoryName desc$orderby Categories?$orderby=CategoryName desc
$top Categories?$top=4$top Categories?$top=4
$skip Categories?$skip=4$skip Categories?$skip=4
$select Categories?$select=CategoryName,Description$select Categories?$select=CategoryName,Description
$format “atom”, “json” or “xml”$format “atom”, “json” or “xml”
$expand Categories/$expand=Products$expand Categories/$expand=Products
$filter Categories?$filter=CategoryName eq 'Produce'$filter Categories?$filter=CategoryName eq 'Produce'
ODataQuery Options
#GX23#GX3254
Filter Expresions
Categories?$filter=(CategoryID add 4) eq 8
Filter Expresions
Categories?$filter=(CategoryID add 4) eq 8
Filter Methods
Categories?$filter=startswith(CategoryName, 'Sea')
Filter Methods
Categories?$filter=startswith(CategoryName, 'Sea')
OData
#GX23#GX3254
#GX23#GX3254
GeneXus – SAP Odata integration
Demo
#GX23#GX3254
Any Odata Provider
#GX23#GX3254#GX23#GX3254
#GX23#GX3254
RECOMENDADAS
Tecnologías aplicadas a la Integración y cómo usarlas by Javier Larrosa
Evolución del lenguaje GeneXus by Gustavo Brown