.NET WEB-Services

Moderators: None (Apply to moderate this forum)
Number of threads: 22
Number of posts: 27

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Returning different HTTP error codes from a .net SOAP 1.2 web service Posted by derekgoodwin on 28 Jan 2009 at 8:22 AM
Hi hope someone can help me here, I have developed a SOAP 1.2 web service using VS 2005 and the customer has specified that certain HTTP error codes are returned from this web service when faults occur. I understand that SOAP 1.1 errors were returned as HTTP 500 errors containing a SOAP fault but that in SOAP 1.2 different HTTP errors can be returned again containing SOAP faults.

Anyone know how I can return different HTTP errors, at present if I throw a SOAP exception or HTTP exception then they are returned as HTTP 500 errors.

Thanks



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.