【问题标题】:SOMA Command in DatapowerDatapower 中的 SOMA 命令
【发布时间】:2017-03-06 05:56:06
【问题描述】:

我正在尝试将以下 SOMA 命令发送到https://0.0.0.0:5550/service/mgmt/current

<soapenv:Envelope xmlns:dp="http://www.datapower.com/schemas/management" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> 
<soapenv:Body> 
<dp:request domain="default">  
    <dp:do-action> 
        <TCPConnectionTest>  
            <RemoteHost>host</RemoteHost> 
            <RemotePort>port</RemotePort> 
        </TCPConnectionTest> 
    </dp:do-action> 
</dp:request> 
</soapenv:Body> 
</soapenv:Envelope>

但得到以下回应

<url-open xmlns:dp="http://www.datapower.com/schemas/management" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" > 
 <responsecode>500</responsecode> 
 <content-type>text/xml</content-type> 
<headers>  
<header name="Content-Type">text/xml</header> 
<header name="Date">Mon, 06 Mar 2017 05:45:14 GMT</header> 
</headers> 
 <response>  
<env:Envelope> 
    <env:Body>  
        <env:Fault>  
            <faultcode>env:Client</faultcode> 
            <faultstring>Access Denied (from client)</faultstring> 
        </env:Fault> 
    </env:Body> 
</env:Envelope> 
</response> 
</url-open>

请帮助如何获得访问权限。

【问题讨论】:

    标签: xslt ibm-datapower


    【解决方案1】:

    您需要使用https://127.0.0.1:5550/service/mgmt/current 或盒子的真实IP。您还必须提供基本身份验证登录(授权标头)和/或 SSL 代理(或客户端代理,具体取决于您的固件)!

    如果你为你的网卡设置了别名,你需要使用别名,例如:

    alias 123.123.123.123=MyIP

    然后使用:

    https://MyIP:5550/service/mgmt/current

    当然还要确保 XML 管理在默认域的端口 5550 上启动并运行。

    【讨论】:

    • 嗨安德斯,谢谢您的回复。通过 Auth header 后,就可以访问 CML 管理界面了。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-04-19
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多