Return-Path: Delivered-To: apmail-incubator-cxf-issues-archive@locus.apache.org Received: (qmail 39938 invoked from network); 23 Feb 2007 21:10:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Feb 2007 21:10:27 -0000 Received: (qmail 69010 invoked by uid 500); 23 Feb 2007 21:10:35 -0000 Delivered-To: apmail-incubator-cxf-issues-archive@incubator.apache.org Received: (qmail 68908 invoked by uid 500); 23 Feb 2007 21:10:35 -0000 Mailing-List: contact cxf-issues-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cxf-dev@incubator.apache.org Delivered-To: mailing list cxf-issues@incubator.apache.org Received: (qmail 68893 invoked by uid 99); 23 Feb 2007 21:10:35 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Feb 2007 13:10:35 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Feb 2007 13:10:26 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 287407141F9 for ; Fri, 23 Feb 2007 13:10:06 -0800 (PST) Message-ID: <762600.1172265006163.JavaMail.jira@brutus> Date: Fri, 23 Feb 2007 13:10:06 -0800 (PST) From: "Daniel Kulp (JIRA)" To: cxf-issues@incubator.apache.org Subject: [jira] Assigned: (CXF-429) SOAP response message is empty when HandlerChain is used In-Reply-To: <29053439.1171923305896.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ 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.