cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (CXF-429) SOAP response message is empty when HandlerChain is used
Date Fri, 23 Feb 2007 21:10:06 GMT

     [ https://issues.apache.org/jira/browse/CXF-429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Daniel Kulp reassigned CXF-429:
-------------------------------

    Assignee: Daniel Kulp

> SOAP response message is empty when HandlerChain is used
> --------------------------------------------------------
>
>                 Key: CXF-429
>                 URL: https://issues.apache.org/jira/browse/CXF-429
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-WS Runtime
>            Reporter: Jarek Gawor
>         Assigned To: Daniel Kulp
>         Attachments: CXF-429.patch
>
>
> When @HandlerChain() annotation is added to the service class, the soap response is empty
and the following exception is raised:
> org.apache.cxf.binding.soap.SoapFault: Error reading XMLStreamReader.
>         at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handle
> Message(ReadHeadersInterceptor.java:118)
>         at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handle
> Message(ReadHeadersInterceptor.java:48)
>         at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseIntercept
> orChain.java:168)
>         at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:281)
>         at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleR
> esponse(HTTPConduit.java:654)
>         at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.doClose
> (HTTPConduit.java:614)
>         at org.apache.cxf.io.AbstractCachedOutputStream.close(AbstractCachedOutp
> utStream.java:114)
>         at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:6
> 5)
>         at org.apache.cxf.interceptor.MessageSenderInterceptor.handleMessage(Mes
> sageSenderInterceptor.java:58)
>         at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseIntercept
> orChain.java:168)
>         at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:152)
>         at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73)
>         at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:11
> 6)
>         at $Proxy42.greetMe(Unknown Source)
>         at org.apache.cxf.systest.jaxws.ClientServerGreeterTest.testInvocation(C
> lientServerGreeterTest.java:51)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at junit.framework.TestCase.runTest(TestCase.java:164)
>         at junit.framework.TestCase.runBare(TestCase.java:130)
>         at junit.framework.TestResult$1.protect(TestResult.java:106)
>         at junit.framework.TestResult.runProtected(TestResult.java:124)
>         at junit.framework.TestResult.run(TestResult.java:109)
>         at junit.framework.TestCase.run(TestCase.java:120)
>         at junit.framework.TestSuite.runTest(TestSuite.java:230)
>         at junit.framework.TestSuite.run(TestSuite.java:225)
>         at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>         at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
>         at junit.framework.TestResult.runProtected(TestResult.java:124)
>         at junit.extensions.TestSetup.run(TestSetup.java:25)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.apache.maven.surefire.battery.JUnitBattery.executeJUnit(JUnitBatt
> ery.java:242)
>         at org.apache.maven.surefire.battery.JUnitBattery.execute(JUnitBattery.j
> ava:216)
>         at org.apache.maven.surefire.Surefire.executeBattery(Surefire.java:215)
>         at org.apache.maven.surefire.Surefire.run(Surefire.java:126)
>         at org.apache.maven.surefire.Surefire.run(Surefire.java:87)
>         at org.apache.maven.surefire.Surefire.run(Surefire.java:63)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.apache.maven.surefire.SurefireBooter.main(SurefireBooter.java:785
> )
> 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:6
> 61)
>         at com.ctc.wstx.sr.BasicStreamReader.handleEOF(BasicStreamReader.java:21
> 34)
>         at com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.ja
> va: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.handle
> Message(ReadHeadersInterceptor.java:73)
>         ... 45 more
> Attaching a test case for this error.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message