• Edward Ross
  • NEWBIE
  • 0 Points
  • Member since 2012

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

We need to export the Sharing Settings / Organization-Wide Defaults - to indicate whether each table has the public or private sharing mode.  Does anyone know how this can be done with the APIs?

 

I looked at the Organization object in the SOAP API:

http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_organization.htm

But this doesn't say whether each object has public or private sharing enabled.

 

I looked in the meta data API but it says here:

http://www.salesforce.com/us/developer/docs/api_meta/index.htm

that organization wide defaults are not accessible through the meta-data API.

 

Thanks,

 

Edward.

We need to export the Sharing Settings / Organization-Wide Defaults - to indicate whether each table has the public or private sharing mode.  Does anyone know how this can be done with the APIs?

 

I looked at the Organization object in the SOAP API:

http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_organization.htm

But this doesn't say whether each object has public or private sharing enabled.

 

I looked in the meta data API but it says here:

http://www.salesforce.com/us/developer/docs/api_meta/index.htm

that organization wide defaults are not accessible through the meta-data API.

 

Thanks,

 

Edward.

Hi

I've been trying to retrieve organization-wide default settings for each object type using the Force.com API (V.14.0) I first thought this would be possible using an SOQL query but there doesn't seem to be a Table holding information about the settings. Am I missing something or is it a know fact that you can't retrieve this information from salesforce?

Thanks
Martin
  • January 08, 2009
  • Like
  • 0
Hi all,

When connecting to an external web service importing the WSDL in Apex, I get the error:

"uncaught exception: {faultcode:'soapenv:Client', faultstring:'System.CalloutException: IO Exception: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target"

The problem is that the certificate of the site server is not totally valid or not widely recognized. The web service belongs to the Tax Department of the Government of Argentina, and they approve their own SSL certificates. To emit electronic invoicing in Argentina, you have to approve each invoice sending it to the web service and you get a response with an authorization number which has to be included in the invoice.

Furthermore, I need also to access another web service that is only for testing purpose and it has the same issue.

Apart from Salesforce Apex Code, this exception also happens in .NET and Java, but these environments have their own ways to bypass the exception (import and install the certificate in the local machine, parameters to accept the ssl connection anyway, and so on...).
In Salesforce Apex documentation, I only found the "Remote Site Settings" option (Setup-Security Options) where the security protocol can be disable, but the exception occurs the same.

Please if someone know if there is a way to force the connection between Salesforce and the web service. I also wonder how tests of connection between Salesforce and not full deployed web services (with own signed or no valid certificates yet) should be performed.

Thanks in advance!