cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benson Margulies <bimargul...@gmail.com>
Subject Re: FW: [jira] Commented: (CXF-2189) When Sending https request,it occurs the error " Error reading XMLStreamReader"
Date Mon, 27 Apr 2009 10:09:30 GMT
No one is going to be able to help you unless you supply some more
information.

>From the looks of your message, you are using a CXF client to talk to some
server. What kind of server?

How are you configuring the client?

What  URL are you specifying for the server? Are you sure it's the right
URL?

Did you generate the client from a WSDL? Can you post the WSDL?


On Mon, Apr 27, 2009 at 5:27 AM, Kaka Dai <v-kdai@expedia.com> wrote:

>
>
> ________________________________________
> From: Benson Margulies (JIRA) [jira@apache.org]
> Sent: Sunday, April 26, 2009 3:33 PM
> To: Kaka Dai
> Subject: [jira] Commented: (CXF-2189) When Sending https request,it occurs
> the error " Error reading XMLStreamReader"
>
>    [
> https://issues.apache.org/jira/browse/CXF-2189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12702949#action_12702949]
>
> Benson Margulies commented on CXF-2189:
> ---------------------------------------
>
> The error indicates that the server is replying to the client with
> something that isn't an XML document at all; I'd guess it was an http error
> page.
>
> This belongs on users@cxf.apache.org, not in a JIRA. If you can post a
> repeatable test case, then the jira makes sense. Otherwise, why not send
> mail to the mailing list and explain what you are doing? What is the client?
> what is the server? How are they configured?
>
> > When Sending https request,it occurs the error " Error reading
> XMLStreamReader"
> >
> -------------------------------------------------------------------------------
> >
> >                 Key: CXF-2189
> >                 URL: https://issues.apache.org/jira/browse/CXF-2189
> >             Project: CXF
> >          Issue Type: Bug
> >    Affects Versions: 2.2
> >         Environment: JDK1.5, CXF2.2
> >            Reporter: kaka dai
> >   Original Estimate: 48h
> >  Remaining Estimate: 48h
> >
> > When I send a soap message with https, it occurs following error. I
> search it in the internet, but not find the solution.
> > I capture the SoapMessage with wsmoniter, it has no any error. I am
> blocked a few days by this issue.
> > Could you help me as soon as possible?
> > Apr 25, 2009 4:51:16 PM org.apache.cxf.phase.PhaseInterceptorChain
> doIntercept
> > INFO: Interceptor has thrown exception, unwinding now
> > org.apache.cxf.binding.soap.SoapFault: Error reading XMLStreamReader.
> >       at
> org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:184)
> >       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:2108)
> >       at
> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1987)
> >       at
> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1912)
> >       at
> org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:66)
> >       at
> org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:611)
> >       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:124)
> >       at $Proxy54.getClientInfo(Unknown Source)
> >       at
> com.expedia.e3.shopsvc.test.wsclient.cxf.CXFTestClient.main(CXFTestClient.java:162)
> > Caused by: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog
> >  at [row,col {unknown-source}]: [1,0]
> >       at
> com.ctc.wstx.sr.StreamScanner.throwUnexpectedEOF(StreamScanner.java:686)
> >       at
> com.ctc.wstx.sr.BasicStreamReader.handleEOF(BasicStreamReader.java:2134)
> >       at
> com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2040)
> >       at
> com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1069)
> >       at
> com.ctc.wstx.sr.BasicStreamReader.nextTag(BasicStreamReader.java:1095)
> >       at
> org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:86)
> >       ... 17 more
> > Exception in thread "main" javax.xml.ws.soap.SOAPFaultException: Error
> reading XMLStreamReader.
> >       at
> org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:145)
> >       at $Proxy54.getClientInfo(Unknown Source)
> >       at
> com.expedia.e3.shopsvc.test.wsclient.cxf.CXFTestClient.main(CXFTestClient.java:162)
> > Caused by: org.apache.cxf.binding.soap.SoapFault: Error reading
> XMLStreamReader.
> >       at
> org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:184)
> >       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:2108)
> >       at
> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1987)
> >       at
> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1912)
> >       at
> org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:66)
> >       at
> org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:611)
> >       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:124)
> >       ... 2 more
> > Caused by: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog
> >  at [row,col {unknown-source}]: [1,0]
> >       at
> com.ctc.wstx.sr.StreamScanner.throwUnexpectedEOF(StreamScanner.java:686)
> >       at
> com.ctc.wstx.sr.BasicStreamReader.handleEOF(BasicStreamReader.java:2134)
> >       at
> com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2040)
> >       at
> com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1069)
> >       at
> com.ctc.wstx.sr.BasicStreamReader.nextTag(BasicStreamReader.java:1095)
> >       at
> org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:86)
> >       ... 17 more
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message