Hello,
I have upgraded my project towards Spring 2.5.5 and Spring webservices 1.5.4 and castor 1.2.
I receive the following error when testing my webservice client:
Does somebody know what is causing this behaviour?Code:SEVERE: SAAJ0511: Unable to create envelope from given source 16-okt-2008 13:35:02 com.sun.xml.wss.impl.SecurableSoapMessage findSoapHeader SEVERE: WSS0369: Error getting SOAPHeader from SOAPEnvelope due to Unable to create envelope from given source: 13:35:02,698 WARN [XwsSecurityInterceptor] Could not validate request: com.sun.xml.wss.XWSSecurityException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from given source: ; nested exception is com.sun.xml.wss.XWSSecurityException: com.sun.xml.wss.XWSSecurityException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from given source: org.springframework.oxm.castor.CastorUnmarshallingFailureException: Castor unmarshalling exception: The class for the root element 'Fault' could not be found.; nested exception is org.exolab.castor.xml.MarshalException: The class for the root element 'Fault' could not be found. at org.springframework.oxm.castor.CastorUtils.convertXmlException(CastorUtils.java:50) at org.springframework.oxm.castor.CastorMarshaller.convertCastorException(CastorMarshaller.java:431) at org.springframework.oxm.castor.CastorMarshaller.unmarshalDomNode(CastorMarshaller.java:335) at org.springframework.oxm.AbstractMarshaller.unmarshalDomSource(AbstractMarshaller.java:292) at org.springframework.oxm.AbstractMarshaller.unmarshal(AbstractMarshaller.java:122) at org.springframework.ws.support.MarshallingUtils.unmarshal(MarshallingUtils.java:65) at org.springframework.ws.client.core.WebServiceTemplate$3.extractData(WebServiceTemplate.java:373) at org.springframework.ws.client.core.WebServiceTemplate.doSendAndReceive(WebServiceTemplate.java:559) at org.springframework.ws.client.core.WebServiceTemplate.sendAndReceive(WebServiceTemplate.java:501) at org.springframework.ws.client.core.WebServiceTemplate.marshalSendAndReceive(WebServiceTemplate.java:350) at org.springframework.ws.client.core.WebServiceTemplate.marshalSendAndReceive(WebServiceTemplate.java:344) at org.springframework.ws.client.core.WebServiceTemplate.marshalSendAndReceive(WebServiceTemplate.java:336) at be.ugent.doza.aandoct.webservice.service.phd.PhdServiceImpl.getPhdList(PhdServiceImpl.java:76) at be.ugent.doza.aandoct.midtier.service.phd.PhdServiceImpl.getGrantRequests(PhdServiceImpl.java:132) at be.ugent.doza.aandoct.midtier.service.phd.PhdServiceImpl.getGrantRequestsForMainPromotor(PhdServiceImpl.java:567) at be.ugent.doza.aandoct.view.handler.OverviewGrantRequestsHandler.retrieveGrantRequests(OverviewGrantRequestsHandler.java:197) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.sun.el.parser.AstValue.invoke(AstValue.java:151) at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283) at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68) at javax.faces.component._MethodExpressionToMethodBinding.invoke(_MethodExpressionToMethodBinding.java:78) at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:57) at javax.faces.component.UICommand.broadcast(UICommand.java:143) at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:321) at org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:296) at org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:253) at org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:466) at org.apache.myfaces.lifecycle.InvokeApplicationExecutor.execute(InvokeApplicationExecutor.java:32) at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:103) at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:76) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:151) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093) at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:19
Thank you
Jan


Reply With Quote
