I am using Httpservice to request data from other site with useProxy of blazeDS. Settings are correct because I can pass testing. and the weird thing is:
When I set method="GET" or leave blank, the FaultEvent handler will get the source code of webpage from the site.
When I set method="POST", the ResultEvent handler will get empty string of lastResult property.
This result has no relationship with resultFormat and the correct method should be POST. In order to settings, I send a request to google.com which accecpts GET method and search results are returned.
Anybody can explain why this happens??
In another word, how can I get correct result from HTTPService?
Thanks in advance,
Your reply suggests something. However it doesn't solve my problem even if I set requestTimeout to 100.
The difference of the scenario is I use blazeDS proxy posting to other site and that author post directly to the same one.
I tried some other parameter combination as well and it seems only post method affects.
Any more suggestion?
Thanks very much,