Skip to Content
avatar image
Former Member

Consuming OData channel service from SAP NWGW in iOS/Android thru SUP 2.1

Greetings,

I am trying to find some documentation or tutorial to explain how to write a Native application (iOS or Android) that can consume an OData channel from Netweaver gateway.

What needs to be done on SUP server (or Data Proxy as the case may be) to make this happen?

So far I haven't been successful in turning up any such tutorial.

Appreciate your time.

Thanks

pj

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Jan 16, 2012 at 10:17 PM

    Hi PJ !

    You raise a good question. Unfortunately, there is nothing available at the moment (at the time of writing this reply).

    To answer your question, the effort required on SUP is configuration work in SCC. You will have to set your OData provider information in the application connection setting.

    For more information, there is a blog on this:

    [http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/28283|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/28283]

    I hope this helps. Good luck !

    Kind regards,

    David

    Edited by: David Thirakul on Jan 17, 2012 3:46 AM

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Neha,

                      Whats the format of ur url......... my url is " Ip address of server / rest of Url "....and am using same url in MAc and for registering also..... And that Ip address is an issue with ur code..But it should not b the problm while developing..... is that server and ur Mac is in same network?

      Regards,

      Ravindra

  • avatar image
    Former Member
    Feb 08, 2012 at 10:59 PM

    Hi All,

    I just happened to read over this thread. A number of How-To guides are currently in draft covering this topic across Android, Blackberry and iOS. In addition the guides will cover notifications from a client perspective and cover SP3 updates from the older guides currently available.

    They will become available on SDN and possibly the SUP official help tutorial pages.

    Regards,

    Andrew Whitaker - Customer Solution Adoption - Mobility - APJ.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Rohith Deraje

      Hello

      ,

      I am parsing xml in ios,



      NSData* respData = [request responseData];

        

      SDMODataServiceDocument* sdmParseODataServiceDocumentXML(respData);



      Terminating app due to uncaught exception 'SMDParserException', reason: 'NotAServiceDocument'

  • avatar image
    Former Member
    Mar 06, 2014 at 11:12 PM

    Hi,

    This is a very old post.  If you are looking for legacy solutions please check the how to guides I created below for android integration.  Please note the SUP API's have changed and their are different ways to integrate Android and Gateway.  Please see the links mentioned above.  I am including my documents purely to close off this thread and help where requried.

    http://scn.sap.com/people/andrew.whitaker2/content

    Andy

    SAP for Mobile

    Andrew Whitaker

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello Andrew,

      I am parsing xml in ios,



      NSData* respData = [request responseData];

         

      SDMODataServiceDocument* sdmParseODataServiceDocumentXML(respData);



      Terminating app due to uncaught exception 'SMDParserException', reason: 'NotAServiceDocument'