2 Replies Latest reply on Jun 3, 2009 8:35 PM by yancaoshi

    Help: why can I get result from HTTPService?

    yancaoshi Level 1

      Hi All,

       

      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,

      .