1 Reply Latest reply on Aug 4, 2010 11:43 PM by cancertropica100

    web service problem in flex

    cancertropica100 Level 1

      Hi to all friends out there . I am stuck in a rproblem that when i am calling web service method on second time it shows error. means i have more than one method in my web service which is in dotnet application and i am using that in flex.First time when i am loading web service it is ok but when i am using it other method it shows me this error.




      ****************************************************************************************** ************************************************************************************


      Unable to load webservice ALTeRDStudentDesktopService while saving worksheet:(mx.messaging.messages::ErrorMessage)#0
        body = ""
        clientId = "DirectHTTPChannel0"
        correlationId = "A21E0FCF-A9B8-AFA2-F702-40F35811B776"
        destination = ""
        extendedData = (null)
        faultCode = "Server.Error.Request"
        faultDetail = "Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032: Stream Error. URL: http://localhost:1215/HM/HM.asmx"]. URL: http://localhost:1215/HM/HM.asmx"
        faultString = "HTTP request error"
        headers = (Object)#1
          DSStatusCode = 0
        messageId = "0E378620-04D0-689C-3AF7-40F35CD26439"
        rootCause = (flash.events::IOErrorEvent)#2
          bubbles = false
          cancelable = false
          currentTarget = (flash.net::URLLoader)#3
            bytesLoaded = 0
            bytesTotal = 0
            data = ""
            dataFormat = "text"
          eventPhase = 2
          target = (flash.net::URLLoader)#3
          text = "Error #2032: Stream Error. URL: http://localhost:1215/HM/HM.asmx"
          type = "ioError"
        timestamp = 0
        timeToLive = 0
      [RPC Fault faultString="SOAP Response cannot be decoded. Raw response: " faultCode="DecodingError" faultDetail="null"]


      ****************************************************************************************** ************************************************************************************



      When i am checking this URL . This web service is accessible means it is working prooperly and accessiable on this URL.


      So please tell me why this occuring and how to solve this.


      Thanks in Advance

        • 1. Re: web service problem in flex
          ssardar Level 1

          How are you calling the WebService from Flex??



          I was seeing a very similar error when I tried to use the Generated Web Service classes to call my web service.  But it didn't happen with the MXML approach.



          Sorry I don't have an answer as to what causes this, I have been searching the web, posted here....


          I'll follow up if I find anything.