Hi Lakshani, Can you pull the latest source from git, build the pack again and try this ? since there was a bug and we fixed it.
Thanks Godwin On Thu, Oct 8, 2015 at 7:59 AM, Lakshani Gamage <[email protected]> wrote: > Hi Devs, > > I defined following XACML policy[1] from latest IS51.0._SNAPSHOT server. I > sent a XACML request[2] to validate against that policy from SoapUI. I > used "getDecision" operation of "EntitlementService" .But I didn't get the > expected response. The response I got is in [3]. But this jira[4] says > this issue is fixed. But I'm still seeing it. > > Can someone please help me here? > > [1]. > <Policy xmlns="urn:oasis:names:tc:xacml:3.0:core:schema:wd-17" > PolicyId="newPolicy" > RuleCombiningAlgId="urn:oasis:names:tc:xacml:3.0:rule-combining-algorithm:permit-overrides" > Version="1.0"> > <Target></Target> > <Rule Effect="Permit" RuleId="rule1"> > <Condition> > <Apply FunctionId="urn:oasis:names:tc:xacml:1.0:function:any-of"> > <Function > FunctionId="urn:oasis:names:tc:xacml:1.0:function:string-equal"></Function> > <AttributeValue DataType=" > http://www.w3.org/2001/XMLSchema#string">female</AttributeValue> > <AttributeDesignator AttributeId=" > http://wso2.org/claims/gender" > Category="urn:oasis:names:tc:xacml:1.0:subject-category:access-subject" > DataType="http://www.w3.org/2001/XMLSchema#string" > MustBePresent="true"></AttributeDesignator> > </Apply> > </Condition> > </Rule> > </Policy> > > [2]. > <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" > xmlns:xsd="http://org.apache.axis2/xsd" > xmlns="urn:oasis:names:tc:xacml:3.0:core:schema:wd-17"> > <soapenv:Header/> > <soapenv:Body> > <xsd:getDecision> > <!--Optional:--> > <xsd:request> > <Attributes > Category="urn:oasis:names:tc:xacml:1.0:subject-category:access-subject"> > <Attribute AttributeId="http://wso2.org/claims/gender" > IncludeInResult="false"> > <AttributeValue DataType="http://www.w3.org/2001/XMLSchema#string > ">Female</AttributeValue> > </Attribute> > </Attributes> > </xsd:request> > </xsd:getDecision> > </soapenv:Body> > </soapenv:Envelope> > > [3]. <soapenv:Envelope xmlns:soapenv=" > http://schemas.xmlsoap.org/soap/envelope/"> > <soapenv:Body> > <ns:getDecisionResponse xmlns:ns="http://org.apache.axis2/xsd"> > <ns:return><![CDATA[<Response > xmlns="urn:oasis:names:tc:xacml:3.0:core:schema:wd-17"><Result><Decision>Indeterminate</Decision><Status><StatusCode > Value="urn:oasis:names:tc:xacml:1.0:status:syntax-error"/><StatusMessage>Invalid > request : DOM of request element can not be created from > String</StatusMessage></Status></Result></Response>]]></ns:return> > </ns:getDecisionResponse> > </soapenv:Body> > </soapenv:Envelope> > > [4]. https://wso2.org/jira/browse/IDENTITY-3722 > > > Thanks, > -- > Lakshani Gamage > > *Software Engineer* > Mobile : +94 (0) 71 5478184 <%2B94%20%280%29%20773%20451194> > -- *Godwin Amila Shrimal* Senior Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: *+94772264165* linkedin: *http://lnkd.in/KUum6D <http://lnkd.in/KUum6D>* twitter: https://twitter.com/godwinamila
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
