<?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: Web Services Tutorial with Apache CXF</title>
	<atom:link href="http://www.benmccann.com/dev-blog/web-services-tutorial-with-apache-cxf/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.benmccann.com/dev-blog/web-services-tutorial-with-apache-cxf/</link>
	<description>The software development weblog of Benjamin McCann.</description>
	<lastBuildDate>Sun, 21 Mar 2010 13:30:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: satheesh</title>
		<link>http://www.benmccann.com/dev-blog/web-services-tutorial-with-apache-cxf/comment-page-2/#comment-21169</link>
		<dc:creator>satheesh</dc:creator>
		<pubDate>Thu, 25 Feb 2010 13:40:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.lumidant.com/blog/web-services-tutorial-with-apache-cxf/#comment-21169</guid>
		<description>Really great tutorial!! amazing . I did it with out even a single error. 
Thanks a million!
Great!</description>
		<content:encoded><![CDATA[<p>Really great tutorial!! amazing . I did it with out even a single error.<br />
Thanks a million!<br />
Great!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://www.benmccann.com/dev-blog/web-services-tutorial-with-apache-cxf/comment-page-2/#comment-19446</link>
		<dc:creator>John</dc:creator>
		<pubDate>Tue, 19 Jan 2010 20:51:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.lumidant.com/blog/web-services-tutorial-with-apache-cxf/#comment-19446</guid>
		<description>Ben

Instead of CXF generate the wsdl on the fly and have that displayed on the UI when we go to below url.
http://localhost:7001/authManager/services/servicename?wsdl
Is there a way to generate one using java2wsdl and package it in the war and have url refer to the packaged wsdl rather than auto-generated wsdl?

One difference i am seeing between the two wsdl is the one CXF generates automatically imports another wsdl that has types, messages and operations defined in it.

-John</description>
		<content:encoded><![CDATA[<p>Ben</p>
<p>Instead of CXF generate the wsdl on the fly and have that displayed on the UI when we go to below url.<br />
<a href="http://localhost:7001/authManager/services/servicename?wsdl" rel="nofollow">http://localhost:7001/authManager/services/servicename?wsdl</a><br />
Is there a way to generate one using java2wsdl and package it in the war and have url refer to the packaged wsdl rather than auto-generated wsdl?</p>
<p>One difference i am seeing between the two wsdl is the one CXF generates automatically imports another wsdl that has types, messages and operations defined in it.</p>
<p>-John</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Leo</title>
		<link>http://www.benmccann.com/dev-blog/web-services-tutorial-with-apache-cxf/comment-page-2/#comment-17099</link>
		<dc:creator>Leo</dc:creator>
		<pubDate>Mon, 16 Nov 2009 17:44:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.lumidant.com/blog/web-services-tutorial-with-apache-cxf/#comment-17099</guid>
		<description>Hello, Ben.. 
first of all: thanks for the great article!

Can you help with this error:

   WARNING: Interceptor has thrown exception, unwinding now
   org.apache.cxf.interceptor.Fault: Could not send Message.
        at $Proxy45.getEmployee(Unknown Source)

I think it&#039;s a java doubt and not ws: How can I put a Employee, so when I call (AuthService) factory.create().getEmployee(&quot;0223938&quot;) it returns the right Employee and not the Unknown Source Error?

Thanks in advance!</description>
		<content:encoded><![CDATA[<p>Hello, Ben..<br />
first of all: thanks for the great article!</p>
<p>Can you help with this error:</p>
<p>   WARNING: Interceptor has thrown exception, unwinding now<br />
   org.apache.cxf.interceptor.Fault: Could not send Message.<br />
        at $Proxy45.getEmployee(Unknown Source)</p>
<p>I think it&#8217;s a java doubt and not ws: How can I put a Employee, so when I call (AuthService) factory.create().getEmployee(&#8220;0223938&#8243;) it returns the right Employee and not the Unknown Source Error?</p>
<p>Thanks in advance!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jerome bulanadi</title>
		<link>http://www.benmccann.com/dev-blog/web-services-tutorial-with-apache-cxf/comment-page-2/#comment-16918</link>
		<dc:creator>jerome bulanadi</dc:creator>
		<pubDate>Thu, 12 Nov 2009 08:31:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.lumidant.com/blog/web-services-tutorial-with-apache-cxf/#comment-16918</guid>
		<description>I was looking for articles on how to deploy cxf on a web server instead of an  Endpoint.publish on a single port.

I was able to run your sample on Apache Tomcat. It worked with multiple webservices on the same tomcat port.

Great tutorial. 

Thanks a lot!</description>
		<content:encoded><![CDATA[<p>I was looking for articles on how to deploy cxf on a web server instead of an  Endpoint.publish on a single port.</p>
<p>I was able to run your sample on Apache Tomcat. It worked with multiple webservices on the same tomcat port.</p>
<p>Great tutorial. </p>
<p>Thanks a lot!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jaime</title>
		<link>http://www.benmccann.com/dev-blog/web-services-tutorial-with-apache-cxf/comment-page-2/#comment-15986</link>
		<dc:creator>jaime</dc:creator>
		<pubDate>Thu, 22 Oct 2009 17:12:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.lumidant.com/blog/web-services-tutorial-with-apache-cxf/#comment-15986</guid>
		<description>Is that a valid procedure to create a cxf client for a web service exposed by other platform as .net??</description>
		<content:encoded><![CDATA[<p>Is that a valid procedure to create a cxf client for a web service exposed by other platform as .net??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jugash</title>
		<link>http://www.benmccann.com/dev-blog/web-services-tutorial-with-apache-cxf/comment-page-2/#comment-14868</link>
		<dc:creator>Jugash</dc:creator>
		<pubDate>Thu, 24 Sep 2009 16:53:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.lumidant.com/blog/web-services-tutorial-with-apache-cxf/#comment-14868</guid>
		<description>I faced the same problem that Dom was facing earlier &quot;org.apache.cxf.interceptor.Fault: Marshalling Error:&quot;. I know the post is very old but I am putting here the solution that worked for me for the benefit of anyone else who is stuck with the same problem. The problem for me was that the default constructor was not defined and ObjectInstatntiation was failing. The default data binding class was not giving a very friendly message but when i changed to aegis it gave me an InstantiationException.</description>
		<content:encoded><![CDATA[<p>I faced the same problem that Dom was facing earlier &#8220;org.apache.cxf.interceptor.Fault: Marshalling Error:&#8221;. I know the post is very old but I am putting here the solution that worked for me for the benefit of anyone else who is stuck with the same problem. The problem for me was that the default constructor was not defined and ObjectInstatntiation was failing. The default data binding class was not giving a very friendly message but when i changed to aegis it gave me an InstantiationException.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ashwin</title>
		<link>http://www.benmccann.com/dev-blog/web-services-tutorial-with-apache-cxf/comment-page-2/#comment-14374</link>
		<dc:creator>Ashwin</dc:creator>
		<pubDate>Mon, 14 Sep 2009 02:11:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.lumidant.com/blog/web-services-tutorial-with-apache-cxf/#comment-14374</guid>
		<description>Hi Ben,

I was trying to run the above example. I am getting the following error. I am using cxt 2.2.3. I have all the jars .

deploy\Hygeia.war\WEB-INF\lib\geronimo-servlet_2.5_spec-1.2.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
2009-09-13 22:05:27,005 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/Hygeia]] Initializing Spring root WebApplicationContext
2009-09-13 22:05:32,823 ERROR [STDERR] Sep 13, 2009 10:05:32 PM org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
INFO: Creating Service {http://service.auth.company.com/}corporateAuthService from class com.company.auth.service.AuthService
2009-09-13 22:05:34,415 ERROR [STDERR] Sep 13, 2009 10:05:34 PM org.apache.cxf.endpoint.ServerImpl initDestination
INFO: Setting the server&#039;s publish address to be /swAuth......




In the web.xml ,I have added the following tags to the existing ones.


    contextConfigLocation
    classpath:com/company/auth/service/cxf.xml
  
  
   
    CXFServlet
    org.apache.cxf.transport.servlet.CXFServlet
  
  
  
    CXFServlet
    /services/*
  


Any Ideas please???</description>
		<content:encoded><![CDATA[<p>Hi Ben,</p>
<p>I was trying to run the above example. I am getting the following error. I am using cxt 2.2.3. I have all the jars .</p>
<p>deploy\Hygeia.war\WEB-INF\lib\geronimo-servlet_2.5_spec-1.2.jar) &#8211; jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class<br />
2009-09-13 22:05:27,005 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/Hygeia]] Initializing Spring root WebApplicationContext<br />
2009-09-13 22:05:32,823 ERROR [STDERR] Sep 13, 2009 10:05:32 PM org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass<br />
INFO: Creating Service {http://service.auth.company.com/}corporateAuthService from class com.company.auth.service.AuthService<br />
2009-09-13 22:05:34,415 ERROR [STDERR] Sep 13, 2009 10:05:34 PM org.apache.cxf.endpoint.ServerImpl initDestination<br />
INFO: Setting the server&#8217;s publish address to be /swAuth&#8230;&#8230;</p>
<p>In the web.xml ,I have added the following tags to the existing ones.</p>
<p>    contextConfigLocation<br />
    classpath:com/company/auth/service/cxf.xml</p>
<p>    CXFServlet<br />
    org.apache.cxf.transport.servlet.CXFServlet</p>
<p>    CXFServlet<br />
    /services/*</p>
<p>Any Ideas please???</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: batman</title>
		<link>http://www.benmccann.com/dev-blog/web-services-tutorial-with-apache-cxf/comment-page-2/#comment-13787</link>
		<dc:creator>batman</dc:creator>
		<pubDate>Tue, 25 Aug 2009 09:37:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.lumidant.com/blog/web-services-tutorial-with-apache-cxf/#comment-13787</guid>
		<description>great tutorial!!!  it worked first time, out of the box - using tomcat 6.0, cxf2.3.

10 minutes to get it up and running.

many thanks!</description>
		<content:encoded><![CDATA[<p>great tutorial!!!  it worked first time, out of the box &#8211; using tomcat 6.0, cxf2.3.</p>
<p>10 minutes to get it up and running.</p>
<p>many thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.benmccann.com/dev-blog/web-services-tutorial-with-apache-cxf/comment-page-2/#comment-11350</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Fri, 05 Jun 2009 09:44:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.lumidant.com/blog/web-services-tutorial-with-apache-cxf/#comment-11350</guid>
		<description>Ok problem solved ... thing is that if you&#039;re using Aegis on the Server Side, you also have to use it on the Client side.

A single line of code did the trick:

&lt;b&gt;proxyFactory.setDataBinding(new AegisDatabinding());&lt;/b&gt;</description>
		<content:encoded><![CDATA[<p>Ok problem solved &#8230; thing is that if you&#8217;re using Aegis on the Server Side, you also have to use it on the Client side.</p>
<p>A single line of code did the trick:</p>
<p><b>proxyFactory.setDataBinding(new AegisDatabinding());</b></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://www.benmccann.com/dev-blog/web-services-tutorial-with-apache-cxf/comment-page-2/#comment-11332</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Thu, 04 Jun 2009 18:46:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.lumidant.com/blog/web-services-tutorial-with-apache-cxf/#comment-11332</guid>
		<description>ICE-LIGHT, in Java, you must import all referenced classes that are located in a different package.</description>
		<content:encoded><![CDATA[<p>ICE-LIGHT, in Java, you must import all referenced classes that are located in a different package.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
