<?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: Spring &#8211; Exposing a bean as both REST (xml, json, &#8230;) and SOAP WebServices</title>
	<atom:link href="http://raulraja.com/2009/06/25/spring-exposing-a-bean-as-rest-xml-json-and-soap-webservice/feed/" rel="self" type="application/rss+xml" />
	<link>http://raulraja.com/2009/06/25/spring-exposing-a-bean-as-rest-xml-json-and-soap-webservice/</link>
	<description>About software dev and more</description>
	<lastBuildDate>Fri, 27 Apr 2012 10:07:59 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: Raul Raja</title>
		<link>http://raulraja.com/2009/06/25/spring-exposing-a-bean-as-rest-xml-json-and-soap-webservice/comment-page-2/#comment-527</link>
		<dc:creator>Raul Raja</dc:creator>
		<pubDate>Sat, 19 May 2012 10:39:00 +0000</pubDate>
		<guid isPermaLink="false">http://raulraja.com/?p=248#comment-527</guid>
		<description>@VTS I recommend you follow some other example for getting RESTful services working with Spring as this post is a bit almost 3 years old. Look into something like http://bit.ly/u9JbyD . I had already mentioned where the dependencies are as part of this post http://raulrajatutorials.googlecode.com/svn/trunk/raulraja.com.tutorials/pom.xml , you can get the CXF list of dependencies there.</description>
		<content:encoded><![CDATA[<p>@VTS I recommend you follow some other example for getting RESTful services working with Spring as this post is a bit almost 3 years old. Look into something like <a href="http://bit.ly/u9JbyD" rel="nofollow">http://bit.ly/u9JbyD</a> . I had already mentioned where the dependencies are as part of this post <a href="http://raulrajatutorials.googlecode.com/svn/trunk/raulraja.com.tutorials/pom.xml" rel="nofollow">http://raulrajatutorials.googlecode.com/svn/trunk/raulraja.com.tutorials/pom.xml</a> , you can get the CXF list of dependencies there.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: VTS</title>
		<link>http://raulraja.com/2009/06/25/spring-exposing-a-bean-as-rest-xml-json-and-soap-webservice/comment-page-2/#comment-526</link>
		<dc:creator>VTS</dc:creator>
		<pubDate>Sat, 19 May 2012 01:43:00 +0000</pubDate>
		<guid isPermaLink="false">http://raulraja.com/?p=248#comment-526</guid>
		<description>Which is the cxf jar version are you using? Iam getting cvc-complex-type.2.4.c no declaration error for jaxrs:server, cxf:bus and jaxws:endpoint....</description>
		<content:encoded><![CDATA[<p>Which is the cxf jar version are you using? Iam getting cvc-complex-type.2.4.c no declaration error for jaxrs:server, cxf:bus and jaxws:endpoint&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raul Raja</title>
		<link>http://raulraja.com/2009/06/25/spring-exposing-a-bean-as-rest-xml-json-and-soap-webservice/comment-page-2/#comment-525</link>
		<dc:creator>Raul Raja</dc:creator>
		<pubDate>Sat, 19 May 2012 23:54:00 +0000</pubDate>
		<guid isPermaLink="false">http://raulraja.com/?p=248#comment-525</guid>
		<description>@VTS I have no idea what your error is about. I neither use IBM WS nor there is a META-INF/ws-server-components.xml file in this example.</description>
		<content:encoded><![CDATA[<p>@VTS I have no idea what your error is about. I neither use IBM WS nor there is a META-INF/ws-server-components.xml file in this example.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: VTS</title>
		<link>http://raulraja.com/2009/06/25/spring-exposing-a-bean-as-rest-xml-json-and-soap-webservice/comment-page-2/#comment-524</link>
		<dc:creator>VTS</dc:creator>
		<pubDate>Sat, 19 May 2012 23:48:00 +0000</pubDate>
		<guid isPermaLink="false">http://raulraja.com/?p=248#comment-524</guid>
		<description>Iam getting an error during server start up: CREATE_LISTENER_FAILED_4  vmcid: 0x49421000 
com.ibm.ws.exception.RuntimeError: com.ibm.ws.exception.RuntimeError: org.omg.CORBA.INTERNAL: CREATE_LISTENER_FAILED_4  vmcid: 0x49421000  minor code: 56  completed: No
[12/19/11 12:17:30:294 IST] 0000000a WsServerImpl  E   WSVR0009E: Error occurred during startup
META-INF/ws-server-components.xml
[12/19/11 12:17:30:309 IST] 0000000a WsServerImpl  E   WSVR0009E: Error occurred during startup
com.ibm.ws.exception.RuntimeError: com.ibm.ws.exception.RuntimeError: org.omg.CORBA.INTERNAL: CREATE_LISTENER_FAILED_4  vmcid: 0x49421000  minor code: 56  completed: No
	at com.ibm.ws.runtime.WsServerImpl.bootServerContainer(WsServerImpl.java:199)
	at com.ibm.ws.runtime.WsServerImpl.start(WsServerImpl.java:140)
	at com.ibm.ws.runtime.WsServerImpl.main(WsServerImpl.java:461)
	at com.ibm.ws.runtime.WsServer.main(WsServer.java:59)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:615)
	at com.ibm.wsspi.bootstrap.WSLauncher.launchMain(WSLauncher.java:183)
	at com.ibm.wsspi.bootstrap.WSLauncher.main(WSLauncher.java:90)
	at com.ibm.wsspi.bootstrap.WSLauncher.run(WSLauncher.java:72)
	at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:615)
	at org.eclipse.core.launcher.Main.invokeFramework(Main.java:340)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:282)
	at org.eclipse.core.launcher.Main.run(Main.java:981)
	at com.ibm.wsspi.bootstrap.WSPreLauncher.launchEclipse(WSPreLauncher.java:339)
	at com.ibm.wsspi.bootstrap.WSPreLauncher.main(WSPreLauncher.java:94)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:615)
	at com.citigroup.cdcla.eclipse.launch.ServerLauncher.run(ServerLauncher.java:130)
	at com.citigroup.cdcla.eclipse.launch.ServerLauncher.main(ServerLauncher.java:189)
Caused by: com.ibm.ws.exception.RuntimeError: org.omg.CORBA.INTERNAL: CREATE_LISTENER_FAILED_4  vmcid: 0x49421000  minor code: 56  completed: No
	at com.ibm.ws.runtime.component.ORBImpl.start(ORBImpl.java:424)
	at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:977)
	at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:673)
	at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:526)
	at com.ibm.ws.runtime.WsServerImpl.bootServerContainer(WsServerImpl.java:192)
	... 30 more
