<?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 3 RESTful Web Services</title>
	<atom:link href="http://eggsylife.co.uk/2010/01/03/spring-3-restful-web-services/feed/" rel="self" type="application/rss+xml" />
	<link>http://eggsylife.co.uk/2010/01/03/spring-3-restful-web-services/</link>
	<description>Eggsylife</description>
	<lastBuildDate>Mon, 30 Jan 2012 00:48:29 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: admin</title>
		<link>http://eggsylife.co.uk/2010/01/03/spring-3-restful-web-services/comment-page-1/#comment-329</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Wed, 04 Jan 2012 23:35:05 +0000</pubDate>
		<guid isPermaLink="false">http://eggsylife.co.uk/?p=204#comment-329</guid>
		<description>Hi there

Assuming you are using Restful URL&#039;s in that the URL identified a particular resource which users have/haven&#039;t got access to I would look into Spring Security and in particular the Spring ACL framework.

This allows use to restrict access based upon the item being accessed. For example you might have a system where users belong to accounts and you wish that they can only access URL&#039;s for their accounts. Spring ACL would be able to address this.

James</description>
		<content:encoded><![CDATA[<p>Hi there</p>
<p>Assuming you are using Restful URL&#8217;s in that the URL identified a particular resource which users have/haven&#8217;t got access to I would look into Spring Security and in particular the Spring ACL framework.</p>
<p>This allows use to restrict access based upon the item being accessed. For example you might have a system where users belong to accounts and you wish that they can only access URL&#8217;s for their accounts. Spring ACL would be able to address this.</p>
<p>James</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ellipsis</title>
		<link>http://eggsylife.co.uk/2010/01/03/spring-3-restful-web-services/comment-page-1/#comment-328</link>
		<dc:creator>Ellipsis</dc:creator>
		<pubDate>Mon, 02 Jan 2012 21:20:19 +0000</pubDate>
		<guid isPermaLink="false">http://eggsylife.co.uk/?p=204#comment-328</guid>
		<description>How would you suggest to secure services? I was thinking to use basic http auth on SSL, but I am not much familiar with Spring Architecture. Any suggestions?</description>
		<content:encoded><![CDATA[<p>How would you suggest to secure services? I was thinking to use basic http auth on SSL, but I am not much familiar with Spring Architecture. Any suggestions?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://eggsylife.co.uk/2010/01/03/spring-3-restful-web-services/comment-page-1/#comment-322</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 06 Oct 2011 18:49:04 +0000</pubDate>
		<guid isPermaLink="false">http://eggsylife.co.uk/?p=204#comment-322</guid>
		<description>Hi thanks for the comment but what are you intended to show by post an error stack trace??</description>
		<content:encoded><![CDATA[<p>Hi thanks for the comment but what are you intended to show by post an error stack trace??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ramesh</title>
		<link>http://eggsylife.co.uk/2010/01/03/spring-3-restful-web-services/comment-page-1/#comment-321</link>
		<dc:creator>Ramesh</dc:creator>
		<pubDate>Tue, 04 Oct 2011 15:49:29 +0000</pubDate>
		<guid isPermaLink="false">http://eggsylife.co.uk/?p=204#comment-321</guid>
		<description>[10/4/11 11:42:24:796 EDT] 0000002a DispatcherSer E org.springframework.web.servlet.FrameworkServlet initServletBean Context initialization failed
                                 org.springframework.beans.factory.BeanCreationException: Error creating bean with name &#039;studentsView&#039; defined in ServletContext resource [/WEB-INF/student-servlet.xml]: Cannot resolve reference to bean &#039;jaxbMarshaller&#039; while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name &#039;jaxbMarshaller&#039; defined in ServletContext resource [/WEB-INF/student-servlet.xml]: Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type &#039;java.util.ArrayList&#039; to required type &#039;java.lang.Class[]&#039; for property &#039;classesToBeBound&#039;; nested exception is java.lang.IllegalArgumentException: Error loading class [datasource.Classroom]: problem with class file or dependent class.
	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
	at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:600)
	at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:140)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:984)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:886)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:479)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:189)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:557)
	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:842)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:416)
	at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:443)
	at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:459)
	at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:340)
	at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:307)
	at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:127)
	at javax.servlet.GenericServlet.init(GenericServlet.java:256)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:235)
	at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.init(ServletWrapper.java:342)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.initialize(ServletWrapper.java:1375)
	at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.initialize(ServletWrapper.java:175)
	at com.ibm.wsspi.webcontainer.extension.WebExtensionProcessor.createServletWrapper(WebExtensionProcessor.java:99)
	at com.ibm.ws.webcontainer.webapp.WebApp.getServletWrapper(WebApp.java:910)
	at com.ibm.ws.webcontainer.webapp.WebApp.getServletWrapper(WebApp.java:832)
	at com.ibm.ws.webcontainer.webapp.WebApp.initializeTargetMappings(WebApp.java:550)
	at com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:387)
	at com.ibm.ws.wswebcontainer.webapp.WebApp.initialize(WebApp.java:293)
	at com.ibm.ws.wswebcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:93)
	at com.ibm.ws.wswebcontainer.VirtualHost.addWebApplication(VirtualHost.java:162)
	at com.ibm.ws.wswebcontainer.WebContainer.addWebApp(WebContainer.java:673)
	at com.ibm.ws.wswebcontainer.WebContainer.addWebApplication(WebContainer.java:626)
	at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:335)
	at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:551)
	at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1274)
	at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1137)
	at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:573)
	at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:816)
	at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:945)
	at com.ibm.ws.runtime.component.ApplicationMgrImpl$1.run(ApplicationMgrImpl.java:1461)
	at com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:4251)
	at com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:4348)
	at com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:245)
	at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:1466)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:618)
	at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:68)
	at sun.reflect.GeneratedMethodAccessor33.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:618)
	at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:271)
	at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1092)
	at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:973)
	at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:231)
	at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:238)
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:833)
	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:802)
	at com.ibm.ws.management.AdminServiceImpl$1.run(AdminServiceImpl.java:1139)
	at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)
	at com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java:1032)
	at com.ibm.ws.management.commands.AdminServiceCommands$InvokeCmd.execute(AdminServiceCommands.java:251)
	at com.ibm.ws.console.core.mbean.MBeanHelper.invoke(MBeanHelper.java:239)
	at com.ibm.ws.console.appdeployment.ApplicationDeploymentCollectionAction.execute(ApplicationDeploymentCollectionAction.java:544)
	at org.apache.struts.action.RequestProcessor.processActionPerform(Unknown Source)
	at org.apache.struts.action.RequestProcessor.process(Unknown Source)
	at org.apache.struts.action.ActionServlet.process(Unknown Source)
	at org.apache.struts.action.ActionServlet.doPost(Unknown Source)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1213)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1154)
	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:118)
	at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:848)
	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:691)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:654)
	at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:526)
	at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:325)
	at org.apache.struts.action.RequestProcessor.doForward(Unknown Source)
	at org.apache.struts.tiles.TilesRequestProcessor.doForward(Unknown Source)
	at org.apache.struts.action.RequestProcessor.processForwardConfig(Unknown Source)
	at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(Unknown Source)
	at com.ibm.isclite.container.controller.InformationController.processForwardConfig(InformationController.java:214)
	at org.apache.struts.action.RequestProcessor.process(Unknown Source)
	at org.apache.struts.action.ActionServlet.process(Unknown Source)
	at org.apache.struts.action.ActionServlet.doPost(Unknown Source)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1213)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1154)
	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
	at com.ibm.ws.console.core.servlet.WSCUrlFilter.setUpCommandAssistence(WSCUrlFilter.java:792)
	at com.ibm.ws.console.core.servlet.WSCUrlFilter.continueStoringTaskState(WSCUrlFilter.java:363)
	at com.ibm.ws.console.core.servlet.WSCUrlFilter.doFilter(WSCUrlFilter.java:229)
	at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
	at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:848)
	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:691)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:654)
	at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:526)
	at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
	at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:764)
	at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1478)
	at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:133)
	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:457)
	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:515)
	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:300)
	at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
	at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1830)
	at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
	at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
	at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
	at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
	at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:196)
	at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:751)
	at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)
	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1551)</description>
		<content:encoded><![CDATA[<p>[10/4/11 11:42:24:796 EDT] 0000002a DispatcherSer E org.springframework.web.servlet.FrameworkServlet initServletBean Context initialization failed<br />
                                 org.springframework.beans.factory.BeanCreationException: Error creating bean with name &#8216;studentsView&#8217; defined in ServletContext resource [/WEB-INF/student-servlet.xml]: Cannot resolve reference to bean &#8216;jaxbMarshaller&#8217; while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name &#8216;jaxbMarshaller&#8217; defined in ServletContext resource [/WEB-INF/student-servlet.xml]: Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type &#8216;java.util.ArrayList&#8217; to required type &#8216;java.lang.Class[]&#8216; for property &#8216;classesToBeBound&#8217;; nested exception is java.lang.IllegalArgumentException: Error loading class [datasource.Classroom]: problem with class file or dependent class.<br />
	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)<br />
	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)<br />
	at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:600)<br />
	at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:140)<br />
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:984)<br />
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:886)<br />
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:479)<br />
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)<br />
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)<br />
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)<br />
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)<br />
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:189)<br />
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:557)<br />
	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:842)<br />
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:416)<br />
	at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:443)<br />
	at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:459)<br />
	at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:340)<br />
	at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:307)<br />
	at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:127)<br />
	at javax.servlet.GenericServlet.init(GenericServlet.java:256)<br />
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:235)<br />
	at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.init(ServletWrapper.java:342)<br />
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.initialize(ServletWrapper.java:1375)<br />
	at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.initialize(ServletWrapper.java:175)<br />
	at com.ibm.wsspi.webcontainer.extension.WebExtensionProcessor.createServletWrapper(WebExtensionProcessor.java:99)<br />
	at com.ibm.ws.webcontainer.webapp.WebApp.getServletWrapper(WebApp.java:910)<br />
	at com.ibm.ws.webcontainer.webapp.WebApp.getServletWrapper(WebApp.java:832)<br />
	at com.ibm.ws.webcontainer.webapp.WebApp.initializeTargetMappings(WebApp.java:550)<br />
	at com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:387)<br />
	at com.ibm.ws.wswebcontainer.webapp.WebApp.initialize(WebApp.java:293)<br />
	at com.ibm.ws.wswebcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:93)<br />
	at com.ibm.ws.wswebcontainer.VirtualHost.addWebApplication(VirtualHost.java:162)<br />
	at com.ibm.ws.wswebcontainer.WebContainer.addWebApp(WebContainer.java:673)<br />
	at com.ibm.ws.wswebcontainer.WebContainer.addWebApplication(WebContainer.java:626)<br />
	at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:335)<br />
	at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:551)<br />
	at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1274)<br />
	at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1137)<br />
	at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:573)<br />
	at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:816)<br />
	at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:945)<br />
	at com.ibm.ws.runtime.component.ApplicationMgrImpl$1.run(ApplicationMgrImpl.java:1461)<br />
	at com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:4251)<br />
	at com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:4348)<br />
	at com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:245)<br />
	at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:1466)<br />
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br />
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)<br />
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br />
	at java.lang.reflect.Method.invoke(Method.java:618)<br />
	at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:68)<br />
	at sun.reflect.GeneratedMethodAccessor33.invoke(Unknown Source)<br />
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br />
	at java.lang.reflect.Method.invoke(Method.java:618)<br />
	at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:271)<br />
	at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1092)<br />
	at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:973)<br />
	at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:231)<br />
	at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:238)<br />
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:833)<br />
	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:802)<br />
	at com.ibm.ws.management.AdminServiceImpl$1.run(AdminServiceImpl.java:1139)<br />
	at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)<br />
	at com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java:1032)<br />
	at com.ibm.ws.management.commands.AdminServiceCommands$InvokeCmd.execute(AdminServiceCommands.java:251)<br />
	at com.ibm.ws.console.core.mbean.MBeanHelper.invoke(MBeanHelper.java:239)<br />
	at com.ibm.ws.console.appdeployment.ApplicationDeploymentCollectionAction.execute(ApplicationDeploymentCollectionAction.java:544)<br />
	at org.apache.struts.action.RequestProcessor.processActionPerform(Unknown Source)<br />
	at org.apache.struts.action.RequestProcessor.process(Unknown Source)<br />
	at org.apache.struts.action.ActionServlet.process(Unknown Source)<br />
	at org.apache.struts.action.ActionServlet.doPost(Unknown Source)<br />
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)<br />
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)<br />
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1213)<br />
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1154)<br />
	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:118)<br />
	at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)<br />
	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:848)<br />
	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:691)<br />
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:654)<br />
	at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:526)<br />
	at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:325)<br />
	at org.apache.struts.action.RequestProcessor.doForward(Unknown Source)<br />
	at org.apache.struts.tiles.TilesRequestProcessor.doForward(Unknown Source)<br />
	at org.apache.struts.action.RequestProcessor.processForwardConfig(Unknown Source)<br />
	at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(Unknown Source)<br />
	at com.ibm.isclite.container.controller.InformationController.processForwardConfig(InformationController.java:214)<br />
	at org.apache.struts.action.RequestProcessor.process(Unknown Source)<br />
	at org.apache.struts.action.ActionServlet.process(Unknown Source)<br />
	at org.apache.struts.action.ActionServlet.doPost(Unknown Source)<br />
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)<br />
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)<br />
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1213)<br />
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1154)<br />
	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)<br />
	at com.ibm.ws.console.core.servlet.WSCUrlFilter.setUpCommandAssistence(WSCUrlFilter.java:792)<br />
	at com.ibm.ws.console.core.servlet.WSCUrlFilter.continueStoringTaskState(WSCUrlFilter.java:363)<br />
	at com.ibm.ws.console.core.servlet.WSCUrlFilter.doFilter(WSCUrlFilter.java:229)<br />
	at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)<br />
	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)<br />
	at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)<br />
	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:848)<br />
	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:691)<br />
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:654)<br />
	at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:526)<br />
	at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)<br />
	at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:764)<br />
	at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1478)<br />
	at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:133)<br />
	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:457)<br />
	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:515)<br />
	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:300)<br />
	at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)<br />
	at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1830)<br />
	at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)<br />
	at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)<br />
	at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)<br />
	at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)<br />
	at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:196)<br />
	at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:751)<br />
	at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)<br />
	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1551)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://eggsylife.co.uk/2010/01/03/spring-3-restful-web-services/comment-page-1/#comment-89</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Mon, 22 Feb 2010 13:28:35 +0000</pubDate>
		<guid isPermaLink="false">http://eggsylife.co.uk/?p=204#comment-89</guid>
		<description>@Stephen

