<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Thu, Apr 20, 2017 at 5:06 PM Mircea Baciu <<a href="mailto:mircea.baciu@simmons.edu">mircea.baciu@simmons.edu</a>> wrote:</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Here's a ticket from IdP:</div><div class="gmail_default"><font face="arial, helvetica, sans-serif">ST-AAhzZWNyZXQyMLjnIZ_lGXRqhpMw2sKmON-CHB_KixeV_Mr35-aB46_zutFyEXiVESYYRgTX7JexOSd2MjxVFoe0fIwcTqf6bTQUjlHiJudA_GRbzXGtpXJzQEtJMtVVlKfPr7QSLP-ppxmE8RbMvB9SQuKmXb0bXinRTrpO4GM_jZkQBAOxARnHSEzN2ATd5qVgkfSHTGCTNs-fJJ-hzw1zJnURH8IDskoqN0xQkeOE--CDOPB5UpoMgeIIRKP9lZaJApg-mgANUzI4UnrFgpoUMpQRfpIHKt2wJX_dILBBtZqSs5VW7Hlw</font><br></div><div class="gmail_default"><font face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">The CAS server ticket looks like this: <a href="http://ST-14868-0AvPvOss9kIUvFmCBhDi-login.simmons.edu" target="_blank">ST-14868-0AvPvOss9kIUvFmCBhDi-login.simmons.edu</a></font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">My feeling is that the application's CAS client is not happy to see such a long ticket and that causes the error.</font></div></div></blockquote><div><br></div><div>Sorry I missed this thread -- had my head down on other local projects. I see you found the solution, but I wanted to add that during testing at my institution I found much the same. Serializing the data into the ticket string is a very beneficial feature if you can stand it, but there are many clients that simply can't handle tickets outside the format used by the Jasig CAS server. Ticket length and improper URL encoding were the most common cases I found; seems you've found another with XML processing.</div><div><br></div><div>Best,</div><div>Marvin</div><div><br></div></div></div>