Forum Discussion

mindful123's avatar
mindful123
New Contributor
11 years ago

SOAP UI 4.6.4- user name

I have downloaded free version of SOAP UI 4.6.4.

One of Retail Application that I'm testing where it needs user name and password. I'm told that I need to use user name and password that used registering with SOAPUI. I don't remember I had to register with SOAP UI while downloading free one.

<soapenv:Body>
<urn:RetailLogin soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<credentials xsi:type="nam:credentials" xmlns:nam="http://localhost/retail/namespaces">
<!--You may enter the following 2 items in any order-->
<username xsi:type="xsd:string">mindful123</username>
<password xsi:type="xsd:string"></password>
</credentials>
</urn:RetailLogin>
</soapenv:Body>

Here is the Response for webservices:


<ns1:RetailLoginResponse xmlns:ns1="urn:RetailApp">
<return xsi:type="tns:loginresponse">
<loginusername xsi:nil="true" xsi:type="xsd:string"/>
<sessionid xsi:nil="true" xsi:type="xsd:string"/>
<role xsi:nil="true" xsi:type="xsd:string"/>
<loginstatus xsi:type="xsd:string">Not able to login</loginstatus>
</return>
</ns1:RetailLoginResponse>

You can see it is failing due to wrong user name and password.

Any help for this problem will be appreciated.

Thanks

1 Reply

  • PaulDonny's avatar
    PaulDonny
    Regular Contributor
    I don't see how the password used for SoapUI would be usable with a different system. It sounds like you might need to create the username and password with SoapUI, not the username and password used with SoapUI.

    Is there any operations in the WSDL that would allow you to register an account by chance?