Can a web service handle XML?

Can a web service handle XML?

by Jackie Smile -
Number of replies: 1

Is it possible to post XML data to a web service or do I need to convert it beforehand? How would the parameter definition look like if XML is possible? 

Thank you
jackie

Average of ratings: -
In reply to Jackie Smile

Re: Can a web service handle XML?

by Jérôme Mouneyrac -
Hi Jackie,
XML-RPC/SOAP protocols deal with XML parameters following their specific protocols. If you want to know the XML format, they both use Zend servers, that themself use the PHP implementation of these protocols.
You can google for the XML format, but I would advice to use the REST protocol, it's much faster. The REST parameters format can be found into Admin > Plugins > Web service > API documentation.
Good luck,
Jerome