*Experts* Bucky Posted August 8, 2005 *Experts* Posted August 8, 2005 For some reason, my ASP.NET web service will not correctly return exceptions to the client machine. The .NET Framework SDK says that a web service should return a SoapException whenever a server-side error occurs, and the client should see some sort of <fault> element. All the client sees, however, is a generic "HTTP 500 Internal server error". I even tried explicitly throwing a new SoapException, but with the same result. I'm thinking that there is a certain project property that is not set correctly, but I can't find it for the life of me. What do I need to do to allow the web service to return exceptions to the client? Thanks. Quote "Being grown up isn't half as fun as growing up These are the best days of our lives" -The Ataris, In This Diary
kahlua001 Posted August 8, 2005 Posted August 8, 2005 Had the same problem...here is where i learned of some different solutions... http://pluralsight.com/blogs/keith/archive/2005/06/02/9712.aspx Quote
*Experts* Bucky Posted August 8, 2005 Author *Experts* Posted August 8, 2005 That's not quite the problem I was having, though the solution will definitely come in handy in the future. The issue with my web service is that a SoapException is not even making it back to the client. Instead of returning a <fault> soap message, it returns an HTTP error. Quote "Being grown up isn't half as fun as growing up These are the best days of our lives" -The Ataris, In This Diary
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.