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>&lt;?xml
version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; ?&gt;&lt;TOKEN
TYPE=&quot;2&quot;&gt;&lt;PUBLIC&gt;&lt;MEMBER-ID&gt;0&lt;/MEMBER-ID&gt;
&lt;NAME&gt;test&lt;/NAME&gt;&lt;HOST&gt;3&lt;/HOST&gt;&lt;EXPIRY-DATE&gt;1235170512998&lt;/EXPIRY-DATE&gt;&lt;/PUBLIC&gt;&lt;CIPHER-TEXT&gt;&lt;![CDATA[MNYIeugbGuJ7V1zq9nMm82JTlmiSswJMSokjYI5z962n6dp9vkO/Kf51/hIjtDzPmfCc6BX7m7+togEG4bAFsSggKFgPmlm+nefFLhZ8EOofmSTq/or0wrMar3WA1WlbZGkGZOjl6A+6v9oSONvsdJW4PLP7Lk06iwwIeZdbFXmeKSWxdonCXw==]]&gt;&lt;/CIPHER-TEXT&gt;&lt;/TOKEN&gt;</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/

Reply via email to