[aspectwerkz-dev] [jira] Closed: (AW-479) marshalling to a xml file through the Default handler
"Alexandre Vasseur (JIRA)" <jira-yCVjj/[email protected]> Thu, 7 Aug 2008 02:53:26 -0500 (CDT)
| Newsgroups | gmane.comp.java.aspectwerkz.devel |
|---|---|
| Message-ID | <15881548.1218095606905.JavaMail.haus-jira@codehaus01.managed.contegix.com> |
[ http://jira.codehaus.org/browse/AW-479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexandre Vasseur closed AW-479.
--------------------------------
Resolution: Not A Bug
this relates to Axis, not AspectWerkz. - user mistake
> marshalling to a xml file through the Default handler
> -----------------------------------------------------
>
> Key: AW-479
> URL: http://jira.codehaus.org/browse/AW-479
> Project: AspectWerkz
> Issue Type: Wish
> Reporter: sathya
> Attachments: AxisContentHandler.java, CastorSerializer.java
>
>
> This is with reference to the example given in the link
> http://issues.apache.org/jira/browse/AXIS-1556?page=history
> I am trying to marshall the value object to a xml file.
> I added the code in the CastorSerializer class
> --------------------------------------------------------------------------------------------------------------------------------------------------------------
> public static void main(String args[])
> {
> Calendar value=new Calendar(); //calendar is the object to be marshalled
> Value.setDate("fifth");
> Value.setMonth("august");
> Value.setYear("twentieth");
> new CastorSerializer().serialize(new QName(" "," "),null,value,new SerializationContextImpl(new PrintWriter(new FileOutputStream("/home/value.xml");
> }
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------
> The result that i see is value.xml file is created but no contents are being written into it. Please say me where I went wrong.
> I have gone around searching web to find the fault, but I could not spot out.
> Reply as soon as possible friend.....
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email