2 Replies Latest reply on May 13, 2008 12:52 AM by RBKB

    Does Flex 3 support Soap 1.2?

    RBKB
      Hi,

      Just wanted to know if Flex 3 supports Soap 1.2. I am getting
      following two errors. Wondering if it is because the WSDL I am using
      is using Soap 1.2. I am completely new to webservices so not sure
      about this.

      Initially I got 1st error and by adding following, it resolved the 1st
      error but resulted in 2nd error.

      operation =request.getOperation("someOperation");
      operation.mx_internal::wsdlOperation.style="document";

      Is all this because Flex generally supports SOAP 1.1?


      Thanks in advance.


      1)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::invokePending\
      Call()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\soap\Operation.as:774]
      at
      mx.rpc.soap::Operation/send()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\so\
      ap\Operation.as:688]
      at Function/ http://adobe.com/AS3/2006/builtin::apply()
      at
      mx.rpc.soap.mxml::Operation/send()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\r\
      pc\soap\mxml\Operation.as:167]

      2)
      [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::invokePending\
      Call()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\soap\Operation.as:774]
      at
      mx.rpc.soap::Operation/send()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\so\
      ap\Operation.as:688]
      at Function/ http://adobe.com/AS3/2006/builtin::apply()
      at
      mx.rpc.soap.mxml::Operation/send()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\r\
      pc\soap\mxml\Operation.as:167]