繁体   English   中英

从Apache CXF 2.3到3.0的迁移……ServletTransportFactory在哪里?

[英]Apache CXF 2.3 to 3.0 migration … where is ServletTransportFactory?

我正在尝试从CXF 2.3迁移到CXF 3.0.3,发现此2.3类不再在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>

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM