1

我正在尝试使用 XML 管理接口 (SOMA) 刷新样式表缓存。

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:man="http://www.datapower.com/schemas/management">
<soapenv:Header/>
<soapenv:Body>
  <man:request domain="mydomain">
     <man:do-action>
        <FlushStylesheetCache>
           <XMLManager class="default"></XMLManager>
        </FlushStylesheetCache>
     </man:do-action>
  </man:request>
</soapenv:Body>
</soapenv:Envelope>

得到错误<log-event level="error">Stylesheet name '' is not valid</log-event>

4

1 回答 1

1

我认为您给出了错误的类类型和空对象名称。

<man:do-action>
        <FlushStylesheetCache>
           <XMLManager class="XMLManager">default</XMLManager>
        </FlushStylesheetCache>
</man:do-action>

类值可以为空。因为它是此请求的选项值。您应该具有 XML 管理访问权限以使用 XML 管理接口刷新缓存

于 2014-06-25T19:55:57.050 回答