简体   繁体   English

Datapower中的SOMA命令

[英]SOMA Command in Datapower

Am trying to send the below SOMA command to https://0.0.0.0:5550/service/mgmt/current 我正在尝试将以下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>

but getting below response 但低于回应

<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>

please help how to get access. 请帮助获得访问权限。

You need to use https://127.0.0.1:5550/service/mgmt/current or the real IP for the box. 您需要使用https://127.0.0.1:5550/service/mgmt/current或该框的真实IP。 You must also provide a basic auth login (Authorization header) and/or a SSL Proxy (or Client Proxy depending on your firmware)! 您还必须提供基本的身份验证登录名(授权标头)和/或SSL代理(或客户端代理,具体取决于您的固件)!

If you have setup alias for your NIC's you need to use the alias, eg: 如果您为NIC设置了别名,则需要使用别名,例如:

alias 123.123.123.123=MyIP

Then use: 然后使用:

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

And of course make sure XML Management is up and running on port 5550 in default domain. 当然,请确保XML Management已启动并在默认域中的端口5550上运行。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM