From 0e95b1e51ee83557e26b520c7b10ea172fbd0a43 Mon Sep 17 00:00:00 2001 From: jprocter Date: Tue, 21 Aug 2007 12:42:22 +0000 Subject: [PATCH] new marshaller instance ensures we use marshalling properties and correct validation methods. 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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/uk/ac/vamsas/client/VorbaXmlBinder.java b/src/uk/ac/vamsas/client/VorbaXmlBinder.java index ca986cb..9462494 100644 --- a/src/uk/ac/vamsas/client/VorbaXmlBinder.java +++ b/src/uk/ac/vamsas/client/VorbaXmlBinder.java @@ -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); } /** -- 1.7.10.2