3 Replies Latest reply on Aug 9, 2006 4:33 PM by djliquidice

    HTTPService GET method issue

    Igor_Svibilsky
      Hi all,

      I got stuck trying to get a configuration file from my ISP. Here is the code snippet:

      <mx:HTTPService id="httpService" url="mydomain/ria/config/config.xml"
      resultFormat="object"
      contentType="application/xml"
      useProxy="false" method="GET" result="readConfig();"
      fault="Alert.show(event.fault.getStackTrace());">
      </mx:HTTPService>
      After getting Error 2032 I looked at the http header information in my ISP log file:
      ..."POST /ria/config/config.xml HTTP/1.1" 405 334...

      How does it happen? I explicitly indicated "GET", also GET is the default method for HTTPService.

      Is that a bug or I'm missing something?

      Please help.

      Igor.