You need to sign in to do that
Don't have an account?
Nikki
3.0 API binding failure
The following code snippet (pulled directly from the Salesforce 3.0 API samples) fails with the following message: Caused by: java.security.AccessControlException: access denied (java.util.PropertyPermission org.apache.commons.discovery.log.level read)
private SoapBindingStub binding;
try
{
binding = (SoapBindingStub) new SforceServiceLocator().getSoap();
}
catch (ServiceException jre)
{
//This is a rare error indeed since as of this point, we have not
//tried to communicate with the web service
if (jre.getLinkedCause() != null)
jre.getLinkedCause().printStackTrace();
throw new RuntimeException(jre.getMessage());
}
I have no idea how to fix this, because I haven't even tried to authenticate at this point. Any suggestions?
Thanks in advance,
Nikki
private SoapBindingStub binding;
try
{
binding = (SoapBindingStub) new SforceServiceLocator().getSoap();
}
catch (ServiceException jre)
{
//This is a rare error indeed since as of this point, we have not
//tried to communicate with the web service
if (jre.getLinkedCause() != null)
jre.getLinkedCause().printStackTrace();
throw new RuntimeException(jre.getMessage());
}
I have no idea how to fix this, because I haven't even tried to authenticate at this point. Any suggestions?
Thanks in advance,
Nikki
binding = (SoapBindingStub) new SforceServiceLocator().getSoap();