[Dev] API Gateway alters POST request URLs in API-Manager 1.7.0

2014-05-01 Thread Asanthi Kulasinghe
Hi, Context path of POST request URLs of APIs get dropped at the gateway when invoked with the content-type 'text/xml'. I have reported the issue under [1]. Please look into this. [1] - https://wso2.org/jira/browse/APIMANAGER-2256 Regards *Asanthi Kulasinghe* WSO2 Inc; http://www.wso2.com/.

Re: [Dev] API Gateway alters POST request URLs in API-Manager 1.7.0

2014-05-01 Thread Nuwan Dias
Its not that it alters request urls, it drops the request parameters from the outgoing request when the Content-Type is text/xml. If the API context is: /stockquote/1.0.0 Endpoint is: http://host:port/StockQuoteService Request url is: /stockquote/1.0.0/getQuote In the case of applcation/xml,

Re: [Dev] API Gateway alters POST request URLs in API-Manager 1.7.0

2014-05-01 Thread Nirodha Pramod
Hi Nuwan, Isn't this a bug? When we tested this we used a RESTful service (starbucks sample) as the back end. And you can't expect the client would always send application/xml as the Content-Type when calling a rest backend. Sending a text/xml is totally valid when calling a RESTful backend.

Re: [Dev] API Gateway alters POST request URLs in API-Manager 1.7.0

2014-05-01 Thread Nuwan Dias
I'm sure this has been done deliberately in synapse. If so we need to know why exactly. Will it break proxying SOAP 1.1 services if we allow these to be passed to the back-end? The defined standards for the Content-Type are as follows SOAP 1.1 - text/xml SOAP 1.2 - application/soap+xml POX -