在Glassfish中部署CXF JAX-WS Web服务,但不在JBOSS 4中部署

时间:2015-04-01 19:46:59

标签: web-services jboss jax-ws

我需要在JBOSS版本4.x中部署CXF-JAX WS Web服务。

我尝试在http://united-coders.com/phillip-steffensen/developing-a-simple-soap-webservice-using-spring-301-and-apache-cxf-226/

中部署示例

在glassfish中发布的Web服务我可以看到WSDL。但在JBOSS 4.x版本中它表示“目前没有部署端点”#34;

localhost:8080 / jbossws / services。

你能告诉我我错过了什么吗?我怎样才能进一步解决这个问题?

启动JBOSS服务器时,我可以在server.log

中看到

服务器日志

06:35:59.233 INFO  [org.springframework.web.context.support.XmlWebApplicationContext] Refreshing Root WebApplicationContext: startup date [Thu Apr 02 06:35:59 EST 2015]; root of context hierarchy
06:35:59.334 INFO  [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] Loading XML bean definitions from class path resource [application-context.xml]
06:35:59.402 INFO  [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] Loading XML bean definitions from class path resource [META-INF/cxf/cxf.xml]
06:35:59.450 INFO  [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-soap.xml]
06:35:59.469 INFO  [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] Loading XML bean definitions from class path resource [META-INF/cxf/cxf-servlet.xml]
06:35:59.829 INFO  [org.springframework.beans.factory.support.DefaultListableBeanFactory] Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@23ac5c8b: defining beans [cxf,org.apache.cxf.bus.spring.BusApplicationListener,org.apache.cxf.bus.spring.BusWiringBeanFactoryPostProcessor,org.apache.cxf.bus.spring.Jsr250BeanPostProcessor,org.apache.cxf.bus.spring.BusExtensionPostProcessor,org.apache.cxf.resource.ResourceManager,org.apache.cxf.configuration.Configurer,org.apache.cxf.binding.BindingFactoryManager,org.apache.cxf.transport.DestinationFactoryManager,org.apache.cxf.transport.ConduitInitiatorManager,org.apache.cxf.wsdl.WSDLManager,org.apache.cxf.phase.PhaseManager,org.apache.cxf.workqueue.WorkQueueManager,org.apache.cxf.buslifecycle.BusLifeCycleManager,org.apache.cxf.endpoint.ServerRegistry,org.apache.cxf.endpoint.ServerLifeCycleManager,org.apache.cxf.endpoint.ClientLifeCycleManager,org.apache.cxf.transports.http.QueryHandlerRegistry,org.apache.cxf.endpoint.EndpointResolverRegistry,org.apache.cxf.headers.HeaderManager,org.apache.cxf.catalog.OASISCatalogManager,org.apache.cxf.endpoint.ServiceContractResolverRegistry,org.apache.cxf.binding.soap.SoapBindingFactory,org.apache.cxf.binding.soap.SoapTransportFactory,org.apache.cxf.binding.soap.customEditorConfigurer,org.apache.cxf.transport.servlet.ServletTransportFactory,personServ,personService]; root of factory hierarchy
02/04/2015 6:36:01 AM org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
INFO: Creating Service {http://demo.unitedcoders.com/}PersonServiceImplService from class com.unitedcoders.demo.PersonService
02/04/2015 6:36:01 AM org.apache.cxf.endpoint.ServerImpl initDestination
INFO: Setting the server's publish address to be /personService
06:36:01.960 INFO  [org.springframework.web.context.ContextLoader] Root WebApplicationContext: initialization completed in 2799 ms
02/04/2015 6:36:01 AM org.apache.cxf.transport.servlet.CXFServlet updateContext
INFO: Load the bus with application context
06:36:01.975 INFO  [org.apache.cxf.bus.spring.BusApplicationContext] Refreshing org.apache.cxf.bus.spring.BusApplicationContext@6a469846: startup date [Thu Apr 02 06:36:01 EST 2015]; parent: Root WebApplicationContext
06:36:02.045 INFO  [org.springframework.beans.factory.support.DefaultListableBeanFactory] Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1f769f17: defining beans []; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@23ac5c8b
02/04/2015 6:36:02 AM org.apache.cxf.transport.servlet.AbstractCXFServlet replaceDestinationFactory
INFO: Servlet transport factory already registered 

0 个答案:

没有答案