• collymitch
  • 0 Points
  • Member since 2012

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
  • 1

Dear Experts,


I am very new to SFDC and trying to understand some basic features.

I tried to call a sample outofbox Login Web service to generate a session token which can be used for calling custom webservices.

I took the Enterprise WSDL from Setup-Develop-API and imported that in SOAP UI.

While calling this web service I was trying to hit the following URL : https://login.salesforce.com/services/Soap/c/25.0

But this call was getting blocked with following exception : ERROR:java.lang.ClassCastException: org.apache.http.message.BasicHttpRequest cannot be cast to org.apache.http.impl.client.RequestWrapper


When I tried to hit the HTTP url (not HTTPS) request was going through but getting following error UNSUPPORTED_CLIENT: HTTPS Required. This means that request was going through but HTTPS was expected. I tried to suppress the setting for HTTPS but could not do so because I am using a developer edition(Administration Set Up ->Session Settings -> Require Secure connections)


I need to know can I make a HTTPS call from SOAP UI to a salesforce webservice? If so what extra settings are needed ?


Below is my soap request:


<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:enterprise.soap.sforce.com">


Much thanks in advance for help.