Hi,
Currently using axis alpha3. I was trying to get my Handler to trigger the
sending back of a 401 to the client (.NET interop problem)
Before (Line 490):
if ( e instanceof AxisFault ) {
AxisFault af = (AxisFault) e ;
if ( "Server.Unauthorized".equals( af.getFaultCode()) )
res.setStatus( HttpServletResponse.SC_UNAUTHORIZED );
else
res.setStatus(
HttpServletResponse.SC_INTERNAL_SERVER_ERROR );
I fixed using:
if ( e instanceof AxisFault ) {
AxisFault af = (AxisFault) e ;
if ( "Server.Unauthorized".equals(
af.getFaultCode().getLocalPart()) )//invoking equals with String comparator
res.setStatus( HttpServletResponse.SC_UNAUTHORIZED );
else
res.setStatus(
HttpServletResponse.SC_INTERNAL_SERVER_ERROR );
Maybe this is already fixed in current build?
Cheers
Adam Leggett
UPCO
Direct Line: 0113 20 10 631
Fax: 0113 20 10 666
<http://www.upco.co.uk>
The contents of this email are intended for the named addressees and may
contain confidential and / or privileged material. If received in error,
please contact UPCO on +44 (0)113 20 10 600 and then delete the entire email
from your system. Unauthorised review, distribution, disclosure or other use
of this information could constitute a breach of confidence. Your
co-operation in this matter is greatly appreciated.