2 Replies Latest reply on Aug 24, 2006 2:58 PM by amers


    amers Level 1
      I've been running tests with .NET web services and Flex and have come upon an error..

      [RPC Fault faultString="Error #1009: Cannot access a property or method of a null object reference." faultCode="EncodingError" faultDetail="null"]
      at mx.rpc.soap::Operation/ http://www.adobe.com/2006/flex/mx/internal::invokePendingCall()[C:\dev\enterprise_gmc\fram eworks\mx\rpc\soap\Operation.as:582
      at mx.rpc.soap::Operation/send()[C:\dev\enterprise_gmc\frameworks\mx\rpc\soap\Operation.as:4 92]
      at Function/ http://adobe.com/AS3/2006/builtin::apply()
      at mx.rpc.soap.mxml::Operation/send()[C:\dev\enterprise_gmc\frameworks\mx\rpc\soap\mxml\Oper ation.as:139]
      at EditDragNDrop/___Button3_click()[C:\Documents and Settings\abratty\My Documents\Flex Builder 2\BasicTests\EditDragNDrop.mxml:120]

      but I've also seen the error while debugging:


      Source not found.

      I thought this would be in the SDK or Flex Builder 2? But, it's not on my local system.. can anyone give me a hint as to how to fix this?

        • 1. Re: DispatchEvent
          seth_hodgson Level 1
          Hi Amers,

          The WebService is running into a problem with encoding the headers or body for your call. The source for the mx.rpc/mx/messaging/mx.data packages are not included in the source distributed in the SDK.

          Can you provide a public link to your WSDL and a code snippet that includes the definition of your WebService instance as well as where you make your call?

          • 2. Re: DispatchEvent
            amers Level 1
            Hi Seth,

            Actually, the problem has been solved, but thank you for the response!