function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sreenivas Angara 7Sreenivas Angara 7 

SOAP Request returning HTTP 400 Bad request

SOAP Request returning HTTP 400I am using soapUI to test SFDC webservices. I can ping 

Endpoint url is .. https://login.salesforce.com/services/Soap/c/33.0/0DFj0000000TUpg

SOAP request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:enterprise.soap.sforce.com">
   <soapenv:Header/>
   <soapenv:Body>
      <urn:login>
         <urn:username>Sreenivas.Angara@tcs.com</urn:username>
         <urn:password>###ValidPassword####</urn:password>
      </urn:login>
   </soapenv:Body>
</soapenv:Envelope>

SOAP response
<html>
<head><title>400 Bad Request</title></head>
<body bgcolor="white">
<center><h1>400 Bad Request</h1></center>
<hr><center>nginx</center>
</body>
</html>

The WSDL was generated within SalesForce.com using Generate Enterprise WSDL and imported into soapUI

Any help as to what I doing wrong would be appreciated
ShotShot
Did you try to add a token to your pass?
Sreenivas Angara 7Sreenivas Angara 7
Thank you for your reponse. Yes I did. The password was "password+sfdc_generated_token".
 
Sreenivas Angara 7Sreenivas Angara 7
I think i found the answer. I have free version of soapUI and I don't think it handles https.

I changed the url to http: and it works.