Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-1999

HTTP conduit configuration is not loaded when not using Spring

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.9
    • 2.0.11, 2.1.5, 2.2.1
    • None
    • None

    Description

      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)

      Attachments

        Activity

          People

            dkulp Daniel Kulp
            night.kame Damien B
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: