on 11-30-2011 8:29 PM
Hi experts,
i m beginner in the sybase world ana i m looking for some tutorials/samples for using odata protocol within sybase apps.
someone can give me some links (step by step tutorials ), i was looking for the MOB265 course , but i can't find it
Thanks in advance.
Hi Moo,
If you are looking for some guide to start with SUP2.1 and oData, you ca refer to
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/607b76a7-c345-2f10-d5b3-f236ea676cb1
Regards
Rohith
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You will only have access to MOB265 if you went to Teched this year. Have you checked here: [SUP APPS|https://cw.sdn.sap.com/cw/groups/sup-apps] ? This is probably the best place to look plus the Sybase documentation on: [ODATA SDK documentation|http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc01708.0210/doc/html/title.html] Good luck.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I've been playing around with SUP and SAP NW Gateway for three days now... OData support officially appeared in SUP2.1.
SUP2.0 only has regular support for REST. For REST, a XSD definition seems to be required which SAP NW GW does not provide.
Sybase has some documentation on how to get started with OData development
Another great resource is the SUP Apps group on CodeExchange, both posted above (EDIT-Sorry, didn't see)
I'm watching this thread and I appreciate any bits of information on working with SAPNWGW & SUP.
--Paul
Edited by: Paul Grill on Dec 1, 2011 2:41 PM
Hi,
I am using SUP 2.1 and OData SDK 2.1 developed an application.
I had created OData Gateway service classes in SAP, and configured the Gateway service. I also created native iOS application with SUP OData 2.1 SDK, which connect to the SAP system via HTTPRequest to retrieve data and display on the iOS device.
Things going well on this, but I got question about what is the Sybase Unwired Platform role in this kind of development?
I think I need to deploy my application into the SUP, and let the SUP connect to the SAP OData Channel. But, I can't find any documentation of how to deploy the application into SUP. Not like MBO, we can use the Workspace to deploy the application to SUP.
I had went through sybase infocenter, and I still can't get the idea how OData work in SUP. Can someone give me more details on this? I hope someone can share with me on how the you deploy OData application in SUP?
Thank you.
Regards,
Edison Wang
What will be the end URL, consider a scenario where you would like to SUP 2.1 with relay server. and at the other end you will netweaver gateway which is connected to SUP
SAP <--->NWGW<-> SUP 2.1<
in this kind of connection what will be the URL for metadata or service doc, which I can mention in the code.
This blog might help you getting an overview on developing mobile Apps with SUP 2.1 and SAP NW Gateway 2.0 using OData.
Hi Marc,
Using SUP2.1-ODP, You can develop a online app to consume REST services exposed by Gateway. To do this you dont have to create MBOs. In the ODP context there is no storage of data in SUP. Data is directly consumed by app.
More details are available at blog http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/28283.
Regards
Rohith
Hi Marc,
SUP 2.0 is not supported for oData, you need to install SUP 2.1 instead, You need not to use MBOs at all for oData approach, SUP 2.1 just acts as a proxy, all you need to do is, in SCC you have to provide the application end point while creating application connection profile.
I Hope that solves your problem
Srinivas Divakarla
It IS possible to connect MBOs to REST, though it is a bit painful and probably unwise in a real production environment.
I got the MBO to load the data this url returns:
http://gw.esworkplace.sap.com/sap/opu/odata/IWBEP/RMTSAMPLEFLIGHT_2/FlightCollection
(see http://scn.sap.com/docs/DOC-31221 for passwords and more info)
For the XSD I used an extractor/generator that extracts the schema from a sample XML. There's one online, though I ended up using one that comes with visual studio.
I'm using the free cloudshare "hosted SUP test and evaluation environment" and after providing the XSD some other files where needed (missing from the SUP SDK), but I found them easily googling for a while.
I only got to read (GET) the data, I never tried saving (POST) anything, I think it probably wouldn't work because of CSRF tokens and the like. Well, maybe coding and getting under the hood you can achieve something.
I found it to be slow, but, as proof of concept, it can be done.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.