小编NGo*_*yal的帖子

调用wso2管理服务SOAPUI

我正在研究wso2管理服务.我得到http://localhost:9763/services/AuthenticationAdmin?wsdl了AuthencticationAdmin的网址.

现在,当我点击登录操作时,使用admin,admin,127.0.0.1,我返回true.

登录的ESB控制台显示.

现在,当我点击退出操作时,我没有得到任何回复.

另外我注意到响应的标头不包含任何会话ID.

我的ESB是4.6.0.

登录请求:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:aut="http://authentication.services.core.carbon.wso2.org">
   <soapenv:Header/>
   <soapenv:Body>
      <aut:login>
         <!--Optional:-->
         <aut:username>admin</aut:username>
         <!--Optional:-->
         <aut:password>admin</aut:password>
         <!--Optional:-->
         <aut:remoteAddress>127.0.0.1</aut:remoteAddress>
      </aut:login>
   </soapenv:Body>
</soapenv:Envelope>
Run Code Online (Sandbox Code Playgroud)

登录回复:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
   <soapenv:Body>
      <ns:loginResponse xmlns:ns="http://authentication.services.core.carbon.wso2.org">
         <ns:return>true</ns:return>
      </ns:loginResponse>
   </soapenv:Body>
</soapenv:Envelope>
Run Code Online (Sandbox Code Playgroud)

在响应中,当我点击登录时,我看到,在底部我只在标题中获得6个元素,如下所示:

> Date Tue, 25 Jun 2013 14:31:42 GMT
> Transfer-Encoding chunked
> #status# HTTP/1.1 200 OK
> Content-Type text/xml; charset=UTF-8
> Connection Keep-Alive
> Server WSO2-PassThrough-HTTP
Run Code Online (Sandbox Code Playgroud)

现在,我没有获得会话ID.你能指出我哪里错了吗?

我的情况是我想登录WSO2然后点击其他一些管理服务操作.

wso2 wso2esb

2
推荐指数
1
解决办法
1082
查看次数

标签 统计

wso2 ×1

wso2esb ×1