You need to sign in to do that
Don't have an account?
Sreenivas Angara 7
SOAP Request returning HTTP 400
I 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.
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.
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.