• pmsdx
  • NEWBIE
  • 0 Points
  • Member since 2012

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 2
    Replies

Description: I am trying to use an HTTPS endpoint for a http callout using HTTPRequest inside APEX.
I am getting the following error.
IO Exception: sun.security.validator.

ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
 
What do I need to get one-way encryption from Salesforce to my backend server?
 
 
  • April 09, 2013
  • Like
  • 0

I have a username/password/securitykey and it works on the sandbox.

I get the

 SoapFault exception: [INVALID_LOGIN] INVALID_LOGIN: Invalid username, password, security token; or user locked out

exception when I try with PHP. This is what I have in the partner.wsdl.xml file

 

    <!-- Soap Service Endpoint -->
    <service name="SforceService">
        <documentation>Sforce SOAP API</documentation>
        <port binding="tns:SoapBinding" name="Soap">
            <soap:address location="https://test.salesforce.com/services/Soap/u/26.0"/>
        </port>
    </service>

The API Access is enabled (I guess dataloader would not work otherwise)

 

What could be going wrong?

 

I don't have access to the production instance.

 

thanks,

pmsdx.

  • January 12, 2013
  • Like
  • 0

I have a username/password/securitykey and it works on the sandbox.

I get the

 SoapFault exception: [INVALID_LOGIN] INVALID_LOGIN: Invalid username, password, security token; or user locked out

exception when I try with PHP. This is what I have in the partner.wsdl.xml file

 

    <!-- Soap Service Endpoint -->
    <service name="SforceService">
        <documentation>Sforce SOAP API</documentation>
        <port binding="tns:SoapBinding" name="Soap">
            <soap:address location="https://test.salesforce.com/services/Soap/u/26.0"/>
        </port>
    </service>

The API Access is enabled (I guess dataloader would not work otherwise)

 

What could be going wrong?

 

I don't have access to the production instance.

 

thanks,

pmsdx.

  • January 12, 2013
  • Like
  • 0

Hi everyone,

 

I'll use the HTTP Request object to POST data to an HTTPS endpoint.

Please let me know if you have some important points.

 

Thanks,

Seiji