Hi,
Thanks for the reply.
I think you get my meaning.
I want to send a request to service in XML.
I hope I can just put the whole xml in the Media Type, but I can't. (I can only using xpath and Post by QueryString.)
I do uncheck the Post QueryString.
After I post the xml, it will return the following response. This means the data in the xml is not passing to the service at all.
<SOAP:Envelope>
−
<SOAP:Body>
−
<m:error>
<code>123</code>
<message>version != 1</message>
</m:error>
</SOAP:Body>
</SOAP:Envelope>
For your reference, Here is my request URL:
http://api.kijiji.ca/c-ClassiApiSearchAdExCommandThe xml is:
<?xml version="1.0" encoding="utf-8" ?>
<SOAP:Envelope xmlns:SOAP="
http://www.w3.org/2003/05/soap-envelope"> <SOAP:Header>
<m:version xmlns:m="
http://www.kijiji.com/soap">1</m:version> </SOAP:Header>
<SOAP:Body>
<m:search_options xmlns:m="
http://www.kijiji.com/soap"> <area_id>80002</area_id>
<keyword>BMW</keyword>
</m:search_options>
</SOAP:Body>
</SOAP:Envelope>
In the Media Type, I select Multipart/form-data.