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, the outgoing request is http://host:port
/StockQuoteService/getQuote

In the case of text/xml, the outgoing request is http://host:port
/StockQuoteService

As you see, in the case of text/xml, 'getQuote' is not sent to the back end.

I presume this is the correct behavior since text/xml is normally used for
SOAP?

Thanks,
NuwanD.


On Thu, May 1, 2014 at 11:37 AM, Asanthi Kulasinghe <[email protected]>wrote:

> 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/.
> Mobile: +94777355522
>
>
>


-- 
Nuwan Dias

Associate Tech Lead - WSO2, Inc. http://wso2.com
email : [email protected]
Phone : +94 777 775 729
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to