You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by "Wing Yew Poon (JIRA)" <xm...@xml.apache.org> on 2009/03/04 19:57:59 UTC

[jira] Resolved: (XMLBEANS-402) Serializing XMLBeans Objects

     [ https://issues.apache.org/jira/browse/XMLBEANS-402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wing Yew Poon resolved XMLBEANS-402.
------------------------------------

    Resolution: Won't Fix

This is the design:
Generated XMLBeans implementation classes extend (eventually) XmlObjectBase, and that implements Serializable.
Thus XMLBeans objects are serializable.


> Serializing XMLBeans Objects
> ----------------------------
>
>                 Key: XMLBEANS-402
>                 URL: https://issues.apache.org/jira/browse/XMLBEANS-402
>             Project: XMLBeans
>          Issue Type: New Feature
>            Reporter: Sidharth Singh
>            Priority: Minor
>
> I compiled a xsd file using the XmlBean, it generates many Document Interfaces and many Document Classes which implements those interfaces. So, whatever Document Interfaces are created, all extends java.lang.Object and implements org.apache.xmlbeans.XmlObject. XmlObject implements XmlTokenSource and XmlTokenSource in turn extends java.lang.Object. So, in this hiererchy you don't find any interface called java.io.Serializable.
> I am just retruning the webservice response to the client using the following 
> PersPkgPolicyQuoteInqRsDocument.Factory.parse( resXml ).getPersPkgPolicyQuoteInqRs(); 
> But since it is not serialized, I am not getting the desired output.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org