tag:robotlegs.tenderapp.com,2009-10-18:/discussions/questions/404-oil-restclientbase-using-urlrequest-vs-httpserviceRobotlegs: Discussion 2018-10-18T16:35:21Ztag:robotlegs.tenderapp.com,2009-10-18:Comment/47004662011-01-23T00:03:47Z2011-01-23T00:03:47Z[Oil] RestClientBase using UrlRequest vs HttpService<div><p>Hi Rickcr,</p>
<p>I'm not too happy with RestClientBase - it was a quick-n-dirty
design and needs to be re-visited. If you like the Promise
approach, but also wish to use HTTPService (to integrate nicely
with Flex.. ChannelSets etc), I'd suggest you write an IRestClient
implementation that uses HTTPService internally. That should give
you the best of both worlds.</p></div>Shaun Smithtag:robotlegs.tenderapp.com,2009-10-18:Comment/47004662011-01-23T05:47:26Z2011-01-23T05:47:26Z[Oil] RestClientBase using UrlRequest vs HttpService<div><p>Actually the regular UrlRequest (of RestClientBase) seems to be
working perfectly...just wondering what I'm 'missing' not using
HttpService.</p>
<p>When you get time, no rush, I'd be curious at what you'd want to
"revisit" to improve the implementation? (it seems pretty good to
me:)</p></div>rickcrtag:robotlegs.tenderapp.com,2009-10-18:Comment/47004662011-08-12T15:18:48Z2011-08-12T15:18:50Z[Oil] RestClientBase using UrlRequest vs HttpService<div><p>Yeah, i am also interested to know the best one in case if you
have to deal with only XML.</p>
<p>Even in my case also i get the result in XML format only & i
want to know the best one in considering the performance.</p></div>reddys.raghuu