Invoke wso2 admin services SOAPUI

Posted by NGoyal on Stack Overflow See other posts from Stack Overflow or by NGoyal
Published on 2013-06-26T04:52:02Z Indexed on 2013/06/26 22:21 UTC
Read the original article Hit count: 227

Filed under:
|

I m working on wso2 admin services. I get url as http://localhost:9763/services/AuthenticationAdmin?wsdl for AuthencticationAdmin.

Now, when I hit the login operation, with admin,admin,127.0.0.1, I get true as return.

ESB console shows logged in.

Now, when I hit logout operation, I dont get any response.

Also I notice that header of the response does not contain any session ID.

0down voteaccept

My ESB is 4.6.0.

login request :

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

login response

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

In the response, when I hit login I see, at bottom I only get 6 elements in header as follows :

> 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

Now, I dont get session ID. Can you please point out where m I going wrong?

My scenario is that I want to login to WSO2 and then hit some other admin service operation.

© Stack Overflow or respective owner

Related posts about wso2

Related posts about wso2esb