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

Reply via email to