我试图使用内置的Web服务在Sitecore的6.5(.../Sitecore的/壳/ Web服务/ service.asmx)什么是对Sitecore的web服务
有PDF项目的XML格式它描述了这些命令,但它没有指定插入/更新项目的格式。它声称可以在执行GetXml请求时简单地使用该格式,但是我发现从我的测试中不是真实的。
我已经尝试了一些变体,都尝试使用这个blog建议的单个字段,但没有运气,不幸的是web服务不会抱怨输入,它总是响应“OK”而不起作用。
完整的请求(如我所期待的现在)
<?xml version="1.0" encoding="UTF-8"?>
<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">
<soapenv:Body>
<Save xmlns="http://sitecore.net/visual/">
<xml>
<sitecore>
<field itemid="{7CCE4419-E8BD-45F4-9B9C-625E220C59A1}"
fieldid="{3F4B20E9-36E6-4D45-A423-C86567373F82}"
language="en"
version="1">
<content>A title from service</content>
</field>
</sitecore>
</xml>
<databaseName>master</databaseName>
<credentials><!-- removed --></credentials>
</Save>
</soapenv:Body>
如果有人知道是什么格式是将是巨大的。
是的,但我真的不想写一个自定义网络服务。我处于一个可以直接使用Web服务的环境。我在网上搜索得越多,看起来内置web服务更像是数据表中的复选框功能,而不是用于实际使用。 – 2013-02-22 19:13:37