new marshaller instance ensures we use marshalling properties and correct validation...
authorjprocter <jprocter@compbio.dundee.ac.uk>
Tue, 21 Aug 2007 12:42:22 +0000 (12:42 +0000)
committerjprocter <jprocter@compbio.dundee.ac.uk>
Tue, 21 Aug 2007 12:42:22 +0000 (12:42 +0000)
git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@436 be28352e-c001-0410-b1a7-c7978e42abec

src/uk/ac/vamsas/client/VorbaXmlBinder.java

index ca986cb..9462494 100644 (file)
@@ -167,7 +167,8 @@ public class VorbaXmlBinder implements UnmarshalListener {
     if (doc.__vorba==null)
       doc.__vorba = vorba;
     doc.__ensure_instance_ids(); // this may take a while. Do we allow for cyclic references ? 
-    doc.marshal(outstream);
+    Marshaller mshl = new Marshaller(outstream);
+    mshl.marshal(doc);
 
   }
   /**