PrestaShop/PrestaShop — pull request #365 by gerdus (2013-04-02 11:32:35+00:00)
Title: [*] WS : Dispatcher should handle XML POST same as PUT

when POSTing xml to webservice the webservice dispatcher expects the xml to originate from a web form post with the xml in "xml" field.
This usage is unnatural when calling webservice using method other than form post.

Currently if the XML is not in an "xml" field service gives non intuitive:
500 Internal Server Error (XML error : String could not be parsed as XML XML length : 0 Original XML : )

This change simply changes behavior to same used for PUT: assumes body of POST request is XML.