2017-03-06 80 views
0

正在嘗試下面的SOMA命令發送至https://0.0.0.0:5550/service/mgmt/currentSOMA司令部的DataPower

<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

您需要使用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上運行。

+0

嗨安德斯, Thx的迴應。通過Auth頭後,可以訪問CML管理界面。 –