Note that there are some explanatory texts on larger screens.

plurals
  1. POWhat is the XML format for an item for the Sitecore Webservice
    text
    copied!<p>I am trying to use the built in web service in Sitecore 6.5 (.../sitecore/shell/webservice/service.asmx)</p> <p>There is <a href="http://sdn.sitecore.net/upload/sitecore6/65/Sitecore_Web_Service_SC65_A4.pdf" rel="nofollow">PDF</a> that describes the commands, but it does not specify the format for inserting/updating items. It claims one can simply use the format when doing a GetXml request, but I have found that not to be true from my testing.</p> <p>I have tried a number of variations, both trying with an or just single fields as suggested by this <a href="http://blog.hansmelis.be/2012/05/29/sitecore-web-service-pitfalls/" rel="nofollow">blog</a>, with no luck and unfortunately the webservice does not complain about the input, it always responds "OK" with no effect.</p> <p>The full request (as what I am looking at now)</p> <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt; &lt;soapenv:Body&gt; &lt;Save xmlns="http://sitecore.net/visual/"&gt; &lt;xml&gt; &amp;lt;sitecore&amp;gt; &amp;lt;field itemid=&amp;quot;{7CCE4419-E8BD-45F4-9B9C-625E220C59A1}&amp;quot; fieldid=&amp;quot;{3F4B20E9-36E6-4D45-A423-C86567373F82}&amp;quot; language=&amp;quot;en&amp;quot; version=&amp;quot;1&amp;quot;&amp;gt; &amp;lt;content&amp;gt;A title from service&amp;lt;/content&amp;gt; &amp;lt;/field&amp;gt; &amp;lt;/sitecore&amp;gt; &lt;/xml&gt; &lt;databaseName&gt;master&lt;/databaseName&gt; &lt;credentials&gt;&lt;!-- removed --&gt;&lt;/credentials&gt; &lt;/Save&gt; &lt;/soapenv:Body&gt; </code></pre> <p></p> <p>If anyone knows what the format is that would be great.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload