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
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
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
Jiang, Ning (Willem) wrote:
Hi Gilles,
Do you need to use the Client to invoke the service in your unit test?
If so , you need to use the below code to trigger the LocalConduit direct
dispatch.
Thank you.
It works
But now I have to find why I get a NullPointerException in
SoapOutInterceptor
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
Willem Jiang wrote:
Hi
I just went through the code and Xfire JIRA, it may relate to the
different send and receive thread on the client side.
You just need to add this pair
(org.apache.cxf.transport.local.LocalConduit.directDispatch, true) in
your request context,
to let the LocalConduit
Hi,
I developed a web service in a cxf-spring-hibernat environment.
It runs in Tomcat fine.
I also wrote some Junit tests that use the same web service with a local
transport. Within these tests, the DAOs fail to find an Hibernate session.
Has anyone a lead on why this fail?
Thanks,
--
Gilles
.
Willem.
-Original Message-
From: Gilles Durys [mailto:[EMAIL PROTECTED]
Sent: Wed 9/19/2007 21:16
To: cxf-user@incubator.apache.org
Subject: JUnit test with local transport failing to find hibernate session
Hi,
I developed a web service in a cxf-spring-hibernat environment.
It runs
Hi
I just went through the code and Xfire JIRA, it may relate to the
different send and receive thread on the client side.
You just need to add this pair
(org.apache.cxf.transport.local.LocalConduit.directDispatch, true) in
your request context,
to let the LocalConduit not fork a new thread