Hi Thorsten

Do you use the latest cxf trunk's jars?
The orginal CXF http module (before 2007.4.5) has been split into http and http-jetty two modules for decoupling http transport with Jetty.

I just went through your classpath.
If you add the cxf-rt-transports-http-jetty-2.0-incubator-RC-SNAPSHOT.jar into you classpath, the exception will go away. :)

Cheers,

Willem.

Thorsten Kamann wrote:
Hey Dan,

I have this libs in my classpath:
<classpathentry kind="lib" path="libs/aopalliance-1.0.jar"/>
   <classpathentry kind="lib" path="libs/commons-logging-1.1.jar"/>
   <classpathentry kind="lib" path="libs/cxf-
api-2.0-incubator-RC-SNAPSHOT.jar"/>
   <classpathentry kind="lib" path="libs/cxf-
common-schemas-2.0-incubator-RC-SNAPSHOT.jar"/>
   <classpathentry kind="lib" path="libs/cxf-
common-utilities-2.0-incubator-RC-SNAPSHOT.jar"/>
   <classpathentry kind="lib" path="libs/cxf-
rt-bindings-soap-2.0-incubator-RC-SNAPSHOT.jar"/>
   <classpathentry kind="lib" path="libs/cxf-
rt-core-2.0-incubator-RC-SNAPSHOT.jar"/>
   <classpathentry kind="lib" path="libs/cxf-
rt-databinding-jaxb-2.0-incubator-RC-SNAPSHOT.jar"/>
   <classpathentry kind="lib" path="libs/cxf-
rt-frontend-jaxws-2.0-incubator-RC-SNAPSHOT.jar"/>
   <classpathentry kind="lib" path="libs/cxf-
rt-frontend-simple-2.0-incubator-RC-SNAPSHOT.jar"/>
   <classpathentry kind="lib" path="libs/cxf-
rt-transports-http-2.0-incubator-RC-SNAPSHOT.jar"/>
   <classpathentry kind="lib" path="libs/cxf-
tools-common-2.0-incubator-RC-SNAPSHOT.jar"/>
   <classpathentry kind="lib" path="libs/geronimo-activation_1.1_spec-
1.0-M1.jar"/>
   <classpathentry kind="lib" path="libs/geronimo-annotation_1.0_spec-
1.0.jar"/>
   <classpathentry kind="lib" path="libs/geronimo-javamail_1.4_spec-
1.0-M1.jar"/>
   <classpathentry kind="lib" path="libs/geronimo-servlet_2.5_spec-
1.1-M1.jar"/>
   <classpathentry kind="lib" path="libs/jaxb-api-2.0.jar"/>
   <classpathentry kind="lib" path="libs/jaxb-impl-2.0.3.jar"/>
   <classpathentry kind="lib" path="libs/jaxws-api-2.0.jar"/>
   <classpathentry kind="lib" path="libs/saaj-api-1.3.jar"/>
   <classpathentry kind="lib" path="libs/saaj-impl-1.3.jar"/>
   <classpathentry kind="lib" path="libs/spring-aop-2.0.jar"/>
   <classpathentry kind="lib" path="libs/spring-beans-2.0.jar"/>
   <classpathentry kind="lib" path="libs/spring-context-2.0.jar"/>
   <classpathentry kind="lib" path="libs/spring-core-2.0.jar"/>
   <classpathentry kind="lib" path="libs/stax-api-1.0.1.jar"/>
   <classpathentry kind="lib" path="libs/wsdl4j-1.6.1.jar"/>
   <classpathentry kind="lib" path="libs/wstx-asl-3.2.0.jar"/>
   <classpathentry kind="lib" path="libs/XmlSchema-1.2.jar"/>
   <classpathentry kind="lib" path="libs/geronimo-ws-metadata_2.0_spec-
1.1-M1.jar"/>
   <classpathentry kind="lib" path="libs/jetty-6.1.2rc0.jar"/>
   <classpathentry kind="lib" path="libs/jetty-util-6.1.2rc0.jar"/>
   <classpathentry kind="lib" path="libs/neethi-2.0.jar"/>
   <classpathentry kind="lib" path="libs/spring-web-2.0.jar"/>

What do you mean with cxf http module?

Thorsten

On 4/10/07, Dan Diephouse <[EMAIL PROTECTED]> wrote:

HI Thorsten,

This sounds like a classpath issue. Do you have the cxf http module on
your
classpath?

Regards,
- Dan

