Hi Cappa,

This seems to be a bug, where the respective builder for content type 
application/x-www-form-urlencoded, where it failed to resolve the 
parameters from the request payload.

Will get this fixed for the coming release, so that you could test this 
on the beta packs which will be available within the next few days. At 
the mean time could you please raise an issue on this under the ESB JIRA??

Thanks,
Ruwan

Cappa Roberto wrote:
> Hi,
>
> we are already trying mediation of REST calls via ESB. In the last test, we 
> are trying to mediate a POST request of type 
> application/x-www-form-urlencoded sent from a normal HTML form. The content 
> of the request is this:
>
> POST /services/RestTest HTTP/1.1
> Host: 163.162.x.x:9998
> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.9.1.2) 
> Gecko/20090729 Firefox/3.5.2
> Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
> Accept-Language: it-it,it;q=0.8,en;q=0.5,en-us;q=0.3
> Accept-Encoding: gzip,deflate
> Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
> Keep-Alive: 300
> Connection: keep-alive
> Content-Type: application/x-www-form-urlencoded
> Content-Length: 8
>
> parameter1=aa&parameter2=bb
>
> In the SOAP monitor, this is the received message
>
>  <soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope";>  
>       <soapenv:Header />  
>     <soapenv:Body />  
>  </soapenv:Envelope>  
>
> Why does parameters "parameter1" and "parameter2" are lost? It seems that 
> conversion in SOAP message works only in case of application/xml content type.
>
> Thanks
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>   


-- 
Ruwan Linton
Technical Lead & Product Manager; WSO2 ESB; http://wso2.org/esb
WSO2 Inc.; http://wso2.org
phone: +1 408 754 7388 ext 51789
email: [email protected]; cell: +94 77 341 3097
blog: http://blog.ruwan.org

Lean . Enterprise . Middleware


_______________________________________________
Carbon-dev mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to