<?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: Java template for WSDL-first web services using CXF (for Maven2 and Eclipse)</title>
	<atom:link href="http://joemorrison.org/blog/2008/10/23/cxf-wsdl-first/feed/" rel="self" type="application/rss+xml" />
	<link>http://joemorrison.org/blog/2008/10/23/cxf-wsdl-first/</link>
	<description>How I Learned to Stop Worrying and Love Writing Software</description>
	<pubDate>Sat, 19 May 2012 10:46:40 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: james greenwood</title>
		<link>http://joemorrison.org/blog/2008/10/23/cxf-wsdl-first/comment-page-1/#comment-9041</link>
		<dc:creator>james greenwood</dc:creator>
		<pubDate>Wed, 10 Mar 2010 22:07:59 +0000</pubDate>
		<guid isPermaLink="false">http://joemorrison.org/blog/?p=21#comment-9041</guid>
		<description>i didn't use the maven but I manually build this project by doing the wsdl2java and created all the component but when I deployed to tomcat, the page shows up but keep getting the 404 page not found for http://localhost:8080/ws-example/ws-example?wsdl

Do you have your project without in maven. I will include my project too.</description>
		<content:encoded><![CDATA[<p>i didn&#8217;t use the maven but I manually build this project by doing the wsdl2java and created all the component but when I deployed to tomcat, the page shows up but keep getting the 404 page not found for <a href="http://localhost:8080/ws-example/ws-example?wsdl" rel="nofollow">http://localhost:8080/ws-example/ws-example?wsdl</a></p>
<p>Do you have your project without in maven. I will include my project too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wah</title>
		<link>http://joemorrison.org/blog/2008/10/23/cxf-wsdl-first/comment-page-1/#comment-8578</link>
		<dc:creator>wah</dc:creator>
		<pubDate>Tue, 02 Feb 2010 19:19:06 +0000</pubDate>
		<guid isPermaLink="false">http://joemorrison.org/blog/?p=21#comment-8578</guid>
		<description>more than a year, still useful. thanks</description>
		<content:encoded><![CDATA[<p>more than a year, still useful. thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://joemorrison.org/blog/2008/10/23/cxf-wsdl-first/comment-page-1/#comment-8350</link>
		<dc:creator>John</dc:creator>
		<pubDate>Wed, 20 Jan 2010 00:22:16 +0000</pubDate>
		<guid isPermaLink="false">http://joemorrison.org/blog/?p=21#comment-8350</guid>
		<description>Hey Bharath/Joe

I am trying to implement the web services similar to the way you have described except that my entity classes (with hibernate annotations)  live separately than the cxf generated classes. 
From your post I see that you managed to handle transaction management at the service level. Can you please provide an example of how that can be done and what changes are needed to pom.xml, appContext.xml and EntityManager to handle transaction management?

-John</description>
		<content:encoded><![CDATA[<p>Hey Bharath/Joe</p>
<p>I am trying to implement the web services similar to the way you have described except that my entity classes (with hibernate annotations)  live separately than the cxf generated classes.<br />
From your post I see that you managed to handle transaction management at the service level. Can you please provide an example of how that can be done and what changes are needed to pom.xml, appContext.xml and EntityManager to handle transaction management?</p>
<p>-John</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://joemorrison.org/blog/2008/10/23/cxf-wsdl-first/comment-page-1/#comment-8317</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Mon, 18 Jan 2010 02:28:37 +0000</pubDate>
		<guid isPermaLink="false">http://joemorrison.org/blog/?p=21#comment-8317</guid>
		<description>Hey, I am new to web services - I have worked with Oracle web services, which have a web service endpoint where the operations can be invoked- does this web service have something like this? Is there another way to invoke the web service than through using the SOAP-UI tool?</description>
		<content:encoded><![CDATA[<p>Hey, I am new to web services - I have worked with Oracle web services, which have a web service endpoint where the operations can be invoked- does this web service have something like this? Is there another way to invoke the web service than through using the SOAP-UI tool?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bharath</title>
		<link>http://joemorrison.org/blog/2008/10/23/cxf-wsdl-first/comment-page-1/#comment-6914</link>
		<dc:creator>Bharath</dc:creator>
		<pubDate>Thu, 29 Oct 2009 20:50:57 +0000</pubDate>
		<guid isPermaLink="false">http://joemorrison.org/blog/?p=21#comment-6914</guid>
		<description>Ok, here's another one. I tried adding spring transaction annotations to the service interface methods generated by the cxf-codegen-plugin. But somehow, when I add -xjc-Xannotate as an 'extraarg' under the 'wsdlOption' tag and try to generate the code, it fails with:
org.apache.cxf.tools.common.ToolException: XJC reported 'BadCommandLineException' for -xjc argument:-extension -Xannotate

Note that this method works with maven-jaxb2-plugin for generating automatic annotations. Somehow, the xjc that's with the cxf-codegen-plugin doesn't recognize this as valid. This is not a big deal right now since I can just add the @Transaction annotations to my service implementation class instead of the automatically generated CXF service interfaces. But it would be nice to have this work nevertheless.

Anyone have any thoughts on this?</description>
		<content:encoded><![CDATA[<p>Ok, here&#8217;s another one. I tried adding spring transaction annotations to the service interface methods generated by the cxf-codegen-plugin. But somehow, when I add -xjc-Xannotate as an &#8216;extraarg&#8217; under the &#8216;wsdlOption&#8217; tag and try to generate the code, it fails with:<br />
org.apache.cxf.tools.common.ToolException: XJC reported &#8216;BadCommandLineException&#8217; for -xjc argument:-extension -Xannotate</p>
<p>Note that this method works with maven-jaxb2-plugin for generating automatic annotations. Somehow, the xjc that&#8217;s with the cxf-codegen-plugin doesn&#8217;t recognize this as valid. This is not a big deal right now since I can just add the @Transaction annotations to my service implementation class instead of the automatically generated CXF service interfaces. But it would be nice to have this work nevertheless.</p>
<p>Anyone have any thoughts on this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Apache CXF How-Tos, well not exactly &#171; Computing Thoughts by Roger Rached</title>
		<link>http://joemorrison.org/blog/2008/10/23/cxf-wsdl-first/comment-page-1/#comment-6871</link>
		<dc:creator>Apache CXF How-Tos, well not exactly &#171; Computing Thoughts by Roger Rached</dc:creator>
		<pubDate>Tue, 27 Oct 2009 21:39:31 +0000</pubDate>
		<guid isPermaLink="false">http://joemorrison.org/blog/?p=21#comment-6871</guid>
		<description>[...] Morison, my colleague at Lab49, already posted an excellent article to address the CXF documentation shortcomings; in it he shows how to create a complete Maven [...]</description>
		<content:encoded><![CDATA[<p>[...] Morison, my colleague at Lab49, already posted an excellent article to address the CXF documentation shortcomings; in it he shows how to create a complete Maven [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bharath</title>
		<link>http://joemorrison.org/blog/2008/10/23/cxf-wsdl-first/comment-page-1/#comment-6743</link>
		<dc:creator>Bharath</dc:creator>
		<pubDate>Wed, 14 Oct 2009 19:00:48 +0000</pubDate>
		<guid isPermaLink="false">http://joemorrison.org/blog/?p=21#comment-6743</guid>
		<description>I've attached the relevant parts of the &lt;a href="http://joemorrison.org/downloads/hyperjaxb/pom.xml" rel="nofollow"&gt;pom.xml&lt;/a&gt; file to use hyperJAXB.
Also, you’ll have to include the attached &lt;a href="http://joemorrison.org/downloads/hyperjaxb/bindings.xjb" rel="nofollow"&gt;bindings.xjb&lt;/a&gt; (JAXB bindings file) that maps your schema to specific tables/columns in your resources folder. This will be used to generate the JPA annotations for the domain classes, in your case, Trade, Comments, etc. I've assumed the table/column names here.

Of course, this is assuming that you have configured your appContext.xml with a hibernate session factory for your projects use.

Let me know if you need any clarifications.

Bharath.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve attached the relevant parts of the <a href="http://joemorrison.org/downloads/hyperjaxb/pom.xml" rel="nofollow">pom.xml</a> file to use hyperJAXB.<br />
Also, you’ll have to include the attached <a href="http://joemorrison.org/downloads/hyperjaxb/bindings.xjb" rel="nofollow">bindings.xjb</a> (JAXB bindings file) that maps your schema to specific tables/columns in your resources folder. This will be used to generate the JPA annotations for the domain classes, in your case, Trade, Comments, etc. I&#8217;ve assumed the table/column names here.</p>
<p>Of course, this is assuming that you have configured your appContext.xml with a hibernate session factory for your projects use.</p>
<p>Let me know if you need any clarifications.</p>
<p>Bharath.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roger</title>
		<link>http://joemorrison.org/blog/2008/10/23/cxf-wsdl-first/comment-page-1/#comment-6734</link>
		<dc:creator>Roger</dc:creator>
		<pubDate>Tue, 13 Oct 2009 16:04:09 +0000</pubDate>
		<guid isPermaLink="false">http://joemorrison.org/blog/?p=21#comment-6734</guid>
		<description>That's a great post Joe, very helpful and extremely well written!
by the way, just for the sake on friendly package names (as opposed to reverse DNS) I would suggest adding to the pom file a -p in the wsdlOption section.</description>
		<content:encoded><![CDATA[<p>That&#8217;s a great post Joe, very helpful and extremely well written!<br />
by the way, just for the sake on friendly package names (as opposed to reverse DNS) I would suggest adding to the pom file a -p in the wsdlOption section.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://joemorrison.org/blog/2008/10/23/cxf-wsdl-first/comment-page-1/#comment-6631</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Fri, 02 Oct 2009 22:46:51 +0000</pubDate>
		<guid isPermaLink="false">http://joemorrison.org/blog/?p=21#comment-6631</guid>
		<description>Excellent - thanks for the offer. Would you be willing to post or email me the relevant parts of the pom.xml file? I could make it available for download.</description>
		<content:encoded><![CDATA[<p>Excellent - thanks for the offer. Would you be willing to post or email me the relevant parts of the pom.xml file? I could make it available for download.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bharath</title>
		<link>http://joemorrison.org/blog/2008/10/23/cxf-wsdl-first/comment-page-1/#comment-6629</link>
		<dc:creator>Bharath</dc:creator>
		<pubDate>Fri, 02 Oct 2009 21:12:31 +0000</pubDate>
		<guid isPermaLink="false">http://joemorrison.org/blog/?p=21#comment-6629</guid>
		<description>Joe,

Thanks for pointing out hyperjaxb to me. I've successfully integrated that with maven to produce the JPA annotations in the schema objects. So I just drop the wsdl/xsd file into the resource and the cxf webservice is ready to be implemented. It did take some head-banging since hyperjaxb3 is not that well documented, IMO. But it's all cool in the end :) If anyone tries the same and stuck with it somewhere, I could help.</description>
		<content:encoded><![CDATA[<p>Joe,</p>
<p>Thanks for pointing out hyperjaxb to me. I&#8217;ve successfully integrated that with maven to produce the JPA annotations in the schema objects. So I just drop the wsdl/xsd file into the resource and the cxf webservice is ready to be implemented. It did take some head-banging since hyperjaxb3 is not that well documented, IMO. But it&#8217;s all cool in the end :) If anyone tries the same and stuck with it somewhere, I could help.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

