<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Marshalling XML with Spring WS and JAXB</title>
	<atom:link href="http://thoughtforge.net/2010/02/04/marshalling-xml-with-spring-ws-and-jaxb/feed/" rel="self" type="application/rss+xml" />
	<link>http://thoughtforge.net/2010/02/04/marshalling-xml-with-spring-ws-and-jaxb/</link>
	<description></description>
	<lastBuildDate>Thu, 05 Aug 2010 12:29:25 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Alec</title>
		<link>http://thoughtforge.net/2010/02/04/marshalling-xml-with-spring-ws-and-jaxb/comment-page-1/#comment-51</link>
		<dc:creator>Alec</dc:creator>
		<pubDate>Fri, 23 Apr 2010 18:03:56 +0000</pubDate>
		<guid isPermaLink="false">http://thoughtforge.net/?p=610#comment-51</guid>
		<description>Right now I have an XSD that defines a contract. I do not use annotations in my existing classes, but I am using annotated endpoints (@Endpoint, etc.) The schema objects are generated, and I map them via a utility class to my domain objects. everything works fine. However, some mappings get tedious and seems redundant when the generated objects are all but identical to the original domain objects I already have. I wonder if there is a best practice for handling these situations, and/or an easy way to let JAXB know that some elements must be bound to existing Java classes instead of the schema-generated ones?</description>
		<content:encoded><![CDATA[<p>Right now I have an XSD that defines a contract. I do not use annotations in my existing classes, but I am using annotated endpoints (@Endpoint, etc.) The schema objects are generated, and I map them via a utility class to my domain objects. everything works fine. However, some mappings get tedious and seems redundant when the generated objects are all but identical to the original domain objects I already have. I wonder if there is a best practice for handling these situations, and/or an easy way to let JAXB know that some elements must be bound to existing Java classes instead of the schema-generated ones?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: turnerj</title>
		<link>http://thoughtforge.net/2010/02/04/marshalling-xml-with-spring-ws-and-jaxb/comment-page-1/#comment-50</link>
		<dc:creator>turnerj</dc:creator>
		<pubDate>Fri, 23 Apr 2010 17:57:43 +0000</pubDate>
		<guid isPermaLink="false">http://thoughtforge.net/?p=610#comment-50</guid>
		<description>I&#039;m not sure how you could mix the two configurations (Annotation and Introduction XML).  I think you will have to define all mappings in one or other.

If you use introductions, the marshaller will ignore the JAXB annotations on &#039;existing classes&#039;.</description>
		<content:encoded><![CDATA[<p>I&#8217;m not sure how you could mix the two configurations (Annotation and Introduction XML).  I think you will have to define all mappings in one or other.</p>
<p>If you use introductions, the marshaller will ignore the JAXB annotations on &#8216;existing classes&#8217;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alec</title>
		<link>http://thoughtforge.net/2010/02/04/marshalling-xml-with-spring-ws-and-jaxb/comment-page-1/#comment-49</link>
		<dc:creator>Alec</dc:creator>
		<pubDate>Fri, 23 Apr 2010 17:46:26 +0000</pubDate>
		<guid isPermaLink="false">http://thoughtforge.net/?p=610#comment-49</guid>
		<description>Oops... The tag I meant to include:

&lt;oxm:jaxb2-marshaller id=&quot;marshaller&quot; contextPath=&quot;...&quot;&gt;</description>
		<content:encoded><![CDATA[<p>Oops&#8230; The tag I meant to include:</p>
<p>&lt;oxm:jaxb2-marshaller id=&#8221;marshaller&#8221; contextPath=&#8221;&#8230;&#8221;&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alec</title>
		<link>http://thoughtforge.net/2010/02/04/marshalling-xml-with-spring-ws-and-jaxb/comment-page-1/#comment-48</link>
		<dc:creator>Alec</dc:creator>
		<pubDate>Fri, 23 Apr 2010 17:43:53 +0000</pubDate>
		<guid isPermaLink="false">http://thoughtforge.net/?p=610#comment-48</guid>
		<description>Hi John, thanks for the helpful post! I wonder what the Spring-WS configuration should look like if I am using the marshaller tag

 

and need to have some classes auto-generated while reusing a few existing classes, such as enums, etc?  

Thanks,
Alec</description>
		<content:encoded><![CDATA[<p>Hi John, thanks for the helpful post! I wonder what the Spring-WS configuration should look like if I am using the marshaller tag</p>
<p>and need to have some classes auto-generated while reusing a few existing classes, such as enums, etc?  </p>
<p>Thanks,<br />
Alec</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Turner</title>
		<link>http://thoughtforge.net/2010/02/04/marshalling-xml-with-spring-ws-and-jaxb/comment-page-1/#comment-47</link>
		<dc:creator>John Turner</dc:creator>
		<pubDate>Fri, 23 Apr 2010 17:39:26 +0000</pubDate>
		<guid isPermaLink="false">http://thoughtforge.net/?p=610#comment-47</guid>
		<description>Hi Alex,
  I have only demonstrated the marshalling aspect and have no WS endpoints defined.  I will do another post on demonstrating that in a few weeks (if that would help?).  I&#039;m a little tied up with coursework etc. at the moment.</description>
		<content:encoded><![CDATA[<p>Hi Alex,<br />
  I have only demonstrated the marshalling aspect and have no WS endpoints defined.  I will do another post on demonstrating that in a few weeks (if that would help?).  I&#8217;m a little tied up with coursework etc. at the moment.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://thoughtforge.net/2010/02/04/marshalling-xml-with-spring-ws-and-jaxb/comment-page-1/#comment-46</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Fri, 23 Apr 2010 13:47:59 +0000</pubDate>
		<guid isPermaLink="false">http://thoughtforge.net/?p=610#comment-46</guid>
		<description>Hi John,
What I meant is where are the web service endponts/ports/etc specified in your code?

From what I see you&#039;ve got JaxB marshalling/unmarshalling working, but it&#039;s not tied with Spring-WS.

Thank you!</description>
		<content:encoded><![CDATA[<p>Hi John,<br />
What I meant is where are the web service endponts/ports/etc specified in your code?</p>
<p>From what I see you&#8217;ve got JaxB marshalling/unmarshalling working, but it&#8217;s not tied with Spring-WS.</p>
<p>Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Turner</title>
		<link>http://thoughtforge.net/2010/02/04/marshalling-xml-with-spring-ws-and-jaxb/comment-page-1/#comment-33</link>
		<dc:creator>John Turner</dc:creator>
		<pubDate>Mon, 15 Mar 2010 13:40:53 +0000</pubDate>
		<guid isPermaLink="false">http://thoughtforge.net/?p=610#comment-33</guid>
		<description>Hi Alex, 
  At the time of writing the Spring OXM functionality was part of the Spring WS project (I believe it still is).

John</description>
		<content:encoded><![CDATA[<p>Hi Alex,<br />
  At the time of writing the Spring OXM functionality was part of the Spring WS project (I believe it still is).</p>
<p>John</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://thoughtforge.net/2010/02/04/marshalling-xml-with-spring-ws-and-jaxb/comment-page-1/#comment-32</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Sun, 14 Mar 2010 21:47:07 +0000</pubDate>
		<guid isPermaLink="false">http://thoughtforge.net/?p=610#comment-32</guid>
		<description>So where is the Spring WS part in your samples?</description>
		<content:encoded><![CDATA[<p>So where is the Spring WS part in your samples?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
