开发者

Flex : Soap Response cannot be decoded, Decoding Error

开发者 https://www.devze.com 2023-03-04 15:53 出处:网络
[RPC Fault faultString=\"SOAP Response cannot be decoded. Raw response: \" faultCode=\"DecodingError\" faultDetail=\"null\"]

[RPC Fault faultString="SOAP Response cannot be decoded. Raw response: " faultCode="DecodingError" faultDetail="null"]

I get this error in flex 3.2 compiled application.

  1. this error is 开发者_如何学Gocaught by webservice fault handler.
  2. this error could not caught by try{} - catch{} block which is in .net webservices also
  3. Finally the iis error log has been referred, the following error has been logged in log file

05:36:12 192.168.2.198 POST /localhost/Test/sampleTest.asmx 500 05:36:12 192.168.2.198 POST /localhost/Test/sampleTest.asmx 500 05:36:12 192.168.2.198 POST /localhost/Test/sampleTest.asmx 500

in some times the error message as follows

05:35:30 192.168.2.198 POST /localhost/Test/sampleTest.asmx 200 05:35:38 127.0.0.1 GET /localhost/Test/sampleTest.asmx 403

->. The reply contails the error code 403 or 500 and the response is empty.

if anybody knows the solution please help me.


There may be a lot of reasons for this problem.

  1. If you used the WSDL Wizard, be sure that you refreshed your WebService. (Update and later refresh button)
  2. The WebService, does it compile?.
  3. If you are returning objects in the WebService, are they correctly serialized?

If you cannot debug your webservice in the try catch, i believe that is the first point. It is not well imported

Tell me if it worked.

Greetings.

0

精彩评论

暂无评论...
验证码 换一张
取 消