Return-Path: Delivered-To: apmail-incubator-cxf-user-archive@locus.apache.org Received: (qmail 19039 invoked from network); 11 Oct 2007 07:06:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Oct 2007 07:06:02 -0000 Received: (qmail 33237 invoked by uid 500); 11 Oct 2007 07:05:49 -0000 Delivered-To: apmail-incubator-cxf-user-archive@incubator.apache.org Received: (qmail 33193 invoked by uid 500); 11 Oct 2007 07:05:49 -0000 Mailing-List: contact cxf-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cxf-user@incubator.apache.org Delivered-To: mailing list cxf-user@incubator.apache.org Received: (qmail 33184 invoked by uid 99); 11 Oct 2007 07:05:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Oct 2007 00:05:49 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ning.jiang@iona.com designates 12.170.54.180 as permitted sender) Received: from [12.170.54.180] (HELO amer-mx1.iona.com) (12.170.54.180) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Oct 2007 07:05:52 +0000 X-IronPort-AV: E=Sophos;i="4.21,257,1188792000"; d="scan'208";a="6163678" Received: from amer-ems1.ionaglobal.com ([10.65.6.25]) by amer-mx1.iona.com with ESMTP; 11 Oct 2007 03:03:30 -0400 Received: from [10.129.9.179] ([10.129.9.179]) by amer-ems1.IONAGLOBAL.COM with Microsoft SMTPSVC(6.0.3790.1830); Thu, 11 Oct 2007 03:03:29 -0400 Message-ID: <470DCA98.2010400@iona.com> Date: Thu, 11 Oct 2007 15:02:48 +0800 From: Willem Jiang User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: cxf-user@incubator.apache.org Subject: Re: JUnit test with local transport failing to find hibernate session References: <46F12149.5090204@approach.be> <9A4696F35B459043970EE4A85A317390025533@amer-ems1.IONAGLOBAL.COM> <46F12D34.6000306@approach.be> <46F1F16A.5070100@iona.com> <46F263D4.8070102@approach.be> <9A4696F35B459043970EE4A85A317390025535@amer-ems1.IONAGLOBAL.COM> <46F3897A.4050709@approach.be> <46F394E7.8030006@iona.com> <470CA654.8030701@approach.be> <470DA8EF.1000407@iona.com> In-Reply-To: <470DA8EF.1000407@iona.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 11 Oct 2007 07:03:29.0949 (UTC) FILETIME=[D419C4D0:01C80BD4] X-Virus-Checked: Checked by ClamAV on apache.org Hi Gilles, I just committed a quick fix for the issue of the CXF local transport direct dispatch model [CXF-1107]. You can try it by using the truck version or waiting few days for the next 2.0.3 snapshot. Willem. Willem Jiang wrote: > Hi, > > I can reproduce the error, it definitely is a CXF local transport bug. > I will investigate it later today. > > Willem. > > Gilles Durys wrote: >> Willem Jiang wrote: >> >>> Hi, Which CXF version are you using? Can you access the service with >>> http transport? >>> >>> I just checked the code in the trunk XMLStreamWriter xtw = >>> message.getContent(XMLStreamWriter.class); * >>> xtw.setPrefix(soapVersion.getPrefix(), soapVersion.getNamespace()); I >>> guess the NPE is came from xtw, but I have no idea why >>> XMLStreamWriter.class is not set into the message. I gripped the code >>> and found it should be set to the message by StaxOutInterceptor. >>> >> Hi, I came back to this problem and for what I understand looking at >> LocalConduit.directDispatch, when using direct dispatch, no content is >> set on the message. >> >> >> >