on 12-01-2011 4:54 PM
Hi guys!
1) I created a DataModel in my Gateway(trial) based on my ERP FM/Table. (my ABAP connection is OK).
2) My Consumption Model is OK too, I can access a sample table on my ERP via browser:
http://nplhost:8042/sap/opu/sdata/sap/MOBDEVICE/zgw_mobdeviceCollection?sap-client=001&$format=xml
3) All service settings are ok... and it is active on ICF Services (TC /iwfnd/reg_service)
But how I consume this service??? I tried SUP and Gateway Plug-in to XCODE: In both I do connect to gateway but I cant retrieve any services...
Tks!
When you say you tried SUP - what exactly did you do?
SUP 2.1 comes with OData-based SDKs for building native clients that can interact with Gateway services. The documentation describes how this works.
I assume you are familiar with the way OData-based content is provided? That is there is a service document, a metadata document and then the collection/entities etc.?
- chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Gustavo,
I suggest you these interesting blog [Developing Mobile Apps with Sybase Unwired Platform 2.1 and SAP NetWeaver Gateway 2.0|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/28283] [original link is broken] [original link is broken] [original link is broken];. AS IS you cannot create MBO from SUP, SUP acts only as a kind of proxy.
You can consume your Gateway using for example this app in Apple store [OData Browser|http://itunes.apple.com/us/app/odata-browser/id380025457?mt=8] or creating your own consumer in whatever language you prefer (JSP, PHP, ASP, JS, Flex, etc.). Basically Gateway creates an OData REST resource.
Regards,
Ivan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gustavo,
Please try below links on SDN. We have How to guides available for service creation and consumption.
http://www.sdn.sap.com/irj/sdn/gateway?rid=/webcontent/uuid/c0a638d0-8478-2e10-8eb4-f157b64fb221
I hope this helps.
Regards,
Hardik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gustavo,
You can check out the code snippets page for native consumption examples:
Thanks,
Nir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
69 | |
7 | |
7 | |
6 | |
6 | |
6 | |
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.