Caused by: org.omg.CORBA.INTERNAL: CREATE_LISTENER_FAILED_4  vmcid: 0x49421000  minor code: 56  completed: No
	at com.ibm.ws.orbimpl.transport.WSTransport.createListener(WSTransport.java:859)
	at com.ibm.ws.orbimpl.transport.WSTransport.initTransports(WSTransport.java:597)
	at com.ibm.rmi.iiop.TransportManager.initTransports(TransportManager.java:155)
	at com.ibm.rmi.corba.ORB.set_parameters(ORB.java:1212)
	at com.ibm.CORBA.iiop.ORB.set_parameters(ORB.java:1662)
	at org.omg.CORBA.ORB.init(ORB.java:364)
	at com.ibm.ws.orb.GlobalORBFactory.init(GlobalORBFactory.java:86)
	at com.ibm.ejs.oa.EJSORBImpl.initializeORB(EJSORBImpl.java:179)
	at com.ibm.ejs.oa.EJSServerORBImpl.(EJSServerORBImpl.java:102)
	at com.ibm.ejs.oa.EJSORB.init(EJSORB.java:55)
	at com.ibm.ws.runtime.component.ORBImpl.start(ORBImpl.java:417)
	... 34 more</description>
		<content:encoded><![CDATA[<p>Iam getting an error during server start up: CREATE_LISTENER_FAILED_4  vmcid: 0&#215;49421000<br />
com.ibm.ws.exception.RuntimeError: com.ibm.ws.exception.RuntimeError: org.omg.CORBA.INTERNAL: CREATE_LISTENER_FAILED_4  vmcid: 0&#215;49421000  minor code: 56  completed: No<br />
[12/19/11 12:17:30:294 IST] 0000000a WsServerImpl  E   WSVR0009E: Error occurred during startup<br />
META-INF/ws-server-components.xml<br />
[12/19/11 12:17:30:309 IST] 0000000a WsServerImpl  E   WSVR0009E: Error occurred during startup<br />
com.ibm.ws.exception.RuntimeError: com.ibm.ws.exception.RuntimeError: org.omg.CORBA.INTERNAL: CREATE_LISTENER_FAILED_4  vmcid: 0&#215;49421000  minor code: 56  completed: No<br />
	at com.ibm.ws.runtime.WsServerImpl.bootServerContainer(WsServerImpl.java:199)<br />
	at com.ibm.ws.runtime.WsServerImpl.start(WsServerImpl.java:140)<br />
	at com.ibm.ws.runtime.WsServerImpl.main(WsServerImpl.java:461)<br />
	at com.ibm.ws.runtime.WsServer.main(WsServer.java:59)<br />
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br />
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)<br />
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br />
	at java.lang.reflect.Method.invoke(Method.java:615)<br />
	at com.ibm.wsspi.bootstrap.WSLauncher.launchMain(WSLauncher.java:183)<br />
	at com.ibm.wsspi.bootstrap.WSLauncher.main(WSLauncher.java:90)<br />
	at com.ibm.wsspi.bootstrap.WSLauncher.run(WSLauncher.java:72)<br />
	at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)<br />
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)<br />
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)<br />
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)<br />
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)<br />
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br />
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)<br />
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br />
	at java.lang.reflect.Method.invoke(Method.java:615)<br />
	at org.eclipse.core.launcher.Main.invokeFramework(Main.java:340)<br />
	at org.eclipse.core.launcher.Main.basicRun(Main.java:282)<br />
	at org.eclipse.core.launcher.Main.run(Main.java:981)<br />
	at com.ibm.wsspi.bootstrap.WSPreLauncher.launchEclipse(WSPreLauncher.java:339)<br />
	at com.ibm.wsspi.bootstrap.WSPreLauncher.main(WSPreLauncher.java:94)<br />
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br />
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)<br />
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br />
	at java.lang.reflect.Method.invoke(Method.java:615)<br />
	at com.citigroup.cdcla.eclipse.launch.ServerLauncher.run(ServerLauncher.java:130)<br />
	at com.citigroup.cdcla.eclipse.launch.ServerLauncher.main(ServerLauncher.java:189)<br />
