on 10-04-2013 8:06 AM
Hi Experts,
I am new to Mobility. I need your help to understand how can we test our Odata services in SAP CRM.
I am trying to do the same in transaction '/n/IWFND/MAINT_SERVICE' but with no luck.
Could you please explain me how can we do the same .
As shown above I want to test the data for the service Account. I click on gateway client and found the below screen:-
Now my question is , what I need to pass in the request url to get all the accounts exists in the sap system.
If I am following the wrong approach than it would be great for me if you provide me the steps to do the same.
Thanks in Advance.
Thanks
Kumar Gaurav
After selecting Odata click on "Call browser" to launch the web browser for service's service document.
The browser should display something very similar to the following:
To test the service you can use any of the rest clients. Firefox gives one, for that you have install the add on for the rest client in firefox. You can find a tutorial on this here, http://somersetson.com/?p=41
- Midhun VP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is the best document I followed,
[Content Deleted Jan 2014]
- Midhun VP
Message was edited by: Jason Lax
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can run the service in SAP itself. But I am not sure whether it allows CRUD (create,read,update &delete) operations from the same. I used rest client in firefox for testing the Odata service, and unfortunately my expert area is not Odata development. I had worked on a mobile app based on Odata hence I used these techniques .
- Midhun VP
Hi Kumar,
You can test rest services in rest client wiztools also
you can download it from this link...
https://code.google.com/p/rest-client/downloads/list
there must be restclient-ui-3.2.1-jar-with-dependencies jar file.. you just run it.
looks like this
Rgrds,
Jitendra
Ahh. On this I can help you a lot since its my expert domain . You can follow this document to start with, http://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01975.0223/doc/pdf/sup_tutorial_andr... I hope you have an SUP installed on premise. In that case ignore the part "Getting Started with SAP Mobile Platform Cloud" in the document. Again, its possible to consume the Odata services without using SUP too. A sample on it is here http://scn.sap.com/community/netweaver-gateway/blog/2012/07/18/developing-an-android-app-consuming-d...
Hope that helps.
-Midhun VP
Please create a new thread on this new issue you are facing with the following details, that helps others while searching for solution.
What is the environment you are running the app, is SUP involved ? Is SUP involved, is the app comes online in the SCC (Sybase control center) ? What is the error you are getting in the server logs in SCC ?
In which line of code this error occurs?
Is the service you are parsing in the device is working in any of the restclients, are you getting data in as a result?
- Midhun VP
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
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.