Session ID not generated for SOAP Retail application | SOAPUI Forum
S
SOMANNA PB Posted on 07/11/2019

Hi Ashish,

 

I have used this application previously and it was working. However  I am currently facing issue with the application as it is not generating session id. I see that there are lot of issues with related to session ID . Kindly let me know when this will be fixed

 

Thanks

Sachin

<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://localhost/retail/namespaces">
<SOAP-ENV:Body>
<ns1:RetailLoginResponse xmlns:ns1="urn:RetailApp">
<return xsi:type="tns:loginresponse">
<loginusername xsi:type="xsd:string">sachin.8888@gmail.com</loginusername>
<sessionid xsi:type="xsd:string"/>
<role xsi:type="xsd:string">customer</role>
<loginstatus xsi:type="xsd:string">loggedin</loginstatus>
</return>
</ns1:RetailLoginResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>


S
SOMANNA PB Replied on 07/11/2019

TRIED on a freshly installed windows 10 machine got the below error:

 

"301 Moved Permanently"

 

<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://localhost/retail/namespaces">
   <SOAP-ENV:Body>
      <ns1:RetailLoginResponse xmlns:ns1="urn:RetailApp">
         <return xsi:type="tns:loginresponse">
            <loginusername xsi:type="xsd:string">sachin.soman@gmail.com</loginusername>
            <sessionid xsi:type="xsd:string"><![CDATA[<html>
<head><title>301 Moved Permanently</title></head>
<body>
<center><h1>301 Moved Permanently</h1></center>
<hr><center>nginx</center>
</body>
</html>]]></sessionid>
            <role xsi:type="xsd:string">customer</role>
            <loginstatus xsi:type="xsd:string">loggedin</loginstatus>
         </return>
      </ns1:RetailLoginResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>


J
Jayshree Gupta Replied on 08/11/2019

Hi Ashish , 

 

 


J
Jayshree Gupta Replied on 08/11/2019

Hi Ashish ,

 

Not able to generat:e Session ID Same issue as above  .See the response 

 

<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://localhost/retail/namespaces">
<SOAP-ENV:Body>
<ns1:RetailLoginResponse xmlns:ns1="urn:RetailApp">
<return xsi:type="tns:loginresponse">
<loginusername xsi:type="xsd:string">gupta.jayshree5@gmail.com</loginusername>
<sessionid xsi:type="xsd:string"><![CDATA[<html>
<head><title>301 Moved Permanently</title></head>
<body>
<center><h1>301 Moved Permanently</h1></center>
<hr><center>nginx</center>
</body>
</html>]]></sessionid>
<role xsi:type="xsd:string">customer</role>
<loginstatus xsi:type="xsd:string">loggedin</loginstatus>
</return>
</ns1:RetailLoginResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>


A
Ashish Thakur Replied on 14/11/2019

There are 2 applications in Module 8 and Module 16 which were not working since we had some config changes.
Applications are ready now.
Please dont use your id as login id now. Its no longer supported.
Please follow following instructions:

Module 8 Retail Application (SOAP Based)
Please use login id as 'user' and password as 'whizdom' for normal login.
For admin Login, please use login id as user_soapadmin and password as 'whizdom'


For Module 16 Retail Application(REST Based)
Please use login id as 'admin' and password as 'whizdom' for login.

Rest everything is same.

 


J
Jayshree Gupta Replied on 14/11/2019

Hi ashish , 

 

used user as user_soapadmin

pass : whizdom

 

same issue persists 

<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://localhost/retail/namespaces">
<SOAP-ENV:Body>
<ns1:RetailLoginResponse xmlns:ns1="urn:RetailApp">
<return xsi:type="tns:loginresponse">
<loginusername xsi:type="xsd:string">user_soapadmin</loginusername>
<sessionid xsi:type="xsd:string"><![CDATA[<html>
<head><title>301 Moved Permanently</title></head>
<body>
<center><h1>301 Moved Permanently</h1></center>
<hr><center>nginx</center>
</body>
</html>]]></sessionid>
<role xsi:type="xsd:string">admin</role>
<loginstatus xsi:type="xsd:string">loggedin</loginstatus>
</return>
</ns1:RetailLoginResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>


A
Ashish Thakur Replied on 16/11/2019

You need to download code and the new modified application will be in it

Please use the new application