[jbossseam-issues] [JBoss JIRA] Updated: (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:25:52 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBSEAM-1305?page=all ]

Michael Yuan updated JBSEAM-1305:
---------------------------------

          Component/s: Remoting
        Fix Version/s: 1.3.0.BETA1
    Affects Version/s: 1.2.1.GA
          Description: 
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>



  was:

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>




> 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
>          Components: Remoting
>    Affects Versions: 1.2.1.GA
>            Reporter: Michael Yuan
>             Fix For: 1.3.0.BETA1
>
>
> 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