Unfortunately, removing attributes element did not solve the problem. I 
removed the element and continue to deserialize by changing the client 
code, but it throws the same error. 

2 Şubat 2016 Salı 19:32:56 UTC+2 tarihinde King, Robert yazdı:
>
> Attribute release through CAS response is part of the 3.0 schema, so I 
> would assume your first hunch on it being the attributes would be correct.
>
>  
>
>  
>
> *From:* [email protected] <javascript:> [mailto:[email protected] 
> <javascript:>] *On Behalf Of *Burak Sarica
> *Sent:* February-02-16 1:44 PM
> *To:* CAS Community <[email protected] <javascript:>>
> *Subject:* [cas-user] Xml Deserialization Error with .net client
>
>  
>
> Hi there,
>
>  
>
> The ticket validation process throws an error (i ve modified the client 
> code to include the inner exception)
>
>  
>
> Ticket validation error: 
> DotNetCasClient.Validation.TicketValidationException: CAS Server response 
> does not conform to CAS 2.0 schema ---> System.InvalidOperationException: 
> XML belgesinde bir hata var (5, 2). ---> System.InvalidOperationException: 
> <serviceResponse xmlns='https://cas.yyu.edu.tr/cas'> beklenmiyordu. 
> (beklenmiyordu means *not expected*)
>
>  
>
> The ticket in the logs is the following (hide the values.. ):
>
>  
>
> <cas:serviceResponse xmlns:cas='https://cas.yyu.edu.tr/cas'>
>
>             <cas:authenticationSuccess>
>
>                         <cas:user>***@yyu.edu.tr</cas:user>
>
>         
>
>         
>
>             </cas:authenticationSuccess>
>
>             <cas:attributes>
>
>  
>
>  
>
> <cas:ad>***        </cas:ad>
>
>  
>
> <cas:emekliSicilNo>***        </cas:emekliSicilNo>
>
>  
>
> <cas:gsmTlf0>***        </cas:gsmTlf0>
>
>  
>
> <cas:tcNo>***        </cas:tcNo>
>
>  
>
> <cas:cinsiyet>erkek        </cas:cinsiyet>
>
>  
>
> <cas:dahili>***        </cas:dahili>
>
>  
>
> <cas:soyad>***        </cas:soyad>
>
>  
>
> <cas:id>***        </cas:id>
>
>  
>
> <cas:birimId>***        </cas:birimId>
>
>  
>
> <cas:unvan_id>***        </cas:unvan_id>
>
>  
>
> <cas:email>***       </cas:email>
>
>  
>
>  
>
> </cas:attributes>
>
> </cas:serviceResponse>
>
>  
>
>  
>
> What is the problem here? They use this CAS installation with PHP clients 
> etc. I thought it was about the attributes, but the inner exception says it 
> cannot parse the root element. Any suggestions?
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "CAS Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] <javascript:>.
> Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/
> .
>

-- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.

Reply via email to