How can I log with Log4J SOAP request and response in AXIS 1.x?

前端 未结 6 1672
轮回少年
轮回少年 2020-12-13 21:20

I am having the next problem:

I want to log the SOAP requests/responses that land on my web service (server side). Trying to configure my web service in the wsdd fil

6条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-13 21:43

    You need to add an Axis logger in your log4.xml configuration file, like below:

    
       
       
    
    

    someLogAppender may be an existing Log4J appender, or you may want to define a dedicated one, like below:

    
       
       
          
       
    
    

提交回复
热议问题