Hi Alberto, When you say it "stops" when you run the marshalDocument() call, what do you mean? That the call never returns? Are you sure you're not getting some type of exception thrown?
- Dennis Dennis M. Sosnoski SOA and Web Services in Java Training and Consulting http://www.sosnoski.com - http://www.sosnoski.co.nz Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117 Alberto Ivo wrote: > Hello guys, > > I have bee trying to do this for a whole day and nothing.... I have > already done the binding.xml but the xml is not generated when i run > the code: > > IBindingFactory bFactory = BindingDirectory.getFactory(obj.getClass()); > IMarshallingContext mctx = bFactory.createMarshallingContext(); > mctx.setIndent(4); > mctx.marshalDocument(obj, "UTF-16", null, out); > > where out is /new FileInputStream(path)/ > > when run the last line of the code above, it simple stops, and nothing > else happens. Why is this happening? anyone could help me, please? > > > -- > Cordially, > Alberto Ivo Vieira > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > ------------------------------------------------------------------------ > > _______________________________________________ > jibx-users mailing list > jibx-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jibx-users > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users