Hi all,

thanks so far. 
Would the LogHandler that is supplied with Axis be sufficient for my
needs? If yes, how do I configure that damn thing? I tried the following
in the server-config.wsdd
- Under the deployment-Tag I inserted :
         <handler name="LogHandler"
type="java:org.apache.axis.handlers.LogHandler">
            <parameter name="writeToConsole" value="false"/>
            <parameter name="fileName" value="/tmp/Axis_Raw.log"/>
         </handler>
- then I uncommented the LogHandler-handlertag in the http-Transport so
that is looks like this:
    <transport name="http">
     <requestFlow>
       <handler type="LogHandler"/>
       <handler type="URLMapper"/> 
       <handler
type="java:org.apache.axis.handlers.http.HTTPAuthHandler"/>
     </requestFlow>
     </transport>

I must be doing something wrong here, but I didn't find any examples on
how to configure the LogHandler.

Regards,

Jin-Ha Tchoe


Am Freitag, den 08.04.2005, 16:05 +0530 schrieb Venkat Reddy:
> You can write a tiny logging handler to do something like - 
> 
> Transformer transformer = TransformerFactory.newInstance().newTransformer();
> StringWriter stringWriter = new StringWriter(128);
> transformer.transform(new DOMSource(env), new StreamResult(stringWriter));
> StringBuffer buffer =  stringWriter.getBuffer();
> 
> - venkat
> 
> On Apr 8, 2005 3:55 PM, Jin-Ha Tchoe <[EMAIL PROTECTED]> wrote:
> > Hi,
> > 
> > we use Axis 1.2 Alpha with Tomcat 4.0.3 and Castor 0.95 for a
> > SOAP-Service. Sometimes we have customers you are not accustomed to SOAP
> > and have lots of problems using our Service. The problems range from
> > simple typos and wrong namespaces to forgetting the SOAP-Envelope.
> > 
> > Whenever Axis and Castor are unable to determine the right Service or
> > (Un-)marshal the message, the most the customers can see (and therefore
> > us) is a simple AxisFault. Unfortunately that does not help us see what
> > exactly is going wrong. So, is there a way for Axis to dump the complete
> > raw SOAP Envelope _before_ doing its work, so that we can something?
> > 
> > Many thanks in advance,
> > 
> > Jin-Ha Tchoe
> > --
> > Jin-Ha Tchoe <[EMAIL PROTECTED]>
> > 
> >
-- 
Jin-Ha Tchoe <[EMAIL PROTECTED]>

Reply via email to