Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > Can I send a status other than HTTP 500 during a SOAP Fault?

Thread Tools

Can I send a status other than HTTP 500 during a SOAP Fault?

Tony V
Posts: n/a

Can I set the HTTP status return code to something other than 500 in a
C# web service when a Soap Fault is thrown?

I want to override the default SOAP behavior of return HTTP 500 when a
fault is thrown.

Reason being is that a Java Application with an older JDK is calling
my service and when it recieved the 500 error the class on the Java
End will not let them read the body so they can't retrieve the SOAP
fault. Unfortunately upgrading to a new Java JDK is not an option
since we are in an enterprise environment and the admins won't allow


Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
HTTP SOAP/HTTP GET/HTTP POST milan_9211 Software 0 01-10-2011 02:10 PM
can I use more than one status condition name in imaplib.status() harryos Python 0 10-13-2010 01:37 PM
SOAP over JMS vs SOAP over HTTP Nagesh Java 2 08-12-2006 12:31 AM
SOAP::Lite example meets http server 500 error? jck11 Perl Misc 3 02-07-2006 03:20 PM
HTTP 500 status error Java 2 12-26-2005 01:44 AM