cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (CXF-2586) SOAP over JMS 1.0 support is broken
Date Thu, 07 Jan 2010 21:51:03 GMT

     [ https://issues.apache.org/jira/browse/CXF-2586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Daniel Kulp resolved CXF-2586.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.3

> SOAP over JMS 1.0 support is broken
> -----------------------------------
>
>                 Key: CXF-2586
>                 URL: https://issues.apache.org/jira/browse/CXF-2586
>             Project: CXF
>          Issue Type: Bug
>          Components: Transports
>    Affects Versions: 2.2.5
>         Environment: Ubuntu 9.10
>            Reporter: Kent Tong
>            Assignee: Daniel Kulp
>             Fix For: 2.3
>
>
> 1) Run WSDLToJava on the WSDL example at http://cwiki.apache.org/CXF20DOC/soap-over-jms-10-support.html
> 2) Run the JMSGreeterPortType_GreeterPort_Server class generated.
> 3) It will throw an exception (see below).
> Starting Server
> Dec 19, 2009 10:50:57 PM org.springframework.context.support.AbstractApplicationContext
prepareRefresh
> INFO: Refreshing org.apache.cxf.bus.spring.BusApplicationContext@d6c16c: display name
[org.apache.cxf.bus.spring.BusApplicationContext@d6c16c]; startup date [Sat Dec 19 22:50:57
HKT 2009]; root of context hierarchy
> Dec 19, 2009 10:50:58 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader
loadBeanDefinitions
> INFO: Loading XML bean definitions from class path resource [META-INF/cxf/cxf.xml]
> Dec 19, 2009 10:50:58 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader
loadBeanDefinitions
> INFO: Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-corba.xml]
> Dec 19, 2009 10:50:58 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader
loadBeanDefinitions
> INFO: Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-jaxws.xml]
> Dec 19, 2009 10:50:58 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader
loadBeanDefinitions
> INFO: Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-soap.xml]
> Dec 19, 2009 10:50:58 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader
loadBeanDefinitions
> INFO: Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-xml.xml]
> Dec 19, 2009 10:50:58 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader
loadBeanDefinitions
> INFO: Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-addr.xml]
> Dec 19, 2009 10:50:58 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader
loadBeanDefinitions
> INFO: Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-javascript-client.xml]
> Dec 19, 2009 10:50:58 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader
loadBeanDefinitions
> INFO: Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-local.xml]
> Dec 19, 2009 10:50:58 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader
loadBeanDefinitions
> INFO: Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-http.xml]
> Dec 19, 2009 10:50:58 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader
loadBeanDefinitions
> INFO: Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-management.xml]
> Dec 19, 2009 10:50:58 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader
loadBeanDefinitions
> INFO: Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-http-jetty.xml]
> Dec 19, 2009 10:50:58 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader
loadBeanDefinitions
> INFO: Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-http.xml]
> Dec 19, 2009 10:50:58 PM org.springframework.beans.factory.support.DefaultListableBeanFactory
registerBeanDefinition
> INFO: Overriding bean definition for bean 'org.apache.cxf.transport.http.policy.HTTPClientAssertionBuilder':
replacing [Generic bean: class [org.apache.cxf.transport.http.policy.HTTPClientAssertionBuilder];
scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true;
primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null;
defined in class path resource [META-INF/cxf/cxf-extension-http.xml]] with [Generic bean:
class [org.apache.cxf.transport.http.policy.HTTPClientAssertionBuilder]; scope=singleton;
abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true;
primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null;
defined in class path resource [META-INF/cxf/cxf-extension-http.xml]]
> Dec 19, 2009 10:50:58 PM org.springframework.beans.factory.support.DefaultListableBeanFactory
registerBeanDefinition
> INFO: Overriding bean definition for bean 'org.apache.cxf.transport.http.policy.HTTPServerAssertionBuilder':
replacing [Generic bean: class [org.apache.cxf.transport.http.policy.HTTPServerAssertionBuilder];
scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true;
primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null;
defined in class path resource [META-INF/cxf/cxf-extension-http.xml]] with [Generic bean:
class [org.apache.cxf.transport.http.policy.HTTPServerAssertionBuilder]; scope=singleton;
abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true;
primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null;
defined in class path resource [META-INF/cxf/cxf-extension-http.xml]]
> Dec 19, 2009 10:50:58 PM org.springframework.beans.factory.support.DefaultListableBeanFactory
registerBeanDefinition
> INFO: Overriding bean definition for bean 'org.apache.cxf.transport.http.policy.NoOpPolicyInterceptorProvider':
replacing [Generic bean: class [org.apache.cxf.transport.http.policy.NoOpPolicyInterceptorProvider];
scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true;
primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null;
defined in class path resource [META-INF/cxf/cxf-extension-http.xml]] with [Generic bean:
class [org.apache.cxf.transport.http.policy.NoOpPolicyInterceptorProvider]; scope=singleton;
abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true;
primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null;
defined in class path resource [META-INF/cxf/cxf-extension-http.xml]]
> Dec 19, 2009 10:50:58 PM org.springframework.beans.factory.support.DefaultListableBeanFactory
registerBeanDefinition
> INFO: Overriding bean definition for bean 'org.apache.cxf.transport.http.ClientOnlyHTTPTransportFactory':
replacing [Generic bean: class [org.apache.cxf.transport.http.ClientOnlyHTTPTransportFactory];
scope=singleton; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true;
primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null;
defined in class path resource [META-INF/cxf/cxf-extension-http.xml]] with [Generic bean:
class [org.apache.cxf.transport.http.ClientOnlyHTTPTransportFactory]; scope=singleton; abstract=false;
lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null;
factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path
resource [META-INF/cxf/cxf-extension-http.xml]]
> Dec 19, 2009 10:50:58 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader
loadBeanDefinitions
> INFO: Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-jms.xml]
> Dec 19, 2009 10:50:58 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader
loadBeanDefinitions
> INFO: Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-object-binding.xml]
> Dec 19, 2009 10:50:58 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader
loadBeanDefinitions
> INFO: Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-http-binding.xml]
> Dec 19, 2009 10:50:58 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader
loadBeanDefinitions
> INFO: Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-jaxrs-binding.xml]
> Dec 19, 2009 10:50:58 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader
loadBeanDefinitions
> INFO: Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-ws-security.xml]
> Dec 19, 2009 10:50:58 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader
loadBeanDefinitions
> INFO: Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-policy.xml]
> Dec 19, 2009 10:50:58 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader
loadBeanDefinitions
> INFO: Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-rm.xml]
> Dec 19, 2009 10:50:58 PM org.springframework.context.support.AbstractApplicationContext
obtainFreshBeanFactory
> INFO: Bean factory for application context [org.apache.cxf.bus.spring.BusApplicationContext@d6c16c]:
org.springframework.beans.factory.support.DefaultListableBeanFactory@6c585a
> Dec 19, 2009 10:50:58 PM org.springframework.beans.factory.support.DefaultListableBeanFactory
preInstantiateSingletons
> INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@6c585a:
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.corba.CorbaBindingFactory,org.apache.cxf.binding.corba.wsdl.WSDLExtensionRegister#0,org.apache.cxf.jaxws.context.WebServiceContextResourceResolver,org.apache.cxf.jaxws.context.WebServiceContextImpl,org.apache.cxf.binding.soap.SoapBindingFactory,org.apache.cxf.binding.soap.SoapTransportFactory,org.apache.cxf.binding.soap.customEditorConfigurer,org.apache.cxf.binding.xml.XMLBindingFactory,org.apache.cxf.ws.addressing.policy.AddressingAssertionBuilder,org.apache.cxf.ws.addressing.policy.AddressingPolicyInterceptorProvider,org.apache.cxf.ws.addressing.policy.UsingAddressingAssertionBuilder,org.apache.cxf.javascript.JavascriptQueryHandlerRegistry,org.apache.cxf.transport.local.LocalTransportFactory,org.apache.cxf.transport.http.policy.HTTPClientAssertionBuilder,org.apache.cxf.transport.http.policy.HTTPServerAssertionBuilder,org.apache.cxf.transport.http.policy.NoOpPolicyInterceptorProvider,org.apache.cxf.transport.http.ClientOnlyHTTPTransportFactory,org.apache.cxf.management.InstrumentationManager,org.apache.cxf.transport.http_jetty.JettyHTTPTransportFactory,org.apache.cxf.transport.jms.JMSTransportFactory,org.apache.cxf.binding.object.ObjectBindingFactory,org.apache.cxf.binding.http.HttpBindingFactory,org.apache.cxf.jaxrs.JAXRSBindingFactory,org.apache.cxf.ws.security.policy.WSSecurityPolicyLoader,org.apache.cxf.ws.policy.AssertionBuilderRegistry,org.apache.cxf.ws.policy.PolicyInterceptorProviderRegistry,org.apache.cxf.ws.policy.attachment.external.DomainExpressionBuilderRegistry,org.apache.cxf.ws.policy.attachment.external.EndpointReferenceDomainExpressionBuilder,org.apache.cxf.ws.policy.PolicyBuilder,org.apache.cxf.ws.policy.PolicyEngine,org.apache.cxf.ws.policy.attachment.wsdl11.Wsdl11AttachmentPolicyProvider,org.apache.cxf.ws.policy.attachment.ServiceModelPolicyProvider,org.apache.cxf.ws.policy.mtom.MTOMAssertionBuilder,org.apache.cxf.ws.policy.mtom.MTOMPolicyInterceptorProvider,org.apache.cxf.ws.rm.RMManager,org.apache.cxf.ws.rm.policy.RMPolicyInterceptorProvider,org.apache.cxf.ws.rm.RMAssertionBuilder];
root of factory hierarchy
> Dec 19, 2009 10:50:59 PM org.apache.cxf.service.factory.ReflectionServiceFactoryBean
buildServiceFromClass
> INFO: Creating Service {http://ss.ttdev.com/}JMSGreeterPortTypeImplService from class
com.ttdev.ss.JMSGreeterPortType
> Exception in thread "main" javax.xml.ws.WebServiceException: org.apache.cxf.service.factory.ServiceConstructionException
> 	at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:275)
> 	at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:209)
> 	at org.apache.cxf.jaxws.spi.ProviderImpl.createAndPublishEndpoint(ProviderImpl.java:84)
> 	at javax.xml.ws.Endpoint.publish(Endpoint.java:170)
> 	at com.ttdev.ss.JMSGreeterPortType_GreeterPort_Server.<init>(JMSGreeterPortType_GreeterPort_Server.java:19)
> 	at com.ttdev.ss.JMSGreeterPortType_GreeterPort_Server.main(JMSGreeterPortType_GreeterPort_Server.java:23)
> Caused by: org.apache.cxf.service.factory.ServiceConstructionException
> 	at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:127)
> 	at org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:167)
> 	at org.apache.cxf.jaxws.EndpointImpl.getServer(EndpointImpl.java:346)
> 	at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:259)
> 	... 5 more
> Caused by: java.net.MalformedURLException: unknown protocol: jms
> 	at java.net.URL.<init>(URL.java:574)
> 	at java.net.URL.<init>(URL.java:464)
> 	at java.net.URL.<init>(URL.java:413)
> 	at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.<init>(JettyHTTPDestination.java:96)
> 	at org.apache.cxf.transport.http_jetty.JettyHTTPTransportFactory.createDestination(JettyHTTPTransportFactory.java:116)
> 	at org.apache.cxf.transport.http_jetty.JettyHTTPTransportFactory.getDestination(JettyHTTPTransportFactory.java:103)
> 	at org.apache.cxf.binding.soap.SoapTransportFactory.getDestination(SoapTransportFactory.java:74)
> 	at org.apache.cxf.endpoint.ServerImpl.initDestination(ServerImpl.java:90)
> 	at org.apache.cxf.endpoint.ServerImpl.<init>(ServerImpl.java:69)
> 	at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:106)
> 	... 8 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message