【问题标题】:Export a Gateway object through soma script in datapower在 datapower 中通过 soma 脚本导出网关对象
【发布时间】:2017-04-14 03:45:58
【问题描述】:

我有 50 个 MPGW,我想通过 soma 脚本导出特定/个人网关。我尝试了一些脚本但没有成功。我尝试了域导出它正在工作,但特定的对象导出不起作用。请帮助我

【问题讨论】:

  • 向我们展示您尝试过的内容,以及尝试后发生的情况。

标签: ibm-datapower


【解决方案1】:

其实很简单,你只需要指出你要导出的对象,例如:

<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
  <env:Body>
    <dp:request xmlns:dp="http://www.datapower.com/schemas/management">
      <dp:do-export format="ZIP" all-files="false">
        <dp:user-comment>This is a SOMA Export...</dp:user-comment>
        <dp:object class="MultiProtocolGateway" name="MPGW_1" ref-objects="true" ref-files="true"/>
        <dp:object class="MultiProtocolGateway" name="MPGW_2" ref-objects="true" ref-files="true"/>
      </dp:do-export>
    </dp:request>
  </env:Body>
</env:Envelope>

【讨论】:

  • 非常感谢您的回答
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2019-09-12
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多