ServletTransportFactory bean in cxf-servlet.xml file use incorrect collection 
type.
-----------------------------------------------------------------------------------

                 Key: CXF-2942
                 URL: https://issues.apache.org/jira/browse/CXF-2942
             Project: CXF
          Issue Type: Bug
    Affects Versions: 2.2.8
            Reporter: Harpreet Singh
            Priority: Minor


ServletTransportFactory bean defined in cxf-servlet.xml file use Set instead of 
List.

 <bean class="org.apache.cxf.transport.servlet.ServletTransportFactory"  
id="org.apache.cxf.transport.servlet.ServletTransportFactory">
        <property name="bus" ref="cxf"/>
        <property name="transportIds">
            <set>
                <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>              
  
            </set>
        </property>

must be

 <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>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to