-
apache-cxf-2.5.2 中 samples中的wsdl_first项目报错,如何解决?5
Starting Server
2012-3-19 18:10:43 org.springframework.context.support.AbstractApplicationContext prepareRefresh
信息: Refreshing org.apache.cxf.bus.spring.BusApplicationContext@147ee05: startup date [Mon Mar 19 18:10:43 CST 2012]; root of context hierarchy
2012-3-19 18:10:43 org.apache.cxf.bus.spring.BusApplicationContext getConfigResources
信息: Loaded configuration file cxf.xml.
2012-3-19 18:10:43 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
信息: Loading XML bean definitions from class path resource [META-INF/cxf/cxf.xml]
2012-3-19 18:10:44 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
信息: Loading XML bean definitions from class path resource [cxf.xml]
2012-3-19 18:10:44 org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
信息: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@18b81e3: defining beans [cxf,org.apache.cxf.bus.spring.BusWiringBeanFactoryPostProcessor,org.apache.cxf.bus.spring.Jsr250BeanPostProcessor,org.apache.cxf.bus.spring.BusExtensionPostProcessor,{http://apache.org/hello_world_soap_http}SoapPort.jaxws-client.proxyFactory,{http://apache.org/hello_world_soap_http}SoapPort.jaxws-client,{http://apache.org/hello_world_soap_http}SoapPort.jaxws-endpoint]; root of factory hierarchy
2012-3-19 18:10:44 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://server.customerservice.example.com/}CustomerServiceImplService from class com.example.customerservice.CustomerService
2012-3-19 18:10:44 org.apache.cxf.transport.http.HTTPTransportFactory getDestination
严重: Cannot find any registered HttpDestinationFactory from the Bus.
Exception in thread "main" javax.xml.ws.WebServiceException: org.apache.cxf.service.factory.ServiceConstructionException
at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:353)
at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:242)
at org.apache.cxf.jaxws.spi.ProviderImpl.createAndPublishEndpoint(ProviderImpl.java:145)
at javax.xml.ws.Endpoint.publish(Endpoint.java:170)
at com.example.customerservice.server.CustomerServiceServer.<init>(CustomerServiceServer.java:35)
at com.example.customerservice.server.CustomerServiceServer.main(CustomerServiceServer.java:44)
Caused by: org.apache.cxf.service.factory.ServiceConstructionException
at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:178)
at org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:207)
at org.apache.cxf.jaxws.EndpointImpl.getServer(EndpointImpl.java:438)
at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:325)
... 5 more
Caused by: java.io.IOException: Cannot find any registered HttpDestinationFactory from the Bus.
at org.apache.cxf.transport.http.HTTPTransportFactory.getDestination(HTTPTransportFactory.java:270)
at org.apache.cxf.binding.soap.SoapTransportFactory.getDestination(SoapTransportFactory.java:136)
at org.apache.cxf.endpoint.ServerImpl.initDestination(ServerImpl.java:93)
at org.apache.cxf.endpoint.ServerImpl.<init>(ServerImpl.java:72)
at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:160)
... 8 more2012年3月19日 18:16
目前还没有答案
相关推荐
apache-cxf-2.5.2
apache-cxf-2.7.6.rar webservice
apache-cxf-2.2.4 工具类
apache-cxf 2.2.8 支持webservice 反正生成服务端代码,附带一个文本文件。希望有需要的小伙伴可以下载来看。
apache-cxf-2.6.1.zip cxf转化wsdl文件,生成javaBean实体类 附上使用文章:http://blog.csdn.net/sinat_34979884/article/details/78776305
apache-cxf-3.1.6官方版,其中有spring包。2016-4-14最新版。
Apache CXF 是一个开放源代码框架,提供了用于方便地构建和开发 Web 服务的可靠基础架构。
apache-cxf-2.2.10所有的jar,无需在一个一个的去找了。cxf.jar commons-logging.jar neethi.jar ...apache-cxf-2.2.10(B) 中包含api B下载地址:(http://download.csdn.net/source/2660265) 合起来为全套cxf的jar
cxf自动生成webservice客户端,apache-cxf-2.7.18最稳定的版本 apache cxf 框架wsdl2java命令的使用。 -encoding是指定编码类型; -p 指定包名 -d 指定生成目录 -all生成服务端和客户端代码 -...
亲测可用 apache-cxf-2.5.2 使用cxf发布webservice 需要的请下载
cxf下webservice开发需要的环境,配合ant使用
apache-cxf-3.0.13官方完整jar包,包含bin目录和api文档,还有完整的simple来参考。可与spring3.2.0完美整合。
apache-cxf-2.2.1可下载 apache-cxf-2.2.1可下载
apache-cxf 2.7.6 包含apache-cxf所有jar包,用于cxf开发,可能用于生成webservice 客户端和服务端
apache-cxf-2.7.11是cxf较新的版本,支持jdk1.7
tools的工具包,axis2,apache-cxf
WebService接口开发,apache-cxf的压缩包,Apache-cxf资源
web service apache-cxf-2.4.1.rar 框架依赖包
apache-cxf-2.3.5(2)-src.zipapache-cxf-2.3.5(2)-src.zip
apache-cxf-2.7.18-src.zip