Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-18920

HTTPService HTTP Methode PUT Sends everitime as GET

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • Adobe Flex SDK 3.3 (Release)
    • None
    • RPC: HTTPService
    • None
    • Affected OS(s): Windows
      Affected OS(s):
      Browser: Firefox 3.x
      Language Found: German

    Description

      1. Use on a Button by Click this Function:
      private function doSend():void

      { var service:HTTPService = new HTTPService(); var param:Object = new Object(); param.language = resourceManager.localeChain; param.username = username.text; param.password = password.text; param.clubId = clubId; param.email = email.text; service.url="/TTMService/service/infos"; service.requestTimeout=10000; service.addEventListener("result", onResult); service.addEventListener("fault", onFault); service.request = param; service.method=HTTPRequestMessage.PUT_METHOD; service.send(); }

      Problem is now. Flex send the Request as GET Methode to the Server.

      Here the Protocol from Browser:
      http://localhost:8080/TTMService/service/infos?clubId=2743&email=q%40w%2Ede&password=thomas&language=de%5FDE&language=en%5FUS&username=thomas

      GET /TTMService/service/infos?clubId=2743&email=q%40w%2Ede&password=thomas&language=de%5FDE&language=en%5FUS&username=thomas HTTP/1.1
      Host: localhost:8080
      User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1 (.NET CLR 3.5.30729)
      Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
      Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
      Accept-Encoding: gzip,deflate
      Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
      Keep-Alive: 300
      Connection: keep-alive
      Cookie: JSESSIONID=9284F456258F4E39A192E19C7C4A33F2

      <mx:HTTPService id="RegistryService" url="http://localhost:8080/TTMService/service/registry" useProxy="false" method="PUT"
      result="onResult(event)" fault="onFault(event)"
      requestTimeout="10000">
      <mx:request xmlns="">
      <username>

      {username.text}

      </username>
      <password>

      {password.text}

      </password>
      <email>

      {email.text}

      </email>
      <clubId>

      {clubId}

      </clubId>
      </mx:request>
      </mx:HTTPService>

      Send a HTTP GET too.

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: