cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Damien B (JIRA)" <j...@apache.org>
Subject [jira] Created: (CXF-1999) HTTP conduit configuration is not loaded when not using Spring
Date Thu, 22 Jan 2009 16:28:00 GMT
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.


Mime
View raw message