spring集成xfire遇到的问题
2013/07/12-10:00:28 [DEBUG] [org.springframework.web.servlet.DispatcherServlet] [FrameworkServlet.java] - Bound request context to thread: org.apache.catalina.connector.RequestFacade@1e2481b
2013/07/12-10:00:28 [DEBUG] [org.springframework.web.servlet.DispatcherServlet] [DispatcherServlet.java] - DispatcherServlet with name 'xfire' processing GET request for [/user/XfireService/]
2013/07/12-10:00:28 [DEBUG] [org.springframework.web.servlet.DispatcherServlet] [DispatcherServlet.java] - Testing handler map [org.springframework.web.servlet.handler.SimpleUrlHandlerMapping@1123eb0] in DispatcherServlet with name 'xfire'
2013/07/12-10:00:28 [DEBUG] [org.springframework.web.servlet.handler.SimpleUrlHandlerMapping] [AbstractUrlHandlerMapping.java] - No handler mapping found for [/XfireService/]
2013/07/12-10:00:28 [WARN ] [org.springframework.web.servlet.PageNotFound] [DispatcherServlet.java] - No mapping found for HTTP request with URI [/user/XfireService/] in DispatcherServlet with name 'xfire'
2013/07/12-10:00:28 [DEBUG] [org.springframework.web.servlet.DispatcherServlet] [FrameworkServlet.java] - Cleared thread-bound request context: org.apache.catalina.connector.RequestFacade@1e2481b
2013/07/12-10:00:28 [DEBUG] [org.springframework.web.servlet.DispatcherServlet] [FrameworkServlet.java] - Successfully completed request
2013/07/12-10:00:28 [DEBUG] [org.springframework.web.context.support.XmlWebApplicationContext] [AbstractApplicationContext.java] - Publishing event in WebApplicationContext for namespace 'xfire-servlet': ServletRequestHandledEvent: url=[/user/XfireService/]; client=[0:0:0:0:0:0:0:1]; method=[GET]; servlet=[xfire]; session=[null]; user=[null]; time=[2ms]; status=[OK]
2013/07/12-10:00:28 [DEBUG] [org.springframework.web.context.support.XmlWebApplicationContext] [AbstractApplicationContext.java] - Publishing event in Root WebApplicationContext: ServletRequestHandledEvent: url=[/user/XfireService/]; client=[0:0:0:0:0:0:0:1]; method=[GET]; servlet=[xfire]; session=[null]; user=[null]; time=[2ms]; status=[OK]
2013/07/12-10:00:28 [DEBUG] [org.springframework.web.servlet.DispatcherServlet] [FrameworkServlet.java] - Bound request context to thread: org.apache.catalina.core.ApplicationHttpRequest@c9f997
2013/07/12-10:00:28 [DEBUG] [org.springframework.web.servlet.DispatcherServlet] [DispatcherServlet.java] - DispatcherServlet with name 'xfire' processing GET request for [/user/404.html]
2013/07/12-10:00:28 [DEBUG] [org.springframework.web.servlet.DispatcherServlet] [DispatcherServlet.java] - Testing handler map [org.springframework.web.servlet.handler.SimpleUrlHandlerMapping@1123eb0] in DispatcherServlet with name 'xfire'
2013/07/12-10:00:28 [DEBUG] [org.springframework.web.servlet.handler.SimpleUrlHandlerMapping] [AbstractUrlHandlerMapping.java] - No handler mapping found for [/404.html]
2013/07/12-10:00:28 [WARN ] [org.springframework.web.servlet.PageNotFound] [DispatcherServlet.java] - No mapping found for HTTP request with URI [/user/404.html] in DispatcherServlet with name 'xfire'
2013/07/12-10:00:28 [DEBUG] [org.springframework.web.servlet.DispatcherServlet] [FrameworkServlet.java] - Cleared thread-bound request context: org.apache.catalina.core.ApplicationHttpRequest@c9f997
2013/07/12-10:00:28 [DEBUG] [org.springframework.web.servlet.DispatcherServlet] [FrameworkServlet.java] - Successfully completed request
2013/07/12-10:00:28 [DEBUG] [org.springframework.web.context.support.XmlWebApplicationContext] [AbstractApplicationContext.java] - Publishing event in WebApplicationContext for namespace 'xfire-servlet': ServletRequestHandledEvent: url=[/user/404.html]; client=[0:0:0:0:0:0:0:1]; method=[GET]; servlet=[xfire]; session=[null]; user=[null]; time=[2ms]; status=[OK]
2013/07/12-10:00:28 [DEBUG] [org.springframework.web.context.support.XmlWebApplicationContext] [AbstractApplicationContext.java] - Publishing event in Root WebApplicationContext: ServletRequestHandledEvent: url=[/user/404.html]; client=[0:0:0:0:0:0:0:1]; method=[GET]; servlet=[xfire]; session=[null]; user=[null]; time=[2ms]; status=[OK]
Spring XFire
[解决办法]
不知道楼主想表达什么意思,猜测一下,也许楼主想用/XfireService/*来拦截webservice请求,但是没有成功,通过日记可以看出,你配置的有问题,spring把XfireService当初了一个Controller No handler mapping found for [/XfireService/] 如果是这个,请检查下配置文件!XfireService应该配置成一个servlet的!