try {
return loc.getXACMLPolicyManagementService(new URL(url));
} catch (MalformedURLException e) {
throw new PAPException("Error contacting XACML Policy management service: " + e.getMessage(), e);
} catch (ServiceException e) {
throw new PAPException("Error contacting XACML Policy management service: " + e.getMessage(), e);
}
}