[ http://issues.apache.org/jira/browse/CXF-220?page=all ]

Jervis Liu updated CXF-220:
---------------------------


The failures are caused by using HTTP1.1 chunked on the CXF side, while axis 
1.4 does not support chunked by default. A cxf config file is provided to 
disable chunked in CXF, see below:

<beans xmlns="http://www.springframework.org/schema/beans";
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
       xmlns:http-conf="http://cxf.apache.org/transports/http/configuration";
       xsi:schemaLocation="http://www.springframework.org/schema/beans 
       http://www.springframework.org/schema/beans/spring-beans.xsd";>
    
    <bean name="{http://soapinterop.org/cxf}Echo.http-conduit"; abstract="true">
        <property name="client">
            <value>
                <http-conf:client AllowChunking="false"/>
            </value>
        </property>
    </bean>

</beans>




> Axis-CXF interop problem
> ------------------------
>
>                 Key: CXF-220
>                 URL: http://issues.apache.org/jira/browse/CXF-220
>             Project: CXF
>          Issue Type: Bug
>          Components: Bus
>    Affects Versions: 2.0-M1
>            Reporter: Jervis Liu
>         Assigned To: Jervis Liu
>             Fix For: 2.0-M1
>
>
> Using CXF as client, Axis as server, Axis throws exception on receiving 
> following message:
> POST /axis/services/Echo HTTP/1.1
> Content-Type: text/xml ; charset=utf-8
> Cache-Control: no-cache
> Pragma: no-cache
> User-Agent: Java/1.5.0_06
> Host: 127.0.0.1:9360
> Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
> Connection: keep-alive
> Transfer-Encoding: chunked
> e5
> <soap:Envelope 
> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";><soap:Body><echoBoolean
>  xmlns:ns2="http://www.w3.org/2005/08/addressing/wsdl"; 
> xmlns="http://soapinterop.org/cxf";>true</echoBoolean></soap:Body></soap:Envelope>
> 0
> Remove the e5 and 0 wrapped on the soap message, then it works. This might 
> relate to the encoding setting in cxf.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to