tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yansheng Lin" <yansheng....@silvacom.com>
Subject RE: Handling SOAP faults
Date Fri, 16 Apr 2004 17:21:06 GMT
How about setting the fault on the response?  With 500 as status.  Or is
that what you asked for?

-Yan

-----Original Message-----
From: Bill Harrelson [mailto:brooksharrelson@cs.com] 
Sent: April 15, 2004 19:04
To: Tomcat Users List
Subject: Handling SOAP faults


Hello,

I'm using Tomcat 4.2.14, JDK 1.4.1, and I need to be able to return 
a SOAP fault document with a response code of 500.  The only 
way I've found to do this seems a bit of a hack, and I was 
wondering if there was a better way.

Currently I'm passing the SOAP fault document in the session 
variable which gets picked up by the error-page handler (a jsp) 
when I issue the sendError(500).  This results in the SOAPfault 
message appearing in the error-stream on the client as it should, it 
just seems as though I ought to be able to write to the error-stream 
directly, but I can't find how  in the doc, or googling.

Can anyone assist?

Thanks,

Bill


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message