I used the Release Candidate 2 for Spring-code 3.0 and release 1.5.8 for Spring-ws and Spring-oxm
On Sep 8, 5:05 pm, Shweta Deshpande <[email protected]> wrote: > Hi tetsujin, > > Thanks for your reply. I changed to an earlier version of Spring (2.5.6, to > be precise), and version 1.5.1 for spring-ws. There is some change - earlier > I used to get a 500 Internal Server Error for HTTP POST in the SOAP > response, now I am getting 200 OK. But the contents are still empty, and I > can still see the same exception logged on the server as below. > > Which versions did you use when it worked for you? > > Thanks, > Shweta > > On Wed, Sep 8, 2010 at 5:27 AM, tetsujin1979 <[email protected]> wrote: > > I'm having the same problem, but I've noticed that the service > > function is called and processed before the exception is thrown > > it appears that the exception is in the marshal stage of the SOAP > > call, i.e. when the return value is wrapped in an xml message > > > I followed the same article a few months ago and it worked fine with > > an older version of Spring, maybe try running the service with an > > older set of the jar files? > > > On Sep 7, 7:45 pm, Shweta Deshpande <[email protected]> wrote: > > > Can anyone please help? > > > > On Wed, Sep 1, 2010 at 2:16 PM, Shweta Deshpande <[email protected] > > >wrote: > > > > > Hello, > > > > > I am trying to build a SOAP web service using Spring and deploy it on > > > > App Engine. I followed the instructions in an article to build it. > > > > Since there is no support for javax.xml.soap, I used > > > > AxiomSoapMessageFactory, and also turned payloadCaching to false. When > > > > I run the service and send a SOAP request (through soapUI), an > > > > exception gets logged on the server, which is as follows: > > > > > java.security.AccessControlException: access denied > > > > (java.lang.RuntimePermission getClassLoader) > > > > at > > > com.google.appengine.runtime.Request.process-8fc4664f5661bc5b(Request.java) > > > > at > > > java.security.AccessControlContext.checkPermission(AccessControlContext.java: > > > > 355) > > > > at > > > > java.security.AccessController.checkPermission(AccessController.java: > > > > 567) > > > > at > > java.lang.SecurityManager.checkPermission(SecurityManager.java: > > > > 549) > > > > at > > java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:1311) > > > > at > > > org.apache.axiom.util.stax.dialect.StAXDialectDetector.getRootUrlForResource(StAXDialectDetector.java: > > > > 89) > > > > at > > > org.apache.axiom.util.stax.dialect.StAXDialectDetector.getRootUrlForClass(StAXDialectDetector.java: > > > > 109) > > > > at > > > org.apache.axiom.util.stax.dialect.StAXDialectDetector.getDialect(StAXDialectDetector.java: > > > > 148) > > > > at org.apache.axiom.om.util.StAXUtils$8.run(StAXUtils.java:591) > > > > at > > > > java.security.AccessController.doPrivileged(AccessController.java: > > > > 34) > > > > at > > > > org.apache.axiom.om.util.StAXUtils.newXMLOutputFactory(StAXUtils.java: > > > > 571) > > > > at > > > org.apache.axiom.om.util.StAXUtils.getXMLOutputFactory_perClassLoader(StAXUtils.java: > > > > 621) > > > > at > > > > org.apache.axiom.om.util.StAXUtils.getXMLOutputFactory(StAXUtils.java: > > > > 277) > > > > at > > > org.apache.axiom.om.util.StAXUtils.createXMLStreamWriter(StAXUtils.java: > > > > 340) > > > > at > > > org.apache.axiom.om.impl.MTOMXMLStreamWriter.<init>(MTOMXMLStreamWriter.java: > > > > 122) > > > > at > > > org.apache.axiom.om.impl.llom.OMSerializableImpl.serializeAndConsume(OMSerializableImpl.java: > > > > 191) > > > > at > > > org.springframework.ws.soap.axiom.AxiomSoapMessage.writeTo(AxiomSoapMessage.java: > > > > 255) > > > > at > > > org.springframework.ws.transport.AbstractWebServiceConnection.send(AbstractWebServiceConnection.java: > > > > 42) > > > > at > > > org.springframework.ws.transport.support.WebServiceMessageReceiverObjectSupport.handleConnection(WebServiceMessageReceiverObjectSupport.java: > > > > 97) > > > > at > > > org.springframework.ws.transport.http.WebServiceMessageReceiverHandlerAdapter.handle(WebServiceMessageReceiverHandlerAdapter.java: > > > > 57) > > > > at > > > org.springframework.ws.transport.http.MessageDispatcherServlet.doService(MessageDispatcherServlet.java: > > > > 230) > > > > at > > > org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java: > > > > 636) > > > > at > > > org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java: > > > > 556) > > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:713) > > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:806) > > > > at > > > > org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java: > > > > 511) > > > > at org.mortbay.jetty.servlet.ServletHandler > > > > $CachedChain.doFilter(ServletHandler.java:1166) > > > > at > > > com.google.apphosting.utils.servlet.ParseBlobUploadFilter.doFilter(ParseBlobUploadFilter.java: > > > > 97) > > > > at org.mortbay.jetty.servlet.ServletHandler > > > > $CachedChain.doFilter(ServletHandler.java:1157) > > > > at > > > com.google.apphosting.runtime.jetty.SaveSessionFilter.doFilter(SaveSessionFilter.java: > > > > 35) > > > > at org.mortbay.jetty.servlet.ServletHandler > > > > $CachedChain.doFilter(ServletHandler.java:1157) > > > > at > > > com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java: > > > > 43) > > > > at org.mortbay.jetty.servlet.ServletHandler > > > > $CachedChain.doFilter(ServletHandler.java:1157) > > > > at > > > > org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java: > > > > 388) > > > > at > > > > org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java: > > > > 216) > > > > at > > > > org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java: > > > > 182) > > > > at > > > > org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java: > > > > 765) > > > > at > > org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java: > > > > 418) > > > > at > > > com.google.apphosting.runtime.jetty.AppVersionHandlerMap.handle(AppVersionHandlerMap.java: > > > > 238) > > > > at > > > > org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: > > > > 152) > > > > at org.mortbay.jetty.Server.handle(Server.java:326) > > > > at > > > > org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java: > > > > 542) > > > > at org.mortbay.jetty.HttpConnection > > > > $RequestHandler.headerComplete(HttpConnection.java:923) > > > > at > > > com.google.apphosting.runtime.jetty.RpcRequestParser.parseAvailable(RpcRequestParser.java: > > > > 76) > > > > at > > org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) > > > > at > > > com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest(JettyServletEngineAdapter.java: > > > > 135) > > > > at > > > com.google.apphosting.runtime.JavaRuntime.handleRequest(JavaRuntime.java: > > > > 251) > > > > at com.google.apphosting.base.RuntimePb$EvaluationRuntime > > > > $6.handleBlockingRequest(RuntimePb.java:6784) > > > > at com.google.apphosting.base.RuntimePb$EvaluationRuntime > > > > $6.handleBlockingRequest(RuntimePb.java:6782) > > > > at > > > com.google.net.rpc.impl.BlockingApplicationHandler.handleRequest(BlockingApplicationHandler.java: > > > > 24) > > > > at > > com.google.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java: > > > > 398) > > > > at com.google.net.rpc.impl.Server$2.run(Server.java:852) > > > > at > > > com.google.tracing.LocalTraceSpanRunnable.run(LocalTraceSpanRunnable.java: > > > > 56) > > > > at > > > com.google.tracing.LocalTraceSpanBuilder.internalContinueSpan(LocalTraceSpanBuilder.java: > > > > 576) > > > > at com.google.net.rpc.impl.Server.startRpc(Server.java:807) > > > > at > > com.google.net.rpc.impl.Server.processRequest(Server.java:369) > > > > at > > > com.google.net.rpc.impl.ServerConnection.messageReceived(ServerConnection.java: > > > > 442) > > > > at > > > > com.google.net.rpc.impl.RpcConnection.parseMessages(RpcConnection.java: > > > > 319) > > > > at > > > > com.google.net.rpc.impl.RpcConnection.dataReceived(RpcConnection.java: > > > > 290) > > > > at > > com.google.net.async.Connection.handleReadEvent(Connection.java: > > > > 474) > > > > at > > > com.google.net.async.EventDispatcher.processNetworkEvents(EventDispatcher.java: > > > > 831) > > > > at > > > > com.google.net.async.EventDispatcher.internalLoop(EventDispatcher.java: > > > > 207) > > > > at > > com.google.net.async.EventDispatcher.loop(EventDispatcher.java: > > > > 103) > > > > at > > > > com.google.net.rpc.RpcService.runUntilServerShutdown(RpcService.java: > > > > 251) > > > > at com.google.apphosting.runtime.JavaRuntime > > > > $RpcRunnable.run(JavaRuntime.java:418) > > > > at java.lang.Thread.run(Thread.java:636) > > > > > Any clues as to what is going wrong? > > > > > Thanks, > > > > Shweta > > > > > -- > > > > You received this message because you are subscribed to the Google > > Groups > > > > "Google App Engine for Java" group. > > > > To post to this group, send email to > > > > [email protected]. > > > > To unsubscribe from this group, send email to > > > > [email protected]<google-appengine-java%[email protected]> > > <google-appengine-java%2b[email protected]> > > > > . > > > > For more options, visit this group at > > > >http://groups.google.com/group/google-appengine-java?hl=en. > > > -- > > You received this message because you are subscribed to the Google Groups > > "Google App Engine for Java" group. > > To post to this group, send email to > > [email protected]. > > To unsubscribe from this group, send email to > > ... > > read more » -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
