I am trying to create XACML policy from java client and upload it to wso2 IS. All works fine and policy also updated in WSO2 IS but after uploading policy when I tried to publish created policy to WSO2 PDP from java client then it gives me an error like this:
org.apache.axis2.AxisFault: Exception occurred while trying to invoke service method publishToPDP at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531) at org.apache.axis2.description.RobustOutOnlyAxisOperation$RobustOutOnlyOperationClient.handleResponse(RobustOutOnlyAxisOperation.java:91) at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421) at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229) at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165) at org.wso2.carbon.identity.entitlement.stub.EntitlementPolicyAdminServiceStub.publishToPDP(EntitlementPolicyAdminServiceStub.java:4651) at org.xacmlinfo.xacml.pap.is.PolicyAdminClient.main(PolicyAdminClient.java:177)
I tried a lot to resolve this issue but after doing lots of internet searching still I couldn't find the solution for the problem.
I also did change in carbon.xml file of WSO2 IS for "admin serviceā webservice and made "<HideAdminServiceWSDLs>false</HideAdminServiceWSDLs>"
but still it is not working properly.