Re: Restful Api For Ecommerce Module

2017-06-11 Thread Michael Brohl
Hi Abhishek, I think this depends on what you want to achieve. Do you want to receive data (in Json format) to be displayed by the native UI of your app? Or do you just want to display the pages as they are delivered from standard OFBiz? The ecommerce main page shows different data like

Re: Restful Api For Ecommerce Module

2017-06-11 Thread Abhishek Sharma
Thanks Michael for replying on this thread. What about the requests which are served using Groovy? For example, the request " https://localhost:8443/ecommerce/control/main; is served by groovy and ftl to display the main page. How should i modify it to display the output in android native app?

Re: Restful Api For Ecommerce Module

2017-06-11 Thread Michael Brohl
Hi Abhishek, there is a JSON response handler available in OFBiz, see common-controller.xml: invoke="jsonResponseFromRequestAttributes"/> You can find some examples how it's used in the request-controller searching for value="json" in the

Restful Api For Ecommerce Module

2017-06-10 Thread Abhishek Sharma
Hi Team, I am planning to integrate OFBiz eCommerce module with android native app. OFBiz deals with HTTP request/response format but i want in JSON. Is there any easy way out to achieve the target? Or any suggested approach (if JSON not possible) to implement with android app? Regards Abhishek