正在尝试将以下soma命令发送到https://0.0.0.0.0:5550/service/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>
请帮助如何访问。
您需要使用https://127.0.0.1:5550/service/service/mgmt/current或盒子的真实IP。您还必须提供基本的验证登录(授权标头)和/或SSL代理(或根据您的固件而定的客户端代理)!
如果您对NIC的设置别名,则需要使用该别名,例如:
alias 123.123.123.123=MyIP
然后使用:
https://MyIP:5550/service/mgmt/current
当然,请确保在默认域中的端口5550上启动XML管理。