In that case you could simply write to the response stream and set the response type like so:

&lt;pre lang=&quot;Java&quot;&gt;
@RequestMapping(method=RequestMethod.GET)
public void myControllerMethod( HttpServletResponse response) {
PrintWriter out = response.getWriter();
out.println(yourXMLHere);
response.setContentType(&quot;application/xml&quot;);
out.close();
}
&lt;/pre&gt;

The HttpServletResponse object is another parameter Spring request mapped methods can use within their signature.

Would that help?

Eggsy</description>
		<content:encoded><![CDATA[<p>@Stephen</p>
<p>In that case you could simply write to the response stream and set the response type like so:</p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;">@RequestMapping<span style="color: #009900;">&#40;</span>method<span style="color: #339933;">=</span>RequestMethod.<span style="color: #006633;">GET</span><span style="color: #009900;">&#41;</span>
<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000066; font-weight: bold;">void</span> myControllerMethod<span style="color: #009900;">&#40;</span> HttpServletResponse response<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
<span style="color: #003399;">PrintWriter</span> out <span style="color: #339933;">=</span> response.<span style="color: #006633;">getWriter</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
out.<span style="color: #006633;">println</span><span style="color: #009900;">&#40;</span>yourXMLHere<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
response.<span style="color: #006633;">setContentType</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;application/xml&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
out.<span style="color: #006633;">close</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>The HttpServletResponse object is another parameter Spring request mapped methods can use within their signature.</p>
<p>Would that help?</p>
<p>Eggsy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephen Lang</title>
		<link>http://eggsylife.co.uk/2010/01/03/spring-3-restful-web-services/comment-page-1/#comment-86</link>
		<dc:creator>Stephen Lang</dc:creator>
		<pubDate>Fri, 19 Feb 2010 21:23:09 +0000</pubDate>
		<guid isPermaLink="false">http://eggsylife.co.uk/?p=204#comment-86</guid>
		<description>Yes, the requirement is to Post/Put xml to the controller and return xml as the response body. The StringHttpMessageConverter would work fine to extract the posted xml. Then I just need to return a simple xml back in the response body that is where I am stuck. I do not need the Jaxb2Marshaller because I do not have an object unmarshall.</description>
		<content:encoded><![CDATA[<p>Yes, the requirement is to Post/Put xml to the controller and return xml as the response body. The StringHttpMessageConverter would work fine to extract the posted xml. Then I just need to return a simple xml back in the response body that is where I am stuck. I do not need the Jaxb2Marshaller because I do not have an object unmarshall.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://eggsylife.co.uk/2010/01/03/spring-3-restful-web-services/comment-page-1/#comment-85</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Fri, 19 Feb 2010 09:28:26 +0000</pubDate>
		<guid isPermaLink="false">http://eggsylife.co.uk/?p=204#comment-85</guid>
		<description>Hi Stephen,

Is your requirement to Post/Put XML to a Spring controller?

If so Spring providers Message converters:

&lt;a href=&quot;http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/remoting.html#rest-message-conversion&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;Message Conversion&lt;/a&gt;

Eggsy</description>
		<content:encoded><![CDATA[<p>Hi Stephen,</p>
<p>Is your requirement to Post/Put XML to a Spring controller?</p>
<p>If so Spring providers Message converters:</p>
<p><a href="http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/remoting.html#rest-message-conversion" target="_blank" rel="nofollow">Message Conversion</a></p>
<p>Eggsy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephen Lang</title>
		<link>http://eggsylife.co.uk/2010/01/03/spring-3-restful-web-services/comment-page-1/#comment-84</link>
		<dc:creator>Stephen Lang</dc:creator>
		<pubDate>Fri, 19 Feb 2010 00:25:10 +0000</pubDate>
		<guid isPermaLink="false">http://eggsylife.co.uk/?p=204#comment-84</guid>
		<description>This is so very cool. Works like a charm. Same url can serve both html/text and xml/text. 
Question if I have a service which generates xml already, what viewResolver I should use instead of the MarshallingView?</description>
		<content:encoded><![CDATA[<p>This is so very cool. Works like a charm. Same url can serve both html/text and xml/text.<br />
Question if I have a service which generates xml already, what viewResolver I should use instead of the MarshallingView?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Java Spring 3 RESTful Web Service &#171; MINSIKZZANG IN PARIS</title>
		<link>http://eggsylife.co.uk/2010/01/03/spring-3-restful-web-services/comment-page-1/#comment-57</link>
		<dc:creator>Java Spring 3 RESTful Web Service &#171; MINSIKZZANG IN PARIS</dc:creator>
		<pubDate>Tue, 19 Jan 2010 07:00:38 +0000</pubDate>
		<guid isPermaLink="false">http://eggsylife.co.uk/?p=204#comment-57</guid>
		<description>[...] http://eggsylife.co.uk/2010/01/03/spring-3-restful-web-services/ [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://eggsylife.co.uk/2010/01/03/spring-3-restful-web-services/" rel="nofollow">http://eggsylife.co.uk/2010/01/03/spring-3-restful-web-services/</a> [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

