You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by ivan <iv...@dhousestudio.com> on 2008/06/04 14:28:10 UTC

Exception in camel-sa-itest

    Hi!

I use camel-sa-itest as based for my test and try to make environment 
with my service-assemply. But during test I saw following:


INFO  DeploymentService              - Error in start

null:

org.apache.cxf.service.factory.ServiceConstructionException
	at 
org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:134)
	at 
org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:160)
...

Caused by: org.apache.cxf.BusException: No DestinationFactory was found 
for the namespace http://schemas.xmlsoap.org/wsdl/http/.
	at 
org.apache.cxf.transport.DestinationFactoryManagerImpl.getDestinationFactory(DestinationFactoryManagerImpl.java:106)
	at 
org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpointInfo(AbstractWSDLBasedEndpointFactory.java:199)


May be something I forgot to configure?

    Thanks.
    Ivan Pryvalov.

Re: Exception in camel-sa-itest

Posted by Freeman Fang <fr...@gmail.com>.
Hi Ivan,

Add
<dependency>
      <groupId>org.apache.cxf</groupId>
      <artifactId>cxf-rt-transports-http-jetty</artifactId>
      <version>${cxf-version}</version>
    </dependency>

into your pom and try again.

Regards
Freeman

ivan wrote:
>    Hi!
>
> I use camel-sa-itest as based for my test and try to make environment 
> with my service-assemply. But during test I saw following:
>
>
> INFO  DeploymentService              - Error in start
>
> null:
>
> org.apache.cxf.service.factory.ServiceConstructionException
>     at 
> org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:134) 
>
>     at 
> org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:160) 
>
> ...
>
> Caused by: org.apache.cxf.BusException: No DestinationFactory was 
> found for the namespace http://schemas.xmlsoap.org/wsdl/http/.
>     at 
> org.apache.cxf.transport.DestinationFactoryManagerImpl.getDestinationFactory(DestinationFactoryManagerImpl.java:106) 
>
>     at 
> org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpointInfo(AbstractWSDLBasedEndpointFactory.java:199) 
>
>
>
> May be something I forgot to configure?
>
>    Thanks.
>    Ivan Pryvalov.
>