ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chandan Khandelwal <chandan.khandel...@hotwaxsystems.com>
Subject Re: How to create rest api service in ofbiz
Date Mon, 18 Sep 2017 13:12:00 GMT
Hi Vivek,

Here is the reference code block of request to get JSON output. You could
simply write service to prepare and return information as needed. HTH!

     <request-map uri="test-request">
        <security https="false" auth="false"/>
        <event type="service" invoke="serviceName"/>
        <response name="success" type="view" value="JSONOutput"/>
    </request-map>

-- 
Thanks & Regards,
Chandan Khandelwal
HotWax Systems
Direct: +91-9893481076
http://www.hotwaxsystems.com/

On Sat, Sep 16, 2017 at 3:52 PM, Jacques Le Roux <
jacques.le.roux@les7arts.com> wrote:

> This http://markmail.org/message/rhnrge4xh7ctcd4e (did not try)
>
> You can also use a json response in a controller, look for the same in
> existing controllers
>
> Jacques
>
>
>
> Le 16/09/2017 à 11:51, Vivek a écrit :
>
>>
>> hi ,
>>
>> https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Tuto
>> rial+-+A+Beginners+Development+Guide#OFBizTutorial-ABeginner
>> sDevelopmentGuide-CreateYourFirstApplication(HelloWorld...)
>>
>>
>> i follow this link to make service and events. in this i have no problem.
>>
>> now i want to ask -
>>
>> how can i make rest api to get ofbiz entity data ( product , order ,
>> party) in json format for third party.
>>
>> Thanks
>> Vivek tiwari
>>
>>
>


-- 
Thanks & Regards,
Chandan Khandelwal
HotWax Systems
Direct: +91-9893481076
http://www.hotwaxsystems.com/

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message