I'm following this tutorial http://wso2.com/library/articles/2010/10/using-xacml-fine-grained-authorization-wso2-platform/ to protect several web services usign wso2 ESB + IS. I just want a single proxy that calls the Entitlement Mediator to check that an user has the authorization to access an endpoint, but i've different kinds of endpoints and i've some problem using the java client provided in the tutorial. I'm able to call soap web services, but it doesn't work with rest web services with different http methods (get, post) and different content type (application/json).
There is a general solution to call a generic endpoint with the properties required to the ESB?
Thanks