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

Damien B commented on CXF-1999:
-------------------------------

Workaround as seen here: 
http://code.google.com/p/xebia-france/source/browse/trunk/messaging/messaging-demo/pom.xml?r=74

add cxf-rt-transports-http-jetty.ar to the classpath, even when not using Jetty 
or having Jetty in the classpath.

> HTTP conduit configuration is not loaded when not using Spring
> --------------------------------------------------------------
>
>                 Key: CXF-1999
>                 URL: https://issues.apache.org/jira/browse/CXF-1999
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.0.9
>            Reporter: Damien B
>
> Removing Spring, the default configuration is not loaded anymore with the 
> JaxWS FrontEnd.
> Code:
> Service service = Service.create(SERVICE);
> service.addPort(PORT, SOAPBinding.SOAP11HTTP_BINDING, url);
> client = service.getPort(PORT, TheService.class);
> HTTPConduit httpConduit = (HTTPConduit) cProxy.getClient().getConduit(); <-- 
> Exception
> java.lang.RuntimeException: Could not find conduit initiator for transport 
> http://schemas.xmlsoap.org/soap/http
>       at 
> org.apache.cxf.binding.soap.SoapTransportFactory.getConduit(SoapTransportFactory.java:148)
>       at 
> org.apache.cxf.endpoint.AbstractConduitSelector.getSelectedConduit(AbstractConduitSelector.java:73)
>       at 
> org.apache.cxf.endpoint.UpfrontConduitSelector.selectConduit(UpfrontConduitSelector.java:71)
>       at org.apache.cxf.endpoint.ClientImpl.getConduit(ClientImpl.java:448)

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

Reply via email to