Hi,

According to the[1] it check for the content length header. Add <property
name="DISABLE_CHUNKING" scope="axis2" value="true"/> as it suggest to your
proxy
[1] -
http://stackoverflow.com/questions/20489419/wso2-esb-proxy-service-error-transport-error-411-error-length-required

Thanks

On Thu, Jun 11, 2015 at 3:59 PM, Aaquibah Nashry <[email protected]> wrote:

> Hi,
> I created a proxy. When i use the 'try it' option from the management
> console, i get the following error:
>
> <TryitProxyError h:status="SOAP envelope error" xmlns:h="
> http://wso2.org/ns/TryitProxy";>org.apache.axis2.AxisFault: Transport
> error: 411 Error: Length Required</TryitProxyError>
>
> What could be the reason for this?
>
> I created a pass through proxy, gave the target url as:
> http://www.w3schools.com/webservices/tempconvert.asmx?WSDL
>
> This is my proxy:
> <?xml version="1.0" encoding="UTF-8"?>
> <proxy xmlns="http://ws.apache.org/ns/synapse";
>        name="passthroughtest"
>        transports="https,http"
>        statistics="disable"
>        trace="disable"
>        startOnLoad="true">
>    <target>
>       <outSequence>
>          <send/>
>       </outSequence>
>       <endpoint>
>          <address uri="
> http://www.w3schools.com/webservices/tempconvert.asmx"/>
>       </endpoint>
>    </target>
>    <publishWSDL uri="
> http://www.w3schools.com/webservices/tempconvert.asmx?WSDL"/>
>    <description/>
> </proxy>
>
>
> Thanks in advance
>
> M.R.Aaquibah Nashry
> *Intern, Engineering*
> Mobile : +94 773946123
> Tel      : +94 112662541
> [email protected]
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Thusitha Dayaratne
Software Engineer
WSO2 Inc. - lean . enterprise . middleware |  wso2.com

Mobile  +94712756809
Blog      alokayasoya.blogspot.com
About    http://about.me/thusithathilina
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to