[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-1305) Incorrect XML encoding for complex return objects from Seam remote methods

Michael Yuan (JIRA) jira-events at lists.jboss.org
Tue May 8 04:20:52 EDT 2007


Incorrect XML encoding for complex return objects from Seam remote methods
--------------------------------------------------------------------------

                 Key: JBSEAM-1305
                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1305
             Project: JBoss Seam
          Issue Type: Bug
            Reporter: Michael Yuan



It seems that Seam remoting in 1.2.1 GA (and also the code in CVS) does not correctly encode the return value object from a Seam remote method. For instance, the remote/progressbar example does not work in JBoss AS 4.0.5 GA or 4.2.0. The return XML in the AJAX request misses a <member> tag:

Error: mismatched tag. Expected: </member>.
Source File: http://localhost:8080/seam-progressbar/seam/resource/remoting/execute
Line: 1, Column: 291
Source Code:
<envelope><header><context><conversationId>3</conversationId></context></header><body><result id="0"><value><ref id="0"/></value><refs><ref id="0"><bean type="progress"><member name="handler"><member name="percentComplete"><number>1</number></member><member name="status"><null/></member></bean></ref></refs></result></body></envelope>



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list