<?xml version="1.0" encoding="utf-8"?><!-- generator="b2evolution/6.9.7-stable" -->
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:admin="http://webns.net/mvcb/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Mr N - Latest Comments on Supplied root object of class * cannot be marshalled without top-level mapping</title>
		<link>https://www.bigsoft.co.uk/blog/?disp=comments</link>
		<atom:link rel="self" type="application/rss+xml" href="https://www.bigsoft.co.uk/blog/?tempskin=_rss2&#38;disp=comments&#38;p=131" />
		<description></description>
		<language>en-GB</language>
		<docs>http://backend.userland.com/rss</docs>
		<admin:generatorAgent rdf:resource="http://b2evolution.net/?v=6.9.7-stable"/>
		<ttl>60</ttl>
		<item>
			<title> Veerendra [Visitor] in response to: Supplied root object of class * cannot be marshalled without top-level mapping</title>
			<pubDate>Fri, 27 Mar 2015 02:32:03 +0000</pubDate>
			<dc:creator><span class="user anonymous" rel="bubbletip_comment_2821">Veerendra</span> <span class="bUser-anonymous-tag">[Visitor]</span></dc:creator>
			<guid isPermaLink="false">c2821@https://www.bigsoft.co.uk/</guid>
			<description>This exception root cause is, you are passing object to JIBX marshalDocument method is not root element class object of jibx xml configuration,
 surely your configured xml root element class is not TimeRecord java class.</description>
			<content:encoded><![CDATA[This exception root cause is, you are passing object to JIBX marshalDocument method is not root element class object of jibx xml configuration,
 surely your configured xml root element class is not TimeRecord java class.]]></content:encoded>
			<link>https://www.bigsoft.co.uk/blog/2009/04/22/cannot-be-marshalled-without-top-level-m#c2821</link>
		</item>
		<item>
			<title> vibhu [Visitor] in response to: Supplied root object of class * cannot be marshalled without top-level mapping</title>
			<pubDate>Thu, 18 Jun 2009 10:15:25 +0000</pubDate>
			<dc:creator><span class="user anonymous" rel="bubbletip_comment_283">vibhu</span> <span class="bUser-anonymous-tag">[Visitor]</span></dc:creator>
			<guid isPermaLink="false">c283@https://www.bigsoft.co.uk/</guid>
			<description>Thanx&amp;#8230; I was stuck at the same problem and this nailed it</description>
			<content:encoded><![CDATA[Thanx&#8230; I was stuck at the same problem and this nailed it]]></content:encoded>
			<link>https://www.bigsoft.co.uk/blog/2009/04/22/cannot-be-marshalled-without-top-level-m#c283</link>
		</item>
		<item>
			<title>davidnewcomb [Member] in response to: Supplied root object of class * cannot be marshalled without top-level mapping</title>
			<pubDate>Thu, 23 Apr 2009 08:15:05 +0000</pubDate>
			<dc:creator><a href="https://www.bigsoft.co.uk/?disp=user&amp;user_ID=1" title="Show the user profile" class="login user nowrap" rel="bubbletip_user_1"><span class="identity_link_username">davidnewcomb</span></a> <span class="bUser-member-tag">[Member]</span></dc:creator>
			<guid isPermaLink="false">c259@https://www.bigsoft.co.uk/</guid>
			<description>&lt;p&gt;You are asking for a Time3081Record marshaller so you must send in a Time3081Record class. Are you sending in a TimeRecord class instead?&lt;/p&gt;
&lt;p&gt;Do you have a test case of it not working?&lt;/p&gt;</description>
			<content:encoded><![CDATA[<p>You are asking for a Time3081Record marshaller so you must send in a Time3081Record class. Are you sending in a TimeRecord class instead?</p>
<p>Do you have a test case of it not working?</p>]]></content:encoded>
			<link>https://www.bigsoft.co.uk/blog/2009/04/22/cannot-be-marshalled-without-top-level-m#c259</link>
		</item>
		<item>
			<title> Vrunda Bapat [Visitor] in response to: Supplied root object of class * cannot be marshalled without top-level mapping</title>
			<pubDate>Thu, 23 Apr 2009 08:03:14 +0000</pubDate>
			<dc:creator><span class="user anonymous" rel="bubbletip_comment_258">Vrunda Bapat</span> <span class="bUser-anonymous-tag">[Visitor]</span></dc:creator>
			<guid isPermaLink="false">c258@https://www.bigsoft.co.uk/</guid>
			<description>&lt;p&gt;I saw your post regarding Marshalling -Unmarshalling via JibX.
I am having a similar error and wanted to clarify something.
I am having a collection of Objects which I want to marshall/unmarshall.
I am getting the context for class :TimeRecord.class and marshalling that same Object and not the collection but it still gives me the same error :Supplied root object of class cannot be marshalled without top-level mapping.&lt;/p&gt;
&lt;p&gt;My code:
IBindingFactory bfact =
BindingDirectory.getFactory(gov.irs.aec.bus.time_entry.entity.Time3081Record);&lt;/p&gt;
&lt;p&gt;IMarshallingContext mctx = bfact.createMarshallingContext();
mctx.marshalDocument(time3081Rec, &amp;#8220;UTF-8&amp;Prime;, null, new FileOutputStream(FILE_NAME));&lt;/p&gt;
&lt;p&gt;Can you help me with this error?
If you give me your contact mail - I can send you my binding.xmls as well..
Please help!I didn&amp;#8217;t see ANY OTHER post than yours.&lt;/p&gt;</description>
			<content:encoded><![CDATA[<p>I saw your post regarding Marshalling -Unmarshalling via JibX.
I am having a similar error and wanted to clarify something.
I am having a collection of Objects which I want to marshall/unmarshall.
I am getting the context for class :TimeRecord.class and marshalling that same Object and not the collection but it still gives me the same error :Supplied root object of class cannot be marshalled without top-level mapping.</p>
<p>My code:
IBindingFactory bfact =
BindingDirectory.getFactory(gov.irs.aec.bus.time_entry.entity.Time3081Record);</p>
<p>IMarshallingContext mctx = bfact.createMarshallingContext();
mctx.marshalDocument(time3081Rec, &#8220;UTF-8&Prime;, null, new FileOutputStream(FILE_NAME));</p>
<p>Can you help me with this error?
If you give me your contact mail - I can send you my binding.xmls as well..
Please help!I didn&#8217;t see ANY OTHER post than yours.</p>]]></content:encoded>
			<link>https://www.bigsoft.co.uk/blog/2009/04/22/cannot-be-marshalled-without-top-level-m#c258</link>
		</item>
			</channel>
</rss>