On 4/7/07, Thorsten Kamann <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> this was my first try with CXF.
>
> Because I am working on a project with Spring I am tested with the
> provided
> Howto about using CXF with Spring.
>
> For this I have downloaded the current SNAPSHOT and follow the Howto.
The
> server is started but if I start the client I get this exception:
>
> 07.04.2007 22:55:39
>
>
org.springframework.context.support.AbstractApplicationContextinitApplicationEventMulticaster
> INFO: Unable to locate ApplicationEventMulticaster with name
> 'applicationEventMulticaster': using default [
>
>
[EMAIL PROTECTED]
> ]
> 07.04.2007 22:55:39
>
>
org.springframework.beans.factory.support.DefaultListableBeanFactorypreInstantiateSingletons
> INFO: Pre-instantiating singletons in factory [
>
>
org.springframework.beans.factory.support.DefaultListableBeanFactorydefining
> beans [client,clientFactory]; root of BeanFactory hierarchy]
> 07.04.2007 22:55:39
> org.apache.cxf.bus.spring.BusApplicationContextgetConfigResources
> INFO: Could not find the configuration file cxf.xml on the classpath.
> 07.04.2007 22:55:39
>
>
org.springframework.beans.factory.xml.XmlBeanDefinitionReaderloadBeanDefinitions
> INFO: Loading XML bean definitions from class path resource
> [META-INF/cxf/cxf.xml]
> 07.04.2007 22:55:39
>
>
org.springframework.beans.factory.xml.XmlBeanDefinitionReaderloadBeanDefinitions
> INFO: Loading XML bean definitions from URL
> [jar:file:/M:/projects/Testprojects/XCF/XCF-Spring-Sample/libs/cxf-
>
>
rt-bindings-soap-2.0-incubator-RC-SNAPSHOT.jar!/META-INF/cxf/cxf-extension-soap.xml
> ]
> 07.04.2007 22:55:39
>
>
org.springframework.beans.factory.xml.XmlBeanDefinitionReaderloadBeanDefinitions
> INFO: Loading XML bean definitions from URL
> [jar:file:/M:/projects/Testprojects/XCF/XCF-Spring-Sample/libs/cxf-
>
>
rt-transports-http-2.0-incubator-RC-SNAPSHOT.jar!/META-INF/cxf/cxf-extension-http.xml
> ]
> 07.04.2007 22:55:39
>
>
org.springframework.beans.factory.xml.XmlBeanDefinitionReaderloadBeanDefinitions
> INFO: Loading XML bean definitions from URL
> [jar:file:/M:/projects/Testprojects/XCF/XCF-Spring-Sample/libs/cxf-
> api-2.0-incubator-RC-SNAPSHOT.jar!/META-INF/cxf/cxf-property-editors.xml
]
> 07.04.2007 22:55:39
>
>
org.springframework.beans.factory.xml.XmlBeanDefinitionReaderloadBeanDefinitions
> INFO: Loading XML bean definitions from URL
> [jar:file:/M:/projects/Testprojects/XCF/XCF-Spring-Sample/libs/cxf-
>
>
rt-frontend-jaxws-2.0-incubator-RC-SNAPSHOT.jar!/META-INF/cxf/cxf-property-editors.xml
> ]
> 07.04.2007 22:55:39
>
>
org.springframework.context.support.AbstractRefreshableApplicationContextrefreshBeanFactory
> INFO: Bean factory for application context [
> org.apache.cxf.bus.spring.BusApplicationContext;hashCode=8470547]:
>
>
org.springframework.beans.factory.support.DefaultListableBeanFactorydefining
> beans [cxf,
> org.apache.cxf.bus.spring.Jsr250BeanPostProcessor,
> org.apache.cxf.bus.spring.BusExtensionPostProcessor,
> org.apache.cxf.resource.ResourceManager,
> 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.transports.http.QueryHandlerRegistry,
> org.apache.cxf.endpoint.EndpointResolverRegistry,
> org.apache.cxf.binding.soap.SoapBindingFactory,
> org.apache.cxf.binding.soap.SoapTransportFactory,
> org.apache.cxf.transport.http.policy.HTTPClientAssertionBuilder,
> org.apache.cxf.transport.http.policy.HTTPServerAssertionBuilder,
> org.apache.cxf.configuration.security.customEditorConfigurer,
> org.apache.cxf.jaxws.javaee.customEditorConfigurer]; root of BeanFactory
> hierarchy
> 07.04.2007 22:55:39
> org.springframework.context.support.AbstractApplicationContext refresh
> INFO: 21 beans defined in application context [
> org.apache.cxf.bus.spring.BusApplicationContext;hashCode=8470547]
> 07.04.2007 22:55:39
>
>
org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorCheckerpostProcessAfterInitialization
> INFO: Bean 'org.apache.cxf.bus.spring.Jsr250BeanPostProcessor' is not
> eligible for getting processed by all BeanPostProcessors (for example:
not
> eligible for auto-proxying)
> 07.04.2007 22:55:39
>
>
org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorCheckerpostProcessAfterInitialization
> INFO: Bean 'cxf' is not eligible for getting processed by all
> BeanPostProcessors (for example: not eligible for auto-proxying)
> 07.04.2007 22:55:39
>
>
org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorCheckerpostProcessAfterInitialization > INFO: Bean 'org.apache.cxf.bus.spring.BusExtensionPostProcessor' is not
> eligible for getting processed by all BeanPostProcessors (for example:
not
> eligible for auto-proxying)
> 07.04.2007 22:55:39
>
>
org.springframework.context.support.AbstractApplicationContextinitMessageSource
> INFO: Unable to locate MessageSource with name 'messageSource': using
> default [
> [EMAIL PROTECTED]
> ]
> 07.04.2007 22:55:39
>
>
org.springframework.context.support.AbstractApplicationContextinitApplicationEventMulticaster
> INFO: Unable to locate ApplicationEventMulticaster with name
> 'applicationEventMulticaster': using default [
>
>
[EMAIL PROTECTED]
> ]
> 07.04.2007 22:55:39
>
>
org.springframework.beans.factory.support.DefaultListableBeanFactorypreInstantiateSingletons
> INFO: Pre-instantiating singletons in factory [
>
>
org.springframework.beans.factory.support.DefaultListableBeanFactorydefining
> beans [cxf,
> org.apache.cxf.bus.spring.Jsr250BeanPostProcessor,
> org.apache.cxf.bus.spring.BusExtensionPostProcessor,
> org.apache.cxf.resource.ResourceManager,
> 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.transports.http.QueryHandlerRegistry,
> org.apache.cxf.endpoint.EndpointResolverRegistry,
> org.apache.cxf.binding.soap.SoapBindingFactory,
> org.apache.cxf.binding.soap.SoapTransportFactory,
> org.apache.cxf.transport.http.policy.HTTPClientAssertionBuilder,
> org.apache.cxf.transport.http.policy.HTTPServerAssertionBuilder,
> org.apache.cxf.configuration.security.customEditorConfigurer,
> org.apache.cxf.jaxws.javaee.customEditorConfigurer]; root of BeanFactory
> hierarchy]
> 07.04.2007 22:55:40
>
>
org.apache.cxf.service.factory.ReflectionServiceFactoryBeanbuildServiceFromClass
> INFO: Creating Service {http://spring.test.xfc/}HelloWorldService from
> class
> xfc.test.spring.HelloWorld
> Exception in thread "main" java.lang.RuntimeException: Could not find
> destination factory for transport http://schemas.xmlsoap.org/soap/http
>     at org.apache.cxf.binding.soap.SoapTransportFactory.getConduit(
> SoapTransportFactory.java:154)
>     at org.apache.cxf.endpoint.ClientImpl.getConduit(ClientImpl.java
:379)
>     at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:221)
>     at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java
:73)
>     at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(
JaxWsClientProxy.java
> :123)
>     at $Proxy39.sayHi(Unknown Source)
>     at xfc.test.spring.client.Client.main(Client.java:40)
>
> The server and client class are the one out of the sample folder out of
> the
> SNAPSHOT release.
>
> Whats the error? What I am missing?
>
> Thorsten
>
> --
> Thorsten Kamann
> Software-Architect, Consultant, Coaching
> Germany, NRW
>
> Business:
> itemis products and solutions GmbH & Co. KG
> Heinrichstraße 51
> 44536 Lünen
>
> Rechtlicher Hinweis:
> Amtsgericht Dortmund, HRA 15841
> P.h.G.:
> Komplementär: itemis management GmbH, Amtsgericht Dortmund HRB 18939
> Geschäftsführer Jürgen Rödl
>
> Personal:
> [EMAIL PROTECTED]
> http://www.thorsten-kamann.de/
> callto://thorque
>



--
Dan Diephouse
Envoi Solutions
http://envoisolutions.com | http://netzooid.com/blog






Reply via email to