Datapower中的SOMA命令

时间:2017-03-06 05:56:07

标签: xslt ibm-datapower

我尝试将以下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>

请帮助您获取访问权限。

1 个答案:

答案 0 :(得分:1)

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

如果您有NIC的设置别名,则需要使用别名,例如:

alias 123.123.123.123=MyIP

然后使用:

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

当然,确保XML Management在默认域中的端口5550上启动并运行。