Re: Logging Axis Soap messages

2006-03-03 Thread San D
Thanks todd,
 i do not have have the wsdd in my application.I just developed a client for a web service provider.
I generated all the stubs using the wsdl2java,other than those classes i donot have any configuration files. 
On 3/3/06, Todd Orr <[EMAIL PROTECTED]> wrote:
The easiest way I've found is to create a couple of handlers and setthem int eh request and response flows. These handlers will have a
chance to operate on the message context as it comes in and out ofaxis. At this time you can perform the logging that you require.I split the req, the resp, and faults into different log files andhave different handlers for each scenario. I have something like the
following in my globalConfiguration element in the wsdd:         Hope that helps.On 3/3/06, San D <
[EMAIL PROTECTED]> wrote:>>> Hi,> Is there a way to log the Axis request and response SOAP messages> using log4j.>> I tried with the following.It was creating the axis.log
 file, but no> messages in it?> where am i doing wrong?>> > 
> > xmlns:log4j="http://jakarta.apache.org/log4j/">>> >>>
>> > 
>> >>  >
>>>> >  >  > >>  >>>
>>   >   
> > >>  > additivity="false">> 
> >  >  >>
>> > >>  Thanks> SanDi


Re: Logging Axis Soap messages

2006-03-03 Thread Todd Orr
The easiest way I've found is to create a couple of handlers and set
them int eh request and response flows. These handlers will have a
chance to operate on the message context as it comes in and out of
axis. At this time you can perform the logging that you require.

I split the req, the resp, and faults into different log files and
have different handlers for each scenario. I have something like the
following in my globalConfiguration element in the wsdd:









Hope that helps.

On 3/3/06, San D <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
> Is there a way to log the Axis request and response SOAP messages
> using log4j.
>
> I tried with the following.It was creating the axis.log file, but no
> messages in it?
> where am i doing wrong?
>
> 
> 
>  xmlns:log4j="http://jakarta.apache.org/log4j/";>
>
> 
>
>
>
>
> 
> 
>
> 
>
>  
>
>
>
>
> 
>  
>  
> 
>
>  
>
>
>
>
>   
>   
> 
> 
>
>   additivity="false">
> 
> 
>  
>  
>
>
>
> 
> 
>
>  Thanks
> SanDi


Logging Axis Soap messages

2006-03-03 Thread San D
Hi,Is there a way to log the Axis request and response SOAP messages using log4j.
I tried with the following.It was creating the axis.log file, but no messages in it?where am i doing wrong?

http://jakarta.apache.org/log4j/">            
              

       
            
 
       
           

      

          

 ThanksSanDi


Logging AXIS SOAP Messages

2006-03-03 Thread San D
Hi ,Is there a way to log the Axis request and response SOAP messages using log4j.
I tried with the following.It was creating the axis.log file, but no messages in it?where am i doing wrong?

http://jakarta.apache.org/log4j/">            
            
   
       
                 

       
                 

      

 
         
 

 ThanksSanDi