}
public XACMLPolicyManagement getXACMLPolicyManagementService(String url) {
initializeAxisProperties();
XACMLPolicyManagementServiceLocator loc = new XACMLPolicyManagementServiceLocator();
TypeMapping typeMapping = loc.getTypeMappingRegistry().getDefaultTypeMapping();
typeMapping.register(org.opensaml.xacml.policy.PolicyType.class,
org.opensaml.xacml.policy.PolicyType.SCHEMA_TYPE_NAME,
new org.glite.authz.pap.common.opensamlserializer.SerializerFactory(),
new org.glite.authz.pap.common.opensamlserializer.PolicyTypeDeserializerFactory());
typeMapping.register(org.opensaml.xacml.policy.PolicySetType.class,
org.opensaml.xacml.policy.PolicySetType.SCHEMA_TYPE_NAME,
new org.glite.authz.pap.common.opensamlserializer.SerializerFactory(),
new org.glite.authz.pap.common.opensamlserializer.PolicySetTypeDeserializerFactory());
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) {