Caused by: com.ibm.ws.exception.RuntimeError: org.omg.CORBA.INTERNAL: CREATE_LISTENER_FAILED_4  vmcid: 0&#215;49421000  minor code: 56  completed: No<br />
	at com.ibm.ws.runtime.component.ORBImpl.start(ORBImpl.java:424)<br />
	at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:977)<br />
	at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:673)<br />
	at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:526)<br />
	at com.ibm.ws.runtime.WsServerImpl.bootServerContainer(WsServerImpl.java:192)<br />
	&#8230; 30 more<br />
Caused by: org.omg.CORBA.INTERNAL: CREATE_LISTENER_FAILED_4  vmcid: 0&#215;49421000  minor code: 56  completed: No<br />
	at com.ibm.ws.orbimpl.transport.WSTransport.createListener(WSTransport.java:859)<br />
	at com.ibm.ws.orbimpl.transport.WSTransport.initTransports(WSTransport.java:597)<br />
	at com.ibm.rmi.iiop.TransportManager.initTransports(TransportManager.java:155)<br />
	at com.ibm.rmi.corba.ORB.set_parameters(ORB.java:1212)<br />
	at com.ibm.CORBA.iiop.ORB.set_parameters(ORB.java:1662)<br />
	at org.omg.CORBA.ORB.init(ORB.java:364)<br />
	at com.ibm.ws.orb.GlobalORBFactory.init(GlobalORBFactory.java:86)<br />
	at com.ibm.ejs.oa.EJSORBImpl.initializeORB(EJSORBImpl.java:179)<br />
	at com.ibm.ejs.oa.EJSServerORBImpl.(EJSServerORBImpl.java:102)<br />
	at com.ibm.ejs.oa.EJSORB.init(EJSORB.java:55)<br />
	at com.ibm.ws.runtime.component.ORBImpl.start(ORBImpl.java:417)<br />
	&#8230; 34 more</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JavaDev</title>
		<link>http://raulraja.com/2009/06/25/spring-exposing-a-bean-as-rest-xml-json-and-soap-webservice/comment-page-2/#comment-515</link>
		<dc:creator>JavaDev</dc:creator>
		<pubDate>Sat, 19 May 2012 15:08:00 +0000</pubDate>
		<guid isPermaLink="false">http://raulraja.com/?p=248#comment-515</guid>
		<description>Thanks Raja that helps for basic understanding, may post more questions down the line.</description>
		<content:encoded><![CDATA[<p>Thanks Raja that helps for basic understanding, may post more questions down the line.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raul Raja</title>
		<link>http://raulraja.com/2009/06/25/spring-exposing-a-bean-as-rest-xml-json-and-soap-webservice/comment-page-2/#comment-514</link>
		<dc:creator>Raul Raja</dc:creator>
		<pubDate>Sat, 19 May 2012 22:54:00 +0000</pubDate>
		<guid isPermaLink="false">http://raulraja.com/?p=248#comment-514</guid>
		<description>@JavaDev REST is not a framework but a style of consuming and exposing WebServices. http://en.wikipedia.org/wiki/Representational_state_transfer
CXF is just a project that aids in building web services. There are multiple other projects and framework for building web services. The fact that a service returns XML or JSON has nothing to do with REST. REST services can also return XML even though they are most commonly found in JSON format. Legacy services usually are found as SOAP services http://en.wikipedia.org/wiki/SOAP
REST style services such as the one shown in this article can use SOAP and still be consider REST. Unfortunately REST, SOAP, JSON, ... have become buzz words that non developer roles (sales, project managers...) in this industry misuse and butcher or just simply confuse. My advice is that you choose the right solution for the problem you&#039;re trying to solve, and shy away from turning your legacy WS to a REST style just for the sake of it.</description>
		<content:encoded><![CDATA[<p>@JavaDev REST is not a framework but a style of consuming and exposing WebServices. <a href="http://en.wikipedia.org/wiki/Representational_state_transfer" rel="nofollow">http://en.wikipedia.org/wiki/Representational_state_transfer</a><br />
CXF is just a project that aids in building web services. There are multiple other projects and framework for building web services. The fact that a service returns XML or JSON has nothing to do with REST. REST services can also return XML even though they are most commonly found in JSON format. Legacy services usually are found as SOAP services <a href="http://en.wikipedia.org/wiki/SOAP" rel="nofollow">http://en.wikipedia.org/wiki/SOAP</a><br />
REST style services such as the one shown in this article can use SOAP and still be consider REST. Unfortunately REST, SOAP, JSON, &#8230; have become buzz words that non developer roles (sales, project managers&#8230;) in this industry misuse and butcher or just simply confuse. My advice is that you choose the right solution for the problem you&#8217;re trying to solve, and shy away from turning your legacy WS to a REST style just for the sake of it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JavaDev</title>
		<link>http://raulraja.com/2009/06/25/spring-exposing-a-bean-as-rest-xml-json-and-soap-webservice/comment-page-2/#comment-513</link>
		<dc:creator>JavaDev</dc:creator>
		<pubDate>Sat, 19 May 2012 22:08:00 +0000</pubDate>
		<guid isPermaLink="false">http://raulraja.com/?p=248#comment-513</guid>
		<description>I am new to webservice world. The requirement of project is to use REST framework in order to expose Legacy services as web services. I am confused about &#039;REST with cxf&#039; OR simply &#039;REST&#039; will do the work for me. Also existing legacy services return response in XML format but we want these new webservices to return JSON . Kindly guide and assist.</description>
		<content:encoded><![CDATA[<p>I am new to webservice world. The requirement of project is to use REST framework in order to expose Legacy services as web services. I am confused about &#8216;REST with cxf&#8217; OR simply &#8216;REST&#8217; will do the work for me. Also existing legacy services return response in XML format but we want these new webservices to return JSON . Kindly guide and assist.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raul Raja</title>
		<link>http://raulraja.com/2009/06/25/spring-exposing-a-bean-as-rest-xml-json-and-soap-webservice/comment-page-2/#comment-512</link>
		<dc:creator>Raul Raja</dc:creator>
		<pubDate>Sat, 19 May 2012 16:55:00 +0000</pubDate>
		<guid isPermaLink="false">http://raulraja.com/?p=248#comment-512</guid>
		<description>@Shamana Also make sure that all methods that are being proxied are declared on a interface. Depending on your spring config you may be using JDK dynamic proxies or cglib class based proxies. Your AOP auto proxy config may also affect this and I&#039;ve seen similar exceptions in the past similar to yours due to lack of interfaces or use/lack of use of Spring AOP&#039; autoproxying capabilities.</description>
		<content:encoded><![CDATA[<p>@Shamana Also make sure that all methods that are being proxied are declared on a interface. Depending on your spring config you may be using JDK dynamic proxies or cglib class based proxies. Your AOP auto proxy config may also affect this and I&#8217;ve seen similar exceptions in the past similar to yours due to lack of interfaces or use/lack of use of Spring AOP&#8217; autoproxying capabilities.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shamama</title>
		<link>http://raulraja.com/2009/06/25/spring-exposing-a-bean-as-rest-xml-json-and-soap-webservice/comment-page-2/#comment-511</link>
		<dc:creator>Shamama</dc:creator>
		<pubDate>Sat, 19 May 2012 02:17:00 +0000</pubDate>
		<guid isPermaLink="false">http://raulraja.com/?p=248#comment-511</guid>
		<description>Thanks Raul, all that looks good to me, upgraded JDK to 6 now and atleast I am not getting this proxy error.
But I have! to use JDK1.5.10, I will try to upgrade cxf to 2.4.3 with JDK1.5.10 and try again.</description>
		<content:encoded><![CDATA[<p>Thanks Raul, all that looks good to me, upgraded JDK to 6 now and atleast I am not getting this proxy error.<br />
But I have! to use JDK1.5.10, I will try to upgrade cxf to 2.4.3 with JDK1.5.10 and try again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raul Raja</title>
		<link>http://raulraja.com/2009/06/25/spring-exposing-a-bean-as-rest-xml-json-and-soap-webservice/comment-page-2/#comment-510</link>
		<dc:creator>Raul Raja</dc:creator>
		<pubDate>Sat, 19 May 2012 09:21:00 +0000</pubDate>
		<guid isPermaLink="false">http://raulraja.com/?p=248#comment-510</guid>
		<description>@Shamama, looks like your exception is unrelated. Maybe you are referencing &#039;fulfillPAYGMultim&#039; as a bean dependency but you don&#039;t have a bean with that name. Double check your id references are correct.</description>
		<content:encoded><![CDATA[<p>@Shamama, looks like your exception is unrelated. Maybe you are referencing &#8216;fulfillPAYGMultim&#8217; as a bean dependency but you don&#8217;t have a bean with that name. Double check your id references are correct.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

