• OnlineQ
  • NEWBIE
  • 0 Points
  • Member since 2011

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 4
    Questions
  • 3
    Replies

I'm trying to connect to an external SOAP web service from my Salesforce environment. HTTP callouts fail with:

 

sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target 

My code for connecting to the endpoint looks like this:

HttpRequest request = new HttpRequest();
request.setEndPoint('https://the-endpoint-url?wsdl');
request.setMethod('POST');
request.setHeader('Content-Type', 'application/soap+xml; charset=UTF-8');

Http h = new Http();
HttpResponse response = h.send(request);

 When I go to the web service endpoint in my browser, it indicates that the service's SSL certificate is valid. Why exactly is Salesforce unable to connect to the endpoint?

 

I have noticed the the certificate in question is issued by RapidSSL, a CA that is not listed on http://wiki.developerforce.com/page/Outbound_Messaging_SSL_CA_Certificates. Could this be a problem? If so, how can I add support for RapidSSL certificates? Unfortunately, the external web service is not owned by me, so I cannot change its certificate.

When I dowload the latest Force.com IDE for Mac OS, and I try to extract the .tgz file using Archive Utility, I get an error:

 

Unable to expand "force.com-ide-installer-macosx.tgz" into "Downloads". (Error 1 – Operation not permitted.)

 

Doing tar -zvzf force.com-ide-installer-macosx.tgz in the Terminal results in:

 

force.com-ide-installer-macosx/configuration/install-content.bin: (Empty error message)
tar: Error exit delayed from previous errors.

 

What's up with that?

How can I change my username, i.e. the name that is displayed next to my posts?

I could not find a bug report button or a board for this so i'm sorry if this is not in the right place.

 

When filling in the birthdate of a contact the years in the timepicker dont go further back than 2010. You can of course just type the right date but that would make the nice timepicker useless in this field.

  • September 02, 2011
  • Like
  • 0
Hi,
I have a Connected Canvas App that uses a Lifecycle Class - both are part of a managed package. In the OAuth policies I've set the Permitted Users to 'Admin approved users are pre-authorized' and included all the Profiles I require to have access. In those Profiles I've also ticked the App in the Connected App Access section. FYI, the Lifecycle Class doesn't allow profiles security to be set as per other 'normal' apex classes.

When my users who should have access to this App try and run it, the are given the error: 'Oops, there was an error [rendering Force.com Canvas application [App Name]. You don't have permissions to invoke Canvas lifecycle handler (apex class) [Class Name].'

It works for all System Admins and if I give any of these other users System Admin access (temporarily) it will work for them too.

I have the same setup in a different sandbox and it is working just fine.

Has anyone had any similar issues with access tot the Canvas Lifecycle handler class and know what may be wrong?

I have one custom object ,i have to insert data into this object by  selecting csv file from browse button.Could u please help out how to write code?

 

Thanks in Advance...

PavanReddy

When I dowload the latest Force.com IDE for Mac OS, and I try to extract the .tgz file using Archive Utility, I get an error:

 

Unable to expand "force.com-ide-installer-macosx.tgz" into "Downloads". (Error 1 – Operation not permitted.)

 

Doing tar -zvzf force.com-ide-installer-macosx.tgz in the Terminal results in:

 

force.com-ide-installer-macosx/configuration/install-content.bin: (Empty error message)
tar: Error exit delayed from previous errors.

 

What's up with that?