[Dev] [DEV] writing jaggery hostobject method to get HTTP Response

2015-02-08 Thread Tharindu Dharmarathna
Hi all, I want to write a host object method to directly give HTTP Response as output . Is there any workaround or any tutorial on this. -- *Tharindu Dharmarathna*Associate Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: *+94779109091 %2B94779109091*

Re: [Dev] [DEV] writing jaggery hostobject method to get HTTP Response

2015-02-08 Thread Waruna Perera
@adding sanjeewa On Sun, Feb 8, 2015 at 10:52 PM, Tharindu Dharmarathna tharin...@wso2.com wrote: Hi all, I want to write a host object method to directly give HTTP Response as output . Is there any workaround or any tutorial on this. -- *Tharindu Dharmarathna*Associate Software Engineer

Re: [Dev] [DEV] writing jaggery hostobject method to get HTTP Response

2015-02-08 Thread Sanjeewa Malalgoda
AFAIK you should go through jag file to access host object methods(same way we did in API store and publisher jagger apps in API Manager). If you need to expose something as service you may implement service class and invoke it as admin service. Thanks, sanjeewa. On Sun, Feb 8, 2015 at 10:52 PM,