I had not the same but close to your issue, look at http://zavizionov.blogspot.com/2009/09/element-soapaddress-is-wrong-namespace.html
On Wed, May 27, 2009 at 5:28 PM, wangzz <[email protected]> wrote: > > Hi everyone > > I just deploy a webservice using anotations and spring to generate it, it > works fine for the wsdl generation, but when i try to consume the service > fault with this exception,but when I restart my server(tomcat6.0),the > webservice works well. > > access url is > "http://localhost:8080/lclmDataCollection/services/datacollection?wsdl" > > Caused by: org.apache.cxf.binding.soap.SoapFault: > "http://schemas.xmlsoap.org/wsdl/", the namespace on the "definitions" > element, is not a valid SOAP version. > at > > org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:95) > at > > org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:57) > at > > org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:236) > at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:641) > at > > org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:2134) > at > > org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:2013) > at > > org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1938) > at > org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:66) > at > org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:626) > at > > org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62) > at > > org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:236) > at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:469) > at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:299) > at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:251) > at > org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73) > at > org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:120) > > Is any idea ,Thank you. > -- > View this message in context: > http://www.nabble.com/org.apache.cxf.binding.soap.SoapFault%3A-%22http%3A--schemas.xmlsoap.org-wsdl-%22%2C-the-namespace-on-the-%22definitions%22-element%2C-is-not-a-valid-SOAP-version.-tp23743638p23743638.html > Sent from the cxf-user mailing list archive at Nabble.com. > >
