Re: [Dev] Current time is not picked by XACML engine

2016-10-30 Thread Farasath Ahamed
Farasath Ahamed Software Engineer, WSO2 Inc.; http://wso2.com Mobile: +94777603866 Blog: blog.farazath.com Twitter: @farazath619 On Mon, Oct 31, 2016 at 9:36 AM, Asela Pathberiya wrote: > > > On Sun, Oct 30, 2016 at

Re: [Dev] Current time is not picked by XACML engine

2016-10-30 Thread Asela Pathberiya
On Sun, Oct 30, 2016 at 8:07 PM, Pulasthi Mahawithana wrote: > Hi, > > I wrote a XACML policy which has a rule involving the current time. When a > request is made the XACML response is given as below. > > < > Result>Indeterminate

Re: [Dev] [ESB] Use URL re-write mediator with recipient list endpoint

2016-10-30 Thread Isuru Udana
Hi IsuruH, URLRewite mediator only works with a single url at a given time. Thanks. On Sun, Oct 30, 2016 at 10:44 PM, Isuru Haththotuwa wrote: > Hi Devs, > > Can we do $subject? [1, 2] > > The endpoints are passed as a comma separated list, and used in recipient > list

[Dev] Transform an xml with payload factory and xpath

2016-10-30 Thread Bhathiya Jayasekara
Hi devs, I have below XML in the message context. http://schemas.xmlsoap.org/soap/envelope/;> <*ns:getUserListOfRoleResponse* xmlns:ns=" http://service.ws.um.carbon.wso2.org;> usersx doctor Is it possible to transform this to below one, just with a

[Dev] [ESB] Use URL re-write mediator with recipient list endpoint

2016-10-30 Thread Isuru Haththotuwa
Hi Devs, Can we do $subject? [1, 2] The endpoints are passed as a comma separated list, and used in recipient list endpoint with call mediator: The requirement is to do the same URL change in all the endpoints of the recipientlist. [1].

[Dev] Current time is not picked by XACML engine

2016-10-30 Thread Pulasthi Mahawithana
Hi, I wrote a XACML policy which has a rule involving the current time. When a request is made the XACML response is given as below. IndeterminateCouldn't find AttributeDesignator attribute http://www.w3.org/2001/XMLSchema#time;

Re: [Dev] [ESB 5] Access Response JSON Payload in a Class Mediator

2016-10-30 Thread Isuru Haththotuwa
Hi Rajith/Raj, Thanks for the responses. Both methods worked for me, and yes you need to build the message first. On Thu, Oct 27, 2016 at 7:16 PM, Rajkumar Rajaratnam wrote: > > > On Thu, Oct 27, 2016 at 9:42 AM, Rajkumar Rajaratnam > wrote: > >> Hi