我正在尝试使用 CoreService 2010 Basic HTTP 接口在 Tridion 中发布单个组件。
使用 Soap UI,我正在发送
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns4:Publish xmlns="http://www.sdltridion.com/ContentManager/R6" xmlns:ns2="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns:ns3="http://www.sdltridion.com/Security" xmlns:ns4="http://www.sdltridion.com/ContentManager/CoreService/2010" xmlns:ns5="http://schemas.microsoft.com/2003/10/Serialization/">
<ns4:ids>
<ns2:string>tcm:292-39250</ns2:string>
</ns4:ids>
<ns4:publishInstruction>
<ResolveInstruction>
<IncludeChildPublications>true</IncludeChildPublications>
<IncludeComponentLinks>false</IncludeComponentLinks>
<IncludeWorkflow>false</IncludeWorkflow>
</ResolveInstruction>
<RenderInstruction/>
</ns4:publishInstruction>
<ns4:targets>
<ns2:string>tcm:0-5-65537</ns2:string>
</ns4:targets>
<ns4:priority>Normal</ns4:priority>
<ns4:readOptions>
<ns4:LoadFlags>None</ns4:LoadFlags>
</ns4:readOptions>
</ns4:Publish>
</S:Body>
</S:Envelope>
然后接收:
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Header>
<ActivityId CorrelationId="7bfbbb48-8111-40ba-9e6e-8a7073a21a09" xmlns="http://schemas.microsoft.com/2004/09/ServiceModel/Diagnostics">00000000-0000-0000-0000-000000000000</ActivityId>
</s:Header>
<s:Body>
<PublishResponse xmlns="http://www.sdltridion.com/ContentManager/CoreService/2010">
<PublishResult xmlns:a="http://www.sdltridion.com/ContentManager/R6" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"/>
</PublishResponse>
</s:Body>
</s:Envelope>
我期待在这里看到一个 PublicationTransaction,我做错了什么?
我的请求基于此网址http://blog.building-blocks.com/publishing-components-using-the-core-service-in-sdl-tridion-2011,看来我不需要更多,但也许我错过了一些东西。