关于ssm 整合webservice cxf报错的问题
https://blog.csdn.net/cc_yy_zh/article/details/70247571
楼主按照这个实例做的整合cxf
但是这个路径
http://localhost:8080/testMavenWeb/myStyle/testCxfServer?wsdl
楼主报404
启动项目没有报错,但是有很多提示,如下:
[2018-07-10 17:37:42.156]-[org.apache.cxf.common.logging.LogUtils]-[RMI TCP Connection(3)-127.0.0.1] - Using org.apache.cxf.common.logging.Log4jLogger for logging.
[2018-07-10 17:37:42.179]-[org.apache.cxf.configuration.spring.AbstractBeanDefinitionParser]-[RMI TCP Connection(3)-127.0.0.1] - Adding org.apache.cxf.configuration.spring.AbstractBeanDefinitionParser.wireBus attribute PROPERTY to bean org.springframework.beans.factory.support.BeanDefinitionBuilder@7926b165
[2018-07-10 17:37:42.182]-[org.apache.cxf.configuration.spring.AbstractBeanDefinitionParser]-[RMI TCP Connection(3)-127.0.0.1] - Adding org.apache.cxf.configuration.spring.AbstractBeanDefinitionParser.wireBus attribute CONSTRUCTOR to bean org.springframework.beans.factory.support.BeanDefinitionBuilder@385715
[2018-07-10 17:37:42.674]-[org.apache.cxf.configuration.spring.ConfigurerImpl]-[RMI TCP Connection(3)-127.0.0.1] - Could not determine bean name for instance of class org.apache.cxf.ws.policy.PolicyAnnotationListener.
[2018-07-10 17:37:42.678]-[org.apache.cxf.configuration.spring.ConfigurerImpl]-[RMI TCP Connection(3)-127.0.0.1] - Could not determine bean name for instance of class org.apache.cxf.service.factory.FactoryBeanListenerManager.
[2018-07-10 17:37:42.685]-[org.apache.cxf.configuration.spring.ConfigurerImpl]-[RMI TCP Connection(3)-127.0.0.1] - Could not determine bean name for instance of class org.apache.cxf.ws.policy.PolicyEngineImpl.
[2018-07-10 17:37:42.686]-[org.apache.cxf.configuration.spring.ConfigurerImpl]-[RMI TCP Connection(3)-127.0.0.1] - Could not determine bean name for instance of class org.apache.cxf.ws.policy.PolicyDataEngineImpl.
[2018-07-10 17:37:42.687]-[org.apache.cxf.configuration.spring.ConfigurerImpl]-[RMI TCP Connection(3)-127.0.0.1] - Could not determine bean name for instance of class org.apache.cxf.bus.managers.CXFBusLifeCycleManager.
[2018-07-10 17:37:42.688]-[org.apache.cxf.configuration.spring.ConfigurerImpl]-[RMI TCP Connection(3)-127.0.0.1] - Could not determine bean name for instance of class org.apache.cxf.bus.managers.ServerRegistryImpl.
[2018-07-10 17:37:42.739]-[org.apache.cxf.service.factory.ReflectionServiceFactoryBean]-[RMI TCP Connection(3)-127.0.0.1] - Creating Service {http://cxf.common.zjtc.com/}OutWebServiceService from class com.zjtc.common.cxf.OutWebService
[2018-07-10 17:37:42.990]-[org.apache.cxf.jaxb.JAXBDataBinding]-[RMI TCP Connection(3)-127.0.0.1] - Created JAXBContext "jar:file:/E:/ideaWorkspaces/ghxt/out/artifacts/ghxt_war_exploded/WEB-INF/lib/jaxb-impl-2.1.13.jar!/com/sun/xml/bind/v2/runtime/JAXBContextImpl.class Build-Id: 2.1.13
Classes known to this context:
[B
boolean
byte
char
com.sun.xml.bind.api.CompositeStructure
com.zjtc.common.cxf.jaxws_asm.Say
com.zjtc.common.cxf.jaxws_asm.SayResponse
double
float
int
java.awt.Image
java.io.File
java.lang.Boolean
java.lang.Byte
java.lang.Character
java.lang.Class
java.lang.Double
java.lang.Float
java.lang.Integer
java.lang.Long
java.lang.Object
java.lang.Short
java.lang.String
java.lang.Void
java.math.BigDecimal
java.math.BigInteger
java.net.URI
java.net.URL
java.util.Calendar
java.util.Date
java.util.GregorianCalendar
java.util.UUID
javax.activation.DataHandler
javax.xml.bind.JAXBElement
javax.xml.datatype.Duration
javax.xml.datatype.XMLGregorianCalendar
javax.xml.namespace.QName
javax.xml.transform.Source
long
short
void
" with classes [class com.zjtc.common.cxf.jaxws_asm.Say, class com.zjtc.common.cxf.jaxws_asm.SayResponse].
[2018-07-10 17:37:43.107]-[org.apache.cxf.configuration.spring.ConfigurerImpl]-[RMI TCP Connection(3)-127.0.0.1] - Could not determine bean name for instance of class org.apache.cxf.binding.soap.SoapBindingFactory.
[2018-07-10 17:37:43.157]-[org.apache.cxf.configuration.spring.ConfigurerImpl]-[RMI TCP Connection(3)-127.0.0.1] - Could not determine bean name for instance of class org.apache.cxf.wsdl11.WSDLManagerImpl.
[2018-07-10 17:37:43.159]-[org.apache.cxf.resource.DefaultResourceManager]-[RMI TCP Connection(3)-127.0.0.1] - resolving resource <org.apache.cxf.wsdl11.WSDLManagerImpl/bus> type <interface org.apache.cxf.Bus>
[2018-07-10 17:37:43.160]-[org.apache.cxf.resource.DefaultResourceManager]-[RMI TCP Connection(3)-127.0.0.1] - resolving resource <null> type <interface org.apache.cxf.Bus>
[2018-07-10 17:37:43.167]-[org.apache.cxf.bus.spring.OldSpringSupport]-[RMI TCP Connection(3)-127.0.0.1] - Import of META-INF/cxf/cxf-extension-soap.xml has been deprecated and is unnecessary.
[2018-07-10 17:37:43.178]-[org.apache.ibatis.logging.LogFactory]-[RMI TCP Connection(3)-127.0.0.1] - Logging initialized using 'class org.apache.ibatis.logging.slf4j.Slf4jImpl' adapter.
[2018-07-10 17:37:43.178]-[org.apache.ibatis.logging.LogFactory]-[RMI TCP Connection(3)-127.0.0.1] - Logging initialized using 'class org.apache.ibatis.logging.slf4j.Slf4jImpl' adapter.
[2018-07-10 17:37:43.435]-[org.apache.ibatis.logging.LogFactory]-[RMI TCP Connection(3)-127.0.0.1] - Logging initialized using 'class org.apache.ibatis.logging.log4j.Log4jImpl' adapter.
[2018-07-10 17:37:43.435]-[org.apache.ibatis.logging.LogFactory]-[RMI TCP Connection(3)-127.0.0.1] - Logging initialized using 'class org.apache.ibatis.logging.log4j.Log4jImpl' adapter.
[2018-07-10 17:37:43.829]-[org.apache.cxf.configuration.spring.ConfigurerImpl]-[RMI TCP Connection(3)-127.0.0.1] - Could not determine bean name for instance of class org.apache.cxf.binding.xml.wsdl11.XMLWSDLExtensionLoader.
[2018-07-10 17:37:43.834]-[org.apache.cxf.configuration.spring.ConfigurerImpl]-[RMI TCP Connection(3)-127.0.0.1] - Could not determine bean name for instance of class org.apache.cxf.transport.http.HTTPWSDLExtensionLoader.
[2018-07-10 17:37:43.838]-[org.apache.cxf.configuration.spring.ConfigurerImpl]-[RMI TCP Connection(3)-127.0.0.1] - Could not determine bean name for instance of class org.apache.cxf.ws.addressing.impl.AddressingWSDLExtensionLoader.
[2018-07-10 17:37:43.848]-[org.apache.cxf.configuration.spring.ConfigurerImpl]-[RMI TCP Connection(3)-127.0.0.1] - Could not determine bean name for instance of class org.apache.cxf.binding.soap.SoapTransportFactory.
[2018-07-10 17:37:43.908]-[org.apache.cxf.configuration.spring.ConfigurerImpl]-[RMI TCP Connection(3)-127.0.0.1] - Could not determine bean name for instance of class org.apache.cxf.transport.http.HTTPTransportFactory.
[2018-07-10 17:37:43.912]-[org.apache.cxf.configuration.spring.ConfigurerImpl]-[RMI TCP Connection(3)-127.0.0.1] - Could not determine bean name for instance of class org.apache.cxf.transport.http_jetty.JettyDestinationFactory.
[2018-07-10 17:37:43.935]-[org.apache.cxf.configuration.spring.ConfigurerImpl]-[RMI TCP Connection(3)-127.0.0.1] - Could not determine bean name for instance of class org.apache.cxf.ws.policy.AssertionBuilderRegistryImpl.
[2018-07-10 17:37:43.937]-[org.apache.cxf.configuration.spring.ConfigurerImpl]-[RMI TCP Connection(3)-127.0.0.1] - Could not determine bean name for instance of class org.apache.cxf.ws.policy.PolicyBuilderImpl.
[2018-07-10 17:37:43.938]-[org.apache.cxf.configuration.spring.ConfigurerImpl]-[RMI TCP Connection(3)-127.0.0.1] - Could not determine bean name for instance of class org.apache.cxf.ws.policy.attachment.ServiceModelPolicyProvider.
[2018-07-10 17:37:43.943]-[org.apache.cxf.configuration.spring.ConfigurerImpl]-[RMI TCP Connection(3)-127.0.0.1] - Could not determine bean name for instance of class org.apache.cxf.ws.policy.attachment.wsdl11.Wsdl11AttachmentPolicyProvider.
[2018-07-10 17:37:43.946]-[org.apache.cxf.configuration.spring.ConfigurerImpl]-[RMI TCP Connection(3)-127.0.0.1] - Could not determine bean name for instance of class org.apache.cxf.ws.policy.PolicyInterceptorProviderRegistryImpl.
[2018-07-10 17:37:43.948]-[org.apache.cxf.configuration.spring.ConfigurerImpl]-[RMI TCP Connection(3)-127.0.0.1] - Could not determine bean name for instance of class org.apache.cxf.transport.http_jetty.continuations.JettyContinuationProviderFactory.
[2018-07-10 17:37:43.949]-[org.apache.cxf.configuration.spring.ConfigurerImpl]-[RMI TCP Connection(3)-127.0.0.1] - Could not find a definition for bean with id {http://cxf.common.zjtc.com/}OutWebServicePort.http-destination - no injection will be performed.
[2018-07-10 17:37:43.949]-[org.apache.cxf.endpoint.ServerImpl]-[RMI TCP Connection(3)-127.0.0.1] - Setting the server's publish address to be /testCxfServer
[2018-07-10 17:37:43.951]-[org.apache.cxf.configuration.spring.ConfigurerImpl]-[RMI TCP Connection(3)-127.0.0.1] - Could not determine bean name for instance of class org.apache.cxf.bus.managers.ServerLifeCycleManagerImpl.
[2018-07-10 17:37:43.956]-[org.apache.cxf.endpoint.ServerImpl]-[RMI TCP Connection(3)-127.0.0.1] - Server is starting.
[2018-07-10 17:37:43.957]-[org.apache.cxf.transport.servlet.ServletDestination]-[RMI TCP Connection(3)-127.0.0.1] - registering incoming observer: org.apache.cxf.transport.ChainInitiationObserver@2792b987
[2018-07-10 17:37:43.957]-[org.apache.cxf.endpoint.ServerImpl]-[RMI TCP Connection(3)-127.0.0.1] - register the server to serverRegistry
[2018-07-10 17:37:43.961]-[org.apache.cxf.jaxws.handler.AnnotationHandlerChainBuilder]-[RMI TCP Connection(3)-127.0.0.1] - building handler chain
[2018-07-10 17:37:43.961]-[org.apache.cxf.jaxws.handler.AnnotationHandlerChainBuilder]-[RMI TCP Connection(3)-127.0.0.1] - Checking for HandlerChain annotation on com.zjtc.common.cxf.OutWebServiceImpl
[2018-07-10 17:37:43.961]-[org.apache.cxf.jaxws.handler.AnnotationHandlerChainBuilder]-[RMI TCP Connection(3)-127.0.0.1] - Checking for HandlerChain annotation on com.zjtc.common.cxf.OutWebService
[2018-07-10 17:37:43.961]-[org.apache.cxf.jaxws.handler.AnnotationHandlerChainBuilder]-[RMI TCP Connection(3)-127.0.0.1] -