axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davanum Srinivas <dava...@gmail.com>
Subject Re: Can SOAPMonitor display faults ?
Date Thu, 17 Nov 2005 22:31:22 GMT
jarmo, kindly please add your log4j snippet to our wiki under FAQ's?

thanks,
dims

On 11/17/05, Jarmo Doc <jarmod@hotmail.com> wrote:
> Known bug: http://issues.apache.org/jira/browse/AXIS-1551
>
> You can log the XML (and HTTP) to file however using log4j:
>
> log4j.appender.HTTPLOG = org.apache.log4j.FileAppender
> log4j.appender.HTTPLOG.layout = org.apache.log4j.PatternLayout
> log4j.appender.HTTPLOG.layout.ConversionPattern  = %m%n
> log4j.appender.HTTPLOG.File = http.log
> log4j.logger.org.apache.axis.transport.http.HTTPSender = DEBUG, HTTPLOG
>
> >From: Bengali Bengali <bengalister@gmail.com>
> >Reply-To: axis-user@ws.apache.org
> >To: axis-user@ws.apache.org
> >Subject: Can SOAPMonitor display faults ?
> >Date: Thu, 17 Nov 2005 18:05:25 +0100
> >
> >Hi,
> >I have enabled SOAPMonitor and it works fine when no exception occurs.
> >It shows me the SOAP enveloppes of the request and response but I wanted
> >to test my custom exceptions (which are mapped to soap-faults declared in
> >the WSDL)
> >but I can't see them in the SOAPMonitor.
> >Actually I don't see any response (when an exception is thrown) in
> >SOAPMonitor but my client code catches well
> >the appropriate exception and I also can see the server messages in the
> >details of the exception.
> >
> >Is it a normal behaviour of SOAPMonitor to not display the SOAP envelopes
> >when a fault occurs ?
> >Do I have to configure something in the WSDD ?
> >
> >Thanks,
> >bengali
>
> _________________________________________________________________
> FREE pop-up blocking with the new MSN Toolbar – get it now!
> http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
>
>


--
Davanum Srinivas : http://wso2.com/blogs/
Mime
View raw message