[RPC Fault faultString="SOAP Response cannot be decoded. Raw response: " faultCode="DecodingError" faultDetail="null"]
I get this error in flex 3.2 compiled application.
- this error is 开发者_如何学Gocaught by webservice fault handler.
- this error could not caught by try{} - catch{} block which is in .net webservices also
- 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.
- If you used the WSDL Wizard, be sure that you refreshed your WebService. (Update and later refresh button)
- The WebService, does it compile?.
- 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.
精彩评论