cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dennis Kieselhorst (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CXF-1637) No DestinationFactory was found for the namespace http://schemas.xmlsoap.org/soap/http
Date Wed, 11 Feb 2009 08:26:59 GMT

    [ https://issues.apache.org/jira/browse/CXF-1637?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12672548#action_12672548
] 

Dennis Kieselhorst commented on CXF-1637:
-----------------------------------------

Updated from 2.1.3 to 2.1.4, changed nothing else:
Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Factory method
[public java.lang.Object org.apache.cxf.jaxws.JaxWsProxyFactoryBean.create()] threw exception;
nested exception is org.apache.cxf.service.factory.ServiceConstructionException
        at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:127)
        at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:435)
        ... 68 more
Caused by: org.apache.cxf.service.factory.ServiceConstructionException
        at org.apache.cxf.frontend.ClientFactoryBean.create(ClientFactoryBean.java:59)
        at org.apache.cxf.frontend.ClientProxyFactoryBean.create(ClientProxyFactoryBean.java:102)
        at org.apache.cxf.jaxws.JaxWsProxyFactoryBean.create(JaxWsProxyFactoryBean.java:115)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:115)
        ... 69 more
Caused by: org.apache.cxf.BusException: No DestinationFactory was found for the namespace
http://schemas.xmlsoap.org/soap/http.
        at org.apache.cxf.transport.DestinationFactoryManagerImpl.getDestinationFactory(DestinationFactoryManagerImpl.java:115)
        at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpointInfo(AbstractWSDLBasedEndpointFactory.java:284)
        at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:146)
        at org.apache.cxf.frontend.ClientFactoryBean.create(ClientFactoryBean.java:52)
        ... 76 more


> No DestinationFactory was found for the namespace http://schemas.xmlsoap.org/soap/http
> --------------------------------------------------------------------------------------
>
>                 Key: CXF-1637
>                 URL: https://issues.apache.org/jira/browse/CXF-1637
>             Project: CXF
>          Issue Type: Bug
>          Components: Soap Binding, Transports
>    Affects Versions: 2.1
>            Reporter: Pawel Lipka
>             Fix For: Invalid
>
>
> I have a service built from a wsdl file. The wsdl file contains the soap:binding stanza
that as follows:
> <wsdlsoap:binding style="document"
>                         transport="http://schemas.xmlsoap.org/soap/http" />
> when i try to deploy this service in cxf with cxf-rt-bindings-soap.jar on the classpath
I get the following error:
> Caused by: 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)
>         at org.apache.cxf.jaxws.EndpointImpl.getServer(EndpointImpl.java:322)
>         at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:244)
>         ... 16 more
> Caused by: org.apache.cxf.BusException: No DestinationFactory was found for the namespace
http://schemas.xmlsoap.org/soap/http.
>         at org.apache.cxf.transport.DestinationFactoryManagerImpl.getDestinationFactory(DestinationFactoryManagerImpl.java:115)
>         at org.apache.cxf.endpoint.ServerImpl.initDestination(ServerImpl.java:86)
>         at org.apache.cxf.endpoint.ServerImpl.<init>(ServerImpl.java:69)
>         at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:115)
> I think that the actual cause is that the SOAPTransportFactory is registered for the
following uris/namespaces only:
>                 <value>http://schemas.xmlsoap.org/soap/</value>
>                 <value>http://schemas.xmlsoap.org/wsdl/soap/</value>
> 	        <value>http://schemas.xmlsoap.org/wsdl/soap12/</value>
> Plz note that the transport uri I have put into the binding's transport attribute is
a valid one (triple chekced against various wsdls on the internet e.g. from Amazon).

-- 
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