Hi Harsha,

I got the same issue in tryit tool of the admin console too.

Thanks,

On Thu, Oct 8, 2015 at 8:28 AM, Harsha Thirimanna <hars...@wso2.com> wrote:

> Mentioned jira was fixed an issue that is in tryout tool of the admin
> console. Your issue should be a different one and need to be check on that.
>
> Adding :Godwin
> On Oct 8, 2015 8:00 AM, "Lakshani Gamage" <laksh...@wso2.com> 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>
>>
>> _______________________________________________
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>


-- 
Lakshani Gamage

*Software Engineer*
Mobile : +94 (0) 71 5478184 <%2B94%20%280%29%20773%20451194>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to