Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Returning different HTTP error codes from a .net SOAP 1.2 web service

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

Comments

  • Chris BrownChris Brown USAMember Posts: 4,496 ✭✭

    ( http://forcoder.org ) free ebooks and video tutorials about || C#, C, Python, Java, C++, MATLAB, Perl, Visual Basic, Assembly, Scratch, JavaScript, Ruby, Visual Basic .NET, Go, PHP, R, Objective-C, Delphi, Swift, PL/SQL ML, Scala, F#, SAS, Scheme, Fortran, Clojure, COBOL, Awk, Transact-SQL, Bash, Julia, Logo, Apex, Erlang, Prolog, Crystal, Kotlin, Lua, D, VBScript, FoxPro, Alice, ABAP, Hack, Lisp, Rust, Dart, Ada, LabVIEW || _

Sign In or Register to comment.