You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2009/03/31 17:08:57 UTC

[jira] Resolved: (CXF-1999) HTTP conduit configuration is not loaded when not using Spring

     [ https://issues.apache.org/jira/browse/CXF-1999?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp resolved CXF-1999.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2.1
                   2.1.5
                   2.0.11
         Assignee: Daniel Kulp

> 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
>            Assignee: Daniel Kulp
>             Fix For: 2.0.11, 2.1.5, 2.2.1
>
>
> 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.