Skip to Content

SAP Cloud Platform SDK for iOS - using multiple API's

We have developed an application using SAP Cloud Platform SDK for iOS. Application reads all products from Product Master API and we are planning to enhance the current application and include more API’s or one more API to read and display more/additional data. It would be helpful, if you can share any documents/references on how we can consume two API’s in the current application which is generated using the iOS SDK?

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Feb 20, 2018 at 07:51 PM

    I assume the API's are from an OData source? The following blog series shows step by step how to create a project, add the SAP iOS SDK libraries to the project, and then generate the proxy classes which can be used by the application to access the data exposed by the OData backend.

    If you modify the backend OData source, I believe you would regenerate the proxy classes and re-add them to your project. Alternatively you could run the proxy generation step twice, once for each backend OData source and add the resultant classes to the project. Note, one of the generation options is --prefix which can be helpful if the two OData sources have conflicting names.

    Hope that helps,

    Dan van Leeuwen

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.