Hi
I am experiencing a problem running the js_provider sample on AIX using JDK
1.6. The sample seems to work fine on other platforms that I tried.
Initally I was getting the following error
java.lang.NoClassDefFoundError:
com.sun.org.apache.xerces.internal.dom.DocumentImpl
but that was because the jaxp-ri-1.4.2.jar jar wasn't on my classpath. I added
the jar but now I'm getting the following error reported by the client. Does
anyone have any ideas what could be the issue?
Thanks
Eamonn
Throwable occurred: org.apache.cxf.binding.soap.SoapFault: Error reading
XMLStreamReader.
at
org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:230)
at
org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:60)
at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:243)
at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:672)
at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:2210)
at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:2087)
at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1985)
at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:66)
at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:640)
at
org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:243)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:484)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:310)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:262)
at org.apache.cxf.endpoint.ClientImpl.invokeWrapped(ClientImpl.java:297)
at org.apache.cxf.jaxws.DispatchImpl.invoke(DispatchImpl.java:257)
at org.apache.cxf.jaxws.DispatchImpl.invoke(DispatchImpl.java:195)
at demo.hwDispatch.client.Client.main(Client.java:85)
Caused by: javax.xml.stream.XMLStreamException:
http://www.w3.org/TR/1999/REC-xml-names-19990114#ElementPrefixUnbound?ns4&ns4:greetMeResponse
at
com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.next(XMLStreamReaderImpl.java:601)
at
org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:218)
... 17 more
Exception in thread "main" javax.xml.ws.soap.SOAPFaultException: Error reading
XMLStreamReader.
at org.apache.cxf.jaxws.DispatchImpl.mapException(DispatchImpl.java:235)
at org.apache.cxf.jaxws.DispatchImpl.invoke(DispatchImpl.java:264)
at org.apache.cxf.jaxws.DispatchImpl.invoke(DispatchImpl.java:195)
at demo.hwDispatch.client.Client.main(Client.java:85)
Caused by: org.apache.cxf.binding.soap.SoapFault: Error reading
XMLStreamReader.
at
org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:230)
at
org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:60)
at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:243)
at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:672)
at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:2210)
at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:2087)
at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1985)
at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:66)
at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:640)
at
org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:243)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:484)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:310)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:262)
at org.apache.cxf.endpoint.ClientImpl.invokeWrapped(ClientImpl.java:297)
at org.apache.cxf.jaxws.DispatchImpl.invoke(DispatchImpl.java:257)
... 2 more
Caused by: javax.xml.stream.XMLStreamException:
http://www.w3.org/TR/1999/REC-xml-names-19990114#ElementPrefixUnbound?ns4&ns4:greetMeResponse
at
com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.next(XMLStreamReaderImpl.java:601)
at
org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:218)
_________________________________________________________________
Hotmail: Trusted email with powerful SPAM protection.
https://signup.live.com/signup.aspx?id=60969