How to consume a REST web service with Flashbuilder 4?
I am creating a Restful WCF web service which will need to be consumed by FlashBuilder 4. Is this possible? If so, how can I go about doi开发者_开发技巧ng that?
Thanks
Easily.
<s:HTTPService id="service" url="http://domain.com/the/rest/path/" result="onResult(event)" resultFormat="xml" />
Then just need to do service.send()
.
Take a look at the data services wizard. Here is a good blog with a tutorial: http://technoracle.blogspot.com/2009/07/flash-builder-4-tutorial-2-restful.html
精彩评论