Hi all,
I have upgarded from 2.1.3 -> 2.2-SNAPSHOT as I need the multipart/form-data
stuff. I have a flex client that runs in different browser calling these
endpoints. Since the upgrade some of the endpoints have stopped working for
the flex client. It was throwing a parseing exception. So i looked at the
XML. From Internet Explorer and Safari I get this:
{"Response":{"expiryDate":1235157506359,"passwordHash":"5f4dcc3b5aa765d61d8327deb882cf99","roleId":3,"securityToken":"<?xml
version=\"1.0\" encoding=\"UTF-8\" ?><TOKEN
TYPE=\"2\"><PUBLIC><MEMBER-ID>0<\/MEMBER-ID>
<NAME>test<\/NAME><HOST>3<\/HOST><EXPIRY-DATE>1235170466370<\/EXPIRY-DATE><\/PUBLIC><CIPHER-TEXT><![CDATA[MNYIeugbGuJ7V1zq9nMm82JTlmiSswJMSokjYI5z9634nPkyJpWgDpuqcg3QkOXZmfCc6BX7m7+togEG4bAFsSggKFgPmlm+nefFLhZ8EOofmSTq\/or0wrMar3WA1WlbZGkGZOjl6A+6v9oSONvsdJW4PLP7Lk06iwwIeZdbFXmeKSWxdonCXw==]]><\/CIPHER-TEXT><\/TOKEN>","status":"OK"}}
But is correct in Firefox:
<?xml version="1.0" encoding="UTF-8"
standalone="yes"?><Response><expiryDate>1235157552986</expiryDate><passwordHash>5f4dcc3b5aa765d61d8327deb882cf99</passwordHash><roleId>3</roleId><securityToken><?xml
version="1.0" encoding="UTF-8" ?><TOKEN
TYPE="2"><PUBLIC><MEMBER-ID>0</MEMBER-ID>
<NAME>test</NAME><HOST>3</HOST><EXPIRY-DATE>1235170512998</EXPIRY-DATE></PUBLIC><CIPHER-TEXT><![CDATA[MNYIeugbGuJ7V1zq9nMm82JTlmiSswJMSokjYI5z962n6dp9vkO/Kf51/hIjtDzPmfCc6BX7m7+togEG4bAFsSggKFgPmlm+nefFLhZ8EOofmSTq/or0wrMar3WA1WlbZGkGZOjl6A+6v9oSONvsdJW4PLP7Lk06iwwIeZdbFXmeKSWxdonCXw==]]></CIPHER-TEXT></TOKEN></securityToken><status>OK</status></Response>
It Almost seems like the browser have transform the data. Is there any thing
I need to do to instruct the marshalling in 2.2?
Thanks
Charlie
--
http://finker.wordpress.com/