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

HTTP Conduit configuration is not loaded

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.1
    • 2.0.3
    • Configuration
    • None

    Description

      The http conduit config is not been loaded while creating the client using spring configuration. The conduit tlsClientParameters are never set thus the connection to a https address fails.

      This is the spring context file:

      <?xml version="1.0" encoding="UTF-8"?>
      <beans xmlns="http://www.springframework.org/schema/beans"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xmlns:sec="http://cxf.apache.org/configuration/security"
      xmlns:http="http://cxf.apache.org/transports/http/configuration"
      xmlns:jaxws="http://java.sun.com/xml/ns/jaxws"
      xsi:schemaLocation="
      http://cxf.apache.org/configuration/security
      http://cxf.apache.org/schemas/configuration/security.xsd
      http://cxf.apache.org/transports/http/configuration
      http://cxf.apache.org/schemas/configuration/http-conf.xsd
      http://www.springframework.org/schema/beans
      http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">

      <bean id="studentWebServiceClient" class="com.ecot.crm.webservice.client.ws.student.StudentService" factory-bean="studentWebServiceClientFactory" factory-method="create">
      </bean>

      <bean id="studentWebServiceClientFactory" class="org.apache.cxf.jaxws.JaxWsProxyFactoryBean">
      <property name="serviceClass" value="com.ecot.crm.webservice.client.ws.student.StudentService"/>
      <property name="address" value="${webservices.url}/StudentService"/>
      </bean>

      <http:conduit name="

      {http://client.webservice.crm.ecot.com/ws/student}

      StudentService.http-conduit">
      <http:tlsClientParameters>
      </http:tlsClientParameters>
      </http:conduit>
      </beans>

      There is also a post on the mailing list about this, the original messages is this: http://mail-archives.apache.org/mod_mbox/incubator-cxf-user/200708.mbox/%3c2D0EBEA1-B66E-47DD-A0CC-010A2F30ED48@rbxglobal.com%3e

      Attachments

        Activity

          People

            dkulp Daniel Kulp
            jarias Julio Arias
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: