- 浏览: 379865 次
- 性别:
- 来自: 杭州
文章分类
- 全部博客 (107)
- Linux (2)
- WebService (4)
- Java基础 (18)
- 优秀博客文章 (6)
- 面试 (2)
- 视频 (1)
- 开源软件 (7)
- DOS命令、批处理 (2)
- SSH Mybatis (11)
- MQ (3)
- 个人开发者 (1)
- 设计模式 (2)
- 博客 (1)
- 缓存 (1)
- 数据库 (10)
- 工具软件 (9)
- Tomcat (3)
- 网络 (2)
- XML 、JSON (1)
- OSGI (1)
- 算法 (1)
- 计算机基础、网络 (1)
- Web 开发 (3)
- 程序人生 (1)
- Servlet基础 (1)
- 英语 (1)
- 临时、未分类 (4)
- 网路、word使用技巧 (2)
- Java性能优化 (0)
最新评论
-
360pluse:
使用apache ActiveMQ深入企业级程序设计网盘地址: ...
Active MQ技术文章(JMS) -
星辰海:
问下,像TimerTask一旦抛异常,就永远不执行了,这种情况 ...
spring学习系列 -- 定时器三 两种定时器的比较 -
360pluse:
使用apache ActiveMQ深入企业级程序设计百度网盘: ...
Active MQ技术文章(JMS) -
xj56ai:
能不能 提供一下 包
Spring 学习系列 -- Spring + Mybatis 从零开始配置多数据源访问 -
wejack639:
写的很好,很有用,谢谢
spring学习系列 -- 定时器三 两种定时器的比较
为了理解Axis2的工作流程,需要打印出Axis2的工作流程,只需要配置相应的log就行了
log4j配置
log4j.rootLogger=DEBUG, Console
#Console
log4j.appender.Console=org.apache.log4j.ConsoleAppender
log4j.appender.Console.layout=org.apache.log4j.PatternLayout
log4j.appender.Console.layout.ConversionPattern=%d [%t] %-5p [%c] - %m%n
log4j.logger.java.sql.ResultSet=INFO
log4j.logger.org.apache=debug
log4j.logger.java.sql.Connection=debug
log4j.logger.java.sql.Statement=debug
log4j.logger.java.sql.PreparedStatement=debug
log4j.logger.org.mybatis.caches.ehcache=debug
关键是打印org.apache包的log目录
打印Axis2的工作流程:
2012-04-26 19:27:54,781 [http-8999-1] DEBUG [org.apache.axis2.builder.BuilderUtil] - Input contentType (text/xml;charset=UTF-8)
2012-04-26 19:27:54,781 [http-8999-1] DEBUG [org.apache.axis2.builder.BuilderUtil] - CharSetEncoding from content-type (UTF-8)
2012-04-26 19:27:54,781 [http-8999-1] DEBUG [org.apache.axis2.transport.TransportUtils] - createSOAPEnvelope using Builder (class org.apache.axis2.builder.SOAPBuilder) selected from type (text/xml)
2012-04-26 19:27:54,781 [http-8999-1] DEBUG [org.apache.axis2.builder.BuilderUtil] - char set encoding set from default =UTF-8
2012-04-26 19:27:54,781 [http-8999-1] DEBUG [org.apache.axiom.om.util.StAXUtils] - XMLStreamReader is org.apache.axiom.util.stax.dialect.WoodstoxStreamReaderWrapper
2012-04-26 19:27:54,781 [http-8999-1] DEBUG [org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder] - Starting to process SOAP 1.1 message
2012-04-26 19:27:54,781 [http-8999-1] DEBUG [org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder] - Build the OMElement Envelope by the StaxSOAPModelBuilder
2012-04-26 19:27:54,781 [http-8999-1] DEBUG [org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder] - Build the OMElement Header by the StaxSOAPModelBuilder
2012-04-26 19:27:54,781 [http-8999-1] DEBUG [org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder] - Build the OMElement Body by the StaxSOAPModelBuilder
2012-04-26 19:27:54,781 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Checking pre-condition for Phase "Transport"
2012-04-26 19:27:54,781 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Invoking phase "Transport"
2012-04-26 19:27:54,781 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Invoking Handler 'RequestURIBasedDispatcher' in Phase 'Transport'
2012-04-26 19:27:54,781 [http-8999-1] DEBUG [org.apache.axis2.dispatchers.RequestURIBasedServiceDispatcher] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Checking for Service using target endpoint address : http://10.36.24.5:8999/VTMS3000/services/VTMS.VTMSHttpSoap11Endpoint/
2012-04-26 19:27:54,781 [http-8999-1] DEBUG [org.apache.axis2.util.Utils] - parseRequestURLForServiceAndOperation : [http://10.36.24.5:8999/VTMS3000/services/VTMS.VTMSHttpSoap11Endpoint/][/VTMS3000/services]
2012-04-26 19:27:54,781 [http-8999-1] DEBUG [org.apache.axis2.i18n.ProjectResourceBundle] - org.apache.axis2.i18n.resource::handleGetObject(servicefound)
2012-04-26 19:27:54,781 [http-8999-1] DEBUG [org.apache.axis2.engine.AbstractDispatcher] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Found AxisService : VTMS
2012-04-26 19:27:54,781 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Invoking Handler 'SOAPActionBasedDispatcher' in Phase 'Transport'
2012-04-26 19:27:54,781 [http-8999-1] DEBUG [org.apache.axis2.dispatchers.ActionBasedOperationDispatcher] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Checking for Operation using Action : urn:CallFunction
2012-04-26 19:27:54,781 [http-8999-1] DEBUG [org.apache.axis2.description.AxisService] - getOperationBySOAPAction: Operation (org.apache.axis2.description.InOutAxisOperation@a4f040,CallFunction) for soapAction: urn:CallFunction found in action map.
2012-04-26 19:27:54,781 [http-8999-1] DEBUG [org.apache.axis2.i18n.ProjectResourceBundle] - org.apache.axis2.i18n.resource::handleGetObject(operationfound)
2012-04-26 19:27:54,781 [http-8999-1] DEBUG [org.apache.axis2.engine.AbstractDispatcher] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Found AxisOperation : CallFunction
2012-04-26 19:27:54,781 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Checking post-conditions for phase "Transport"
2012-04-26 19:27:54,781 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Checking pre-condition for Phase "Addressing"
2012-04-26 19:27:54,781 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Invoking phase "Addressing"
2012-04-26 19:27:54,781 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Invoking Handler 'AddressingInHandler' in Phase 'Addressing'
2012-04-26 19:27:54,781 [http-8999-1] DEBUG [org.apache.axis2.handlers.addressing.AddressingInHandler] - No headers present corresponding to http://www.w3.org/2005/08/addressing
2012-04-26 19:27:54,781 [http-8999-1] DEBUG [org.apache.axis2.handlers.addressing.AddressingInHandler] - No headers present corresponding to http://schemas.xmlsoap.org/ws/2004/08/addressing
2012-04-26 19:27:54,781 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Invoking Handler 'AddressingBasedDispatcher' in Phase 'Addressing'
2012-04-26 19:27:54,781 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Checking post-conditions for phase "Addressing"
2012-04-26 19:27:54,781 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Checking pre-condition for Phase "Security"
2012-04-26 19:27:54,781 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Invoking phase "Security"
2012-04-26 19:27:54,781 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Checking post-conditions for phase "Security"
2012-04-26 19:27:54,781 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Checking pre-condition for Phase "PreDispatch"
2012-04-26 19:27:54,781 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Invoking phase "PreDispatch"
2012-04-26 19:27:54,781 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Checking post-conditions for phase "PreDispatch"
2012-04-26 19:27:54,781 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Checking pre-condition for Phase "Dispatch"
2012-04-26 19:27:54,796 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Invoking phase "Dispatch"
2012-04-26 19:27:54,796 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Invoking Handler 'RequestURIBasedDispatcher' in Phase 'Dispatch'
2012-04-26 19:27:54,796 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Invoking Handler 'SOAPActionBasedDispatcher' in Phase 'Dispatch'
2012-04-26 19:27:54,796 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Invoking Handler 'RequestURIOperationDispatcher' in Phase 'Dispatch'
2012-04-26 19:27:54,796 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Invoking Handler 'SOAPMessageBodyBasedDispatcher' in Phase 'Dispatch'
2012-04-26 19:27:54,796 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Invoking Handler 'AddressingValidationHandler' in Phase 'Dispatch'
2012-04-26 19:27:54,796 [http-8999-1] DEBUG [org.apache.axis2.addressing.AddressingHelper] - getAddressingRequirementParemeterValue: value: 'null'
2012-04-26 19:27:54,796 [http-8999-1] DEBUG [org.apache.axis2.addressing.AddressingHelper] - getInvocationPatternParameterValue: value: 'null'
2012-04-26 19:27:54,796 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Invoking Handler 'HTTPLocationBasedDispatcher' in Phase 'Dispatch'
2012-04-26 19:27:54,796 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Invoking Handler 'GenericProviderDispatcher' in Phase 'Dispatch'
2012-04-26 19:27:54,796 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Invoking Handler 'MustUnderstandValidationDispatcher' in Phase 'Dispatch'
2012-04-26 19:27:54,796 [http-8999-1] DEBUG [org.apache.axis2.jaxws.dispatchers.MustUnderstandValidationDispatcher] - JAXWS MustUnderstandValidationDispatcher.invoke on AxisService VTMS; AxisOperation org.apache.axis2.description.InOutAxisOperation@a4f040
2012-04-26 19:27:54,796 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Checking post-conditions for phase "Dispatch"
2012-04-26 19:27:54,796 [http-8999-1] DEBUG [org.apache.axis2.addressing.AddressingHelper] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] isReplyRedirected: ReplyTo is null. Returning false
2012-04-26 19:27:54,796 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Checking pre-condition for Phase "RMPhase"
2012-04-26 19:27:54,796 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Invoking phase "RMPhase"
2012-04-26 19:27:54,796 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Checking post-conditions for phase "RMPhase"
2012-04-26 19:27:54,796 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Checking pre-condition for Phase "OperationInPhase"
2012-04-26 19:27:54,796 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Invoking phase "OperationInPhase"
2012-04-26 19:27:54,796 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Invoking Handler 'MustUnderstandChecker' in Phase 'OperationInPhase'
2012-04-26 19:27:54,796 [http-8999-1] DEBUG [org.apache.axis2.jaxws.dispatchers.MustUnderstandUtils] - Building list of understood headers for all operations under VTMS
2012-04-26 19:27:54,796 [http-8999-1] DEBUG [org.apache.axis2.jaxws.dispatchers.MustUnderstandUtils] - Parameter not on VTMS; org.apache.axis2.jaxws.description.EndpointDescription.handlerParameterQNames
2012-04-26 19:27:54,796 [http-8999-1] DEBUG [org.apache.axis2.jaxws.dispatchers.MustUnderstandUtils] - Adding headers from SOAP handlers; headers = null
2012-04-26 19:27:54,796 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Checking post-conditions for phase "OperationInPhase"
2012-04-26 19:27:54,796 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Checking pre-condition for Phase "soapmonitorPhase"
2012-04-26 19:27:54,796 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Invoking phase "soapmonitorPhase"
2012-04-26 19:27:54,796 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Checking post-conditions for phase "soapmonitorPhase"
2012-04-26 19:27:54,796 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Checking pre-condition for Phase "loggingPhase"
2012-04-26 19:27:54,796 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Invoking phase "loggingPhase"
2012-04-26 19:27:54,796 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Invoking Handler 'InFlowLogHandler' in Phase 'loggingPhase'
2012-04-26 19:27:54,796 [http-8999-1] DEBUG [org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder] - Build the OMElement CallFunction by the StaxSOAPModelBuilder
2012-04-26 19:27:54,796 [http-8999-1] DEBUG [com.dahuatech.handler.LogHandler] - ip:10.36.24.5 request begin!
2012-04-26 19:27:54,796 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Checking post-conditions for phase "loggingPhase"
2012-04-26 19:27:54,796 [http-8999-1] DEBUG [org.apache.axis2.context.ConfigurationContext] - messageID is null.
2012-04-26 19:27:54,796 [http-8999-1] DEBUG [org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder] - Build the OMElement strXml by the StaxSOAPModelBuilder
2012-04-26 19:27:54,796 [http-8999-1] DEBUG [com.dahuatech.service.VTMS] - 10_9_你好____( End_0,Start_0,)
2012-04-26 19:27:54,796 [http-8999-1] DEBUG [java.sql.Connection] - ooo Connection Opened
2012-04-26 19:27:54,796 [http-8999-1] DEBUG [java.sql.PreparedStatement] - ==> Executing: SELECT count(*) FROM qowners AS a left JOIN qareas AS b ON a.iAreaCode = b.iAreaCode
2012-04-26 19:27:54,796 [http-8999-1] DEBUG [java.sql.PreparedStatement] - ==> Parameters:
2012-04-26 19:27:54,812 [http-8999-1] DEBUG [java.sql.PreparedStatement] - ==> Executing: SELECT a.iOwnerId, a.sOwnerCode, a.iOwnerGender, a.sOwnerName, a.iFloor, a.iRoom, a.iOwnerType, a.iAreaCode, a.iRightGroupId, a.iOwnerVTH, a.sOwnerFamilyName, a.iDocumnetsType, b.sAreaAddr FROM qowners AS a left JOIN qareas AS b ON a.iAreaCode = b.iAreaCode
2012-04-26 19:27:54,812 [http-8999-1] DEBUG [java.sql.PreparedStatement] - ==> Parameters:
2012-04-26 19:27:54,812 [http-8999-1] DEBUG [java.sql.PreparedStatement] - ==> Executing: SELECT iRightGroupId, sRightGroupName, sDesc, iAreaCode FROM qrightgroups where iRightGroupId = ?
2012-04-26 19:27:54,812 [http-8999-1] DEBUG [java.sql.PreparedStatement] - ==> Parameters: 1808(Integer)
2012-04-26 19:27:54,812 [http-8999-1] DEBUG [java.sql.PreparedStatement] - ==> Executing: SELECT iRightGroupId, sRightGroupName, sDesc, iAreaCode FROM qrightgroups where iRightGroupId = ?
2012-04-26 19:27:54,812 [http-8999-1] DEBUG [java.sql.PreparedStatement] - ==> Parameters: 1888(Integer)
2012-04-26 19:27:54,812 [http-8999-1] DEBUG [java.sql.PreparedStatement] - ==> Executing: SELECT iRightGroupId, sRightGroupName, sDesc, iAreaCode FROM qrightgroups where iRightGroupId = ?
2012-04-26 19:27:54,812 [http-8999-1] DEBUG [java.sql.PreparedStatement] - ==> Parameters: 1881(Integer)
2012-04-26 19:27:54,812 [http-8999-1] DEBUG [java.sql.PreparedStatement] - ==> Executing: SELECT iRightGroupId, sRightGroupName, sDesc, iAreaCode FROM qrightgroups where iRightGroupId = ?
2012-04-26 19:27:54,812 [http-8999-1] DEBUG [java.sql.PreparedStatement] - ==> Parameters: 1807(Integer)
2012-04-26 19:27:54,812 [http-8999-1] DEBUG [java.sql.PreparedStatement] - ==> Executing: SELECT iRightGroupId, sRightGroupName, sDesc, iAreaCode FROM qrightgroups where iRightGroupId = ?
2012-04-26 19:27:54,812 [http-8999-1] DEBUG [java.sql.PreparedStatement] - ==> Parameters: 2699(Integer)
2012-04-26 19:27:54,812 [http-8999-1] DEBUG [java.sql.PreparedStatement] - ==> Executing: SELECT iRightGroupId, sRightGroupName, sDesc, iAreaCode FROM qrightgroups where iRightGroupId = ?
2012-04-26 19:27:54,812 [http-8999-1] DEBUG [java.sql.PreparedStatement] - ==> Parameters: 4(Integer)
2012-04-26 19:27:54,812 [http-8999-1] DEBUG [java.sql.PreparedStatement] - ==> Executing: SELECT iRightGroupId, sRightGroupName, sDesc, iAreaCode FROM qrightgroups where iRightGroupId = ?
2012-04-26 19:27:54,812 [http-8999-1] DEBUG [java.sql.PreparedStatement] - ==> Parameters: 1809(Integer)
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [java.sql.PreparedStatement] - ==> Executing: SELECT iRightGroupId, sRightGroupName, sDesc, iAreaCode FROM qrightgroups where iRightGroupId = ?
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [java.sql.PreparedStatement] - ==> Parameters: 6(Integer)
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [java.sql.PreparedStatement] - ==> Executing: SELECT iRightGroupId, sRightGroupName, sDesc, iAreaCode FROM qrightgroups where iRightGroupId = ?
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [java.sql.PreparedStatement] - ==> Parameters: 5(Integer)
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [java.sql.PreparedStatement] - ==> Executing: SELECT iRightGroupId, sRightGroupName, sDesc, iAreaCode FROM qrightgroups where iRightGroupId = ?
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [java.sql.PreparedStatement] - ==> Parameters: 1812(Integer)
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [java.sql.PreparedStatement] - ==> Executing: SELECT iRightGroupId, sRightGroupName, sDesc, iAreaCode FROM qrightgroups where iRightGroupId = ?
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [java.sql.PreparedStatement] - ==> Parameters: 7(Integer)
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674865] Checking pre-condition for Phase "soapmonitorPhase"
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674865] Invoking phase "soapmonitorPhase"
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674865] Checking post-conditions for phase "soapmonitorPhase"
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674865] Checking pre-condition for Phase "OperationOutPhase"
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674865] Invoking phase "OperationOutPhase"
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674865] Checking post-conditions for phase "OperationOutPhase"
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674865] Checking pre-condition for Phase "RMPhase"
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674865] Invoking phase "RMPhase"
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674865] Checking post-conditions for phase "RMPhase"
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674865] Checking pre-condition for Phase "PolicyDetermination"
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674865] Invoking phase "PolicyDetermination"
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674865] Checking post-conditions for phase "PolicyDetermination"
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674865] Checking pre-condition for Phase "MessageOut"
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674865] Invoking phase "MessageOut"
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674865] Invoking Handler 'AddressingOutHandler' in Phase 'MessageOut'
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674865] Checking post-conditions for phase "MessageOut"
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674865] Checking pre-condition for Phase "Security"
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674865] Invoking phase "Security"
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674865] Checking post-conditions for phase "Security"
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674865] Checking pre-condition for Phase "loggingPhase"
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674865] Invoking phase "loggingPhase"
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674865] Invoking Handler 'OutFlowLogHandler' in Phase 'loggingPhase'
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [com.dahuatech.handler.LogHandler] - request end
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674865] Checking post-conditions for phase "loggingPhase"
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axiom.om.OMOutputFormat] - Start getContentType: OMOutputFormat [ mimeBoundary =null rootContentId=null doOptimize=false doingSWA=false isSOAP11=true charSetEncoding=UTF-8 xmlVersion=null contentType=null ignoreXmlDeclaration=false autoCloseWriter=true actionProperty=null optimizedThreshold=0]
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axiom.om.OMOutputFormat] - getContentType= {text/xml} OMOutputFormat [ mimeBoundary =null rootContentId=null doOptimize=false doingSWA=false isSOAP11=true charSetEncoding=UTF-8 xmlVersion=null contentType=text/xml ignoreXmlDeclaration=false autoCloseWriter=true actionProperty=null optimizedThreshold=0]
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axis2.transport.http.SOAPMessageFormatter] - contentType from the OMOutputFormat =text/xml
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axis2.transport.http.SOAPMessageFormatter] - contentType returned =text/xml; charset=UTF-8
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axis2.transport.http.SOAPMessageFormatter] - start writeTo()
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axis2.transport.http.SOAPMessageFormatter] - preserve=false
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axis2.transport.http.SOAPMessageFormatter] - isOptimized=false
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axis2.transport.http.SOAPMessageFormatter] - isDoingSWA=false
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axis2.util.Utils] - MTOM optimized Threshold value =0
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axiom.om.impl.MTOMXMLStreamWriter] - Creating MTOMXMLStreamWriter
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axiom.om.impl.MTOMXMLStreamWriter] - OutputStream =class java.io.BufferedOutputStream
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axiom.om.impl.MTOMXMLStreamWriter] - OMFormat = OMOutputFormat [ mimeBoundary =null rootContentId=null doOptimize=false doingSWA=false isSOAP11=true charSetEncoding=UTF-8 xmlVersion=null contentType=text/xml ignoreXmlDeclaration=false autoCloseWriter=true actionProperty=null optimizedThreshold=0]
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axiom.om.util.StAXUtils] - XMLStreamWriter is org.apache.axiom.util.stax.dialect.WoodstoxStreamWriterWrapper
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axiom.soap.impl.llom.SOAPEnvelopeImpl] - Could not close builder or parser due to:
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axiom.soap.impl.llom.SOAPEnvelopeImpl] - builder is null
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axiom.om.impl.MTOMXMLStreamWriter] - Calling MTOMXMLStreamWriter.flush
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axiom.om.impl.MTOMXMLStreamWriter] - close
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axis2.transport.http.SOAPMessageFormatter] - end writeTo()
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axis2.transport.TransportUtils] - Found RequestResponseTransport setting response written
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674865] Invoking flowComplete() in Phase "loggingPhase"
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674865] Invoking flowComplete() for Handler 'OutFlowLogHandler' in Phase 'loggingPhase'
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674865] Invoking flowComplete() in Phase "Security"
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674865] Invoking flowComplete() in Phase "MessageOut"
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674865] Invoking flowComplete() for Handler 'AddressingOutHandler' in Phase 'MessageOut'
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674865] Invoking flowComplete() in Phase "PolicyDetermination"
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674865] Invoking flowComplete() in Phase "RMPhase"
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674865] Invoking flowComplete() in Phase "OperationOutPhase"
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674865] Invoking flowComplete() in Phase "soapmonitorPhase"
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Invoking flowComplete() in Phase "loggingPhase"
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Invoking flowComplete() for Handler 'InFlowLogHandler' in Phase 'loggingPhase'
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Invoking flowComplete() in Phase "soapmonitorPhase"
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Invoking flowComplete() in Phase "OperationInPhase"
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Invoking flowComplete() for Handler 'MustUnderstandChecker' in Phase 'OperationInPhase'
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Invoking flowComplete() in Phase "RMPhase"
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Invoking flowComplete() in Phase "Dispatch"
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Invoking flowComplete() for Handler 'MustUnderstandValidationDispatcher' in Phase 'Dispatch'
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Invoking flowComplete() for Handler 'GenericProviderDispatcher' in Phase 'Dispatch'
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Invoking flowComplete() for Handler 'HTTPLocationBasedDispatcher' in Phase 'Dispatch'
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Invoking flowComplete() for Handler 'AddressingValidationHandler' in Phase 'Dispatch'
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Invoking flowComplete() for Handler 'SOAPMessageBodyBasedDispatcher' in Phase 'Dispatch'
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Invoking flowComplete() for Handler 'RequestURIOperationDispatcher' in Phase 'Dispatch'
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Invoking flowComplete() for Handler 'SOAPActionBasedDispatcher' in Phase 'Dispatch'
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Invoking flowComplete() for Handler 'RequestURIBasedDispatcher' in Phase 'Dispatch'
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Invoking flowComplete() in Phase "PreDispatch"
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Invoking flowComplete() in Phase "Security"
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Invoking flowComplete() in Phase "Addressing"
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Invoking flowComplete() for Handler 'AddressingBasedDispatcher' in Phase 'Addressing'
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Invoking flowComplete() for Handler 'AddressingInHandler' in Phase 'Addressing'
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Invoking flowComplete() in Phase "Transport"
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Invoking flowComplete() for Handler 'SOAPActionBasedDispatcher' in Phase 'Transport'
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axis2.engine.Phase] - [MessageContext: logID=urn:uuid:7F3B554DE52B92CF071335439674817] Invoking flowComplete() for Handler 'RequestURIBasedDispatcher' in Phase 'Transport'
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axis2.transport.TransportUtils] - Found RequestResponseTransport returning isResponseWritten()
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axis2.transport.TransportUtils] - Entering deleteAttachments()
2012-04-26 19:27:54,828 [http-8999-1] DEBUG [org.apache.axis2.transport.TransportUtils] - Exiting deleteAttachments()
相关推荐
通过以上步骤,我们可以将Axis2 Web服务完全融入Spring的应用程序中,实现更高效的开发、测试和部署流程。这样的整合不仅简化了代码管理,还充分利用了Spring的高级特性,提高了整体系统的灵活性和可靠性。在实际...
1. **服务编排**:Axis2支持服务组件模型(Service Component Architecture, SCA),允许开发者将多个服务组合成复杂的业务流程。 2. **模块化架构**:Axis2采用模块化的结构,使得服务可以根据需求进行定制和扩展,...
标题中的“axis2webservice接口例子”指的是使用Apache Axis2框架创建的一个Web...通过这个例子,开发者能够深入理解Web服务的工作原理,以及如何利用Apache Axis2这一强大工具来简化开发流程,提高跨平台通信的效率。
描述中提及的例子链接虽然已经失效,但通常它会展示一个基本的Axis2 Web服务开发流程,包括创建服务类、编写服务接口、配置服务描述文件(WSDL,Web Services Description Language)以及部署服务到Axis2服务器。...
9. **日志和调试**:为了跟踪服务执行过程和排查问题, Axis2提供了详细的日志记录功能。开发者可以通过配置日志框架(如Log4j)来控制日志级别和输出。 10. **性能优化**:轴心2支持多线程、异步处理和缓存策略,...
- AXIS2的架构和工作原理,解释其模块化设计和如何处理SOAP消息。 - 高级特性,如MTOM(Message Transmission Optimization Mechanism)和SwA(Soap with Attachments)用于传输二进制数据。 - 服务的发布和部署...
Axis2使用log4j进行日志记录,通过调整log4j.properties配置文件,可以获取详细的调试信息,帮助定位问题。 综上所述,Apache Axis2 1.5.3是一个强大且灵活的Web服务框架,适用于各种复杂的Web服务场景。虽然当前...
总的来说,Axis2的Eclipse插件是Web服务开发的强大辅助工具,它简化了开发流程,提高了开发者的生产力,对于熟悉Eclipse环境的开发者来说,是一个不可或缺的工具集。通过深入了解和熟练使用这两个插件,开发者可以更...
这个测试实例提供了深入理解Axis2工作原理和实际操作的平台,同时包含的文档将帮助我们更好地学习和掌握Axis2的相关知识。 在 Axis2 测试实例中,我们可以期待以下几个核心知识点: 1. **Web服务基础**:了解SOAP...
5. **配置Axis2**:根据需求修改`axis2.xml`配置文件,比如设置端口号、日志级别等。 6. **启动Axis2服务器**:执行Axis2的`bin`目录下的启动脚本(如`axis2server.bat`或`axis2server.sh`),启动Axis2服务引擎。 ...
2. 高性能:Axis2采用了一种称为"Message Receiver"的机制,优化了消息处理流程,提升了Web服务的响应速度。 3. 支持多种传输协议:除了HTTP,Axis2还支持HTTPS、JMS等多种传输协议,增强了服务的可用性和安全性。 ...
- 配置文件axis2.xml是关键,它决定了服务的行为、模块加载、日志设置等。 - 对于WAR版本,还需要了解目标Servlet容器的配置和管理。 5. **扩展性与兼容性** - Axis2支持多种消息传递模式,如同步、异步、单向等...
Axis2的核心组件包括消息引擎、模块、服务、传输层和数据绑定等,这些组件协同工作,使得Web服务的处理流程高效而灵活。 **二、Axis2的安装** 1. **下载与解压**:首先从Apache官方网站下载最新的Axis2版本,然后将...
1. **Axis2架构**:解释Axis2的组件模型,如Message Receiver、Message Context和Transport等,以及它们如何协同工作来处理Web服务请求和响应。 2. **服务部署**:说明如何创建一个Axis2服务,包括编写服务类、创建...
- Axis2的核心是一个消息引擎,它与可插入的模块协同工作,如安全、传输、消息格式化等模块。 - 模块化设计使得Axis2可以轻松扩展和定制,以适应不同的应用场景。 4. **编码与编译** - 使用Axis2代码生成工具,...
- 还有 AXIS2 Ant任务,便于集成到构建流程中。 9. **RESTful服务支持** - 虽然最初设计为SOAP引擎,但Axis2也支持RESTful服务的创建和消费,利用HTTP方法(GET、POST等)进行通信。 10. **故障诊断和日志记录**...
本文档旨在提供一套完整的Axis2/C在Linux环境下的安装与配置流程。通过本教程,用户可以顺利完成Apache HTTP服务器以及Axis2/C的安装与配置,从而实现基于C语言的Web服务功能。 #### 安装Apache HTTP Server 1. **...
这些配置确保了Axis2的日志级别为DEBUG,并且使用Log4J作为日志记录器。 #### 总结 通过本文的介绍,我们不仅了解了Web Service的基本概念和发展历程,还深入探讨了Axis2的关键技术和特点。Axis2作为一个强大的Web...
总结,Java调用WebService使用Axis2.jar包时,需理解其组件功能,按照规范流程操作,结合最佳实践,可以有效地与Web服务进行交互。同时,随着技术的发展,也应关注新的Web服务框架和标准,如JAX-RS(Java API for ...