Apache CXF 2.3到3.0迁移...... ServletTransportFactory在哪里?

时间:2015-06-25 13:03:50

标签: apache migration cxf

我尝试从CXF 2.3迁移到CXF 3.0.3,并且发现this 2.3 class不再出现在3.0.3的cxf-rt-transports-http项目中了:

org.apache.cxf.transport.servlet.ServletTransportFactory

问题:3.0.3中的类(或其替代)在哪里?

xml片段是:

<bean class="org.apache.cxf.transport.servlet.ServletTransportFactory"
  id="org.apache.cxf.transport.servlet.ServletTransportFactory">
    <property name="bus" ref="cxf"/>
    <property name="transportIds">
        <list>
            <value>http://cxf.apache.org/bindings/xformat</value>
            <value>http://schemas.xmlsoap.org/soap/http</value>
            <value>http://schemas.xmlsoap.org/wsdl/http/</value>
            <value>http://schemas.xmlsoap.org/wsdl/soap/http</value>
            <value>http://www.w3.org/2003/05/soap/bindings/HTTP/</value>
          <value>http://cxf.apache.org/transports/http/configuration</value>                
        </list>
    </property>
</bean>

1 个答案:

答案 0 :(得分:0)