Flex 3 and soap response?

前端 未结 1 464
夕颜
夕颜 2021-01-26 05:45

I want to insert data into a SQL Server, but I keep getting this error

RPC Fault faultString=\"SOAP Response cannot be decoded. Raw response:faultCode=\"D

相关标签:
1条回答
  • 2021-01-26 05:53

    This error comes when you are throwing an exception in WS and trying to correctly parse in Flex. Check this link for more info.

    Flex cannot handle faults that are associated with an HTTP 500 status. You will get a DecodingError in this case. This stems from Flex not being able to read the details of a fault when the response is 500. Here is the actual Fault Flex returns.

    [FaultEvent fault=[RPC Fault faultString="SOAP Response cannot be decoded. Raw response: " faultCode="DecodingError" faultDetail="null"] messageId=”52E31332-D231-3C4C-E2D1-0DDB1A1885D0″ type=”fault” bubbles=false cancelable=true eventPhase=2]

    0 讨论(0)
提交回复
热议问题