Re: [Dev] [IS] XACML error : DOM of request element can not be created from String

2015-10-07 Thread Harsha Thirimanna
Yes, I just mentioned that jira fixed not yours one even though it is the
same error.
On Oct 8, 2015 8:41 AM, "Lakshani Gamage"  wrote:

> 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 
> 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"  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].
>>> >>  PolicyId="newPolicy"
>>> RuleCombiningAlgId="urn:oasis:names:tc:xacml:3.0:rule-combining-algorithm:permit-overrides"
>>> Version="1.0">
>>>
>>>
>>>   
>>>  >> FunctionId="urn:oasis:names:tc:xacml:1.0:function:any-of">
>>> >> FunctionId="urn:oasis:names:tc:xacml:1.0:function:string-equal">
>>> http://www.w3.org/2001/XMLSchema#string;>female
>>> 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">
>>>  
>>>   
>>>
>>> 
>>>
>>> [2].
>>> 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">
>>>
>>>
>>>   
>>>  
>>>  
>>> >> Category="urn:oasis:names:tc:xacml:1.0:subject-category:access-subject">
>>> http://wso2.org/claims/gender;
>>> IncludeInResult="false">
>>> http://www.w3.org/2001/XMLSchema#string
>>> ">Female
>>> 
>>> 
>>>
>>>   
>>>
>>> 
>>>
>>> [3]. http://schemas.xmlsoap.org/soap/envelope/;>
>>>
>>>   http://org.apache.axis2/xsd;>
>>>  
>>>   
>>>
>>> 
>>>
>>> [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


Re: [Dev] [IS] XACML error : DOM of request element can not be created from String

2015-10-07 Thread Godwin Amila Shrimal
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  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].
>   PolicyId="newPolicy"
> RuleCombiningAlgId="urn:oasis:names:tc:xacml:3.0:rule-combining-algorithm:permit-overrides"
> Version="1.0">
>
>
>   
>  
>  FunctionId="urn:oasis:names:tc:xacml:1.0:function:string-equal">
> http://www.w3.org/2001/XMLSchema#string;>female
> 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">
>  
>   
>
> 
>
> [2].
> 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">
>
>
>   
>  
>  
>  Category="urn:oasis:names:tc:xacml:1.0:subject-category:access-subject">
> http://wso2.org/claims/gender;
> IncludeInResult="false">
> http://www.w3.org/2001/XMLSchema#string
> ">Female
> 
> 
>
>   
>
> 
>
> [3]. http://schemas.xmlsoap.org/soap/envelope/;>
>
>   http://org.apache.axis2/xsd;>
>  
>   
>
> 
>
> [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 *
twitter: https://twitter.com/godwinamila
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [IS] XACML error : DOM of request element can not be created from String

2015-10-07 Thread Harsha Thirimanna
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"  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].
>   PolicyId="newPolicy"
> RuleCombiningAlgId="urn:oasis:names:tc:xacml:3.0:rule-combining-algorithm:permit-overrides"
> Version="1.0">
>
>
>   
>  
>  FunctionId="urn:oasis:names:tc:xacml:1.0:function:string-equal">
> http://www.w3.org/2001/XMLSchema#string;>female
> 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">
>  
>   
>
> 
>
> [2].
> 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">
>
>
>   
>  
>  
>  Category="urn:oasis:names:tc:xacml:1.0:subject-category:access-subject">
> http://wso2.org/claims/gender;
> IncludeInResult="false">
> http://www.w3.org/2001/XMLSchema#string
> ">Female
> 
> 
>
>   
>
> 
>
> [3]. http://schemas.xmlsoap.org/soap/envelope/;>
>
>   http://org.apache.axis2/xsd;>
>  
>   
>
> 
>
> [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
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [IS] XACML error : DOM of request element can not be created from String

2015-10-07 Thread Lakshani Gamage
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  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"  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].
>> >  PolicyId="newPolicy"
>> RuleCombiningAlgId="urn:oasis:names:tc:xacml:3.0:rule-combining-algorithm:permit-overrides"
>> Version="1.0">
>>
>>
>>   
>>  
>> > FunctionId="urn:oasis:names:tc:xacml:1.0:function:string-equal">
>> http://www.w3.org/2001/XMLSchema#string;>female
>> 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">
>>  
>>   
>>
>> 
>>
>> [2].
>> 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">
>>
>>
>>   
>>  
>>  
>> > Category="urn:oasis:names:tc:xacml:1.0:subject-category:access-subject">
>> http://wso2.org/claims/gender;
>> IncludeInResult="false">
>> http://www.w3.org/2001/XMLSchema#string
>> ">Female
>> 
>> 
>>
>>   
>>
>> 
>>
>> [3]. http://schemas.xmlsoap.org/soap/envelope/;>
>>
>>   http://org.apache.axis2/xsd;>
>>  
>>   
>>
>> 
>>
>> [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


[Dev] [IS] XACML error : DOM of request element can not be created from String

2015-10-07 Thread Lakshani Gamage
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].

   
   
  
 

http://www.w3.org/2001/XMLSchema#string;>female
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">
 
  
   


[2].
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">
   
   
  
 
 

http://wso2.org/claims/gender;
IncludeInResult="false">
http://www.w3.org/2001/XMLSchema#string
">Female


   
  
   


[3]. http://schemas.xmlsoap.org/soap/envelope/;>
   
  http://org.apache.axis2/xsd;>
 
  
   


[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