On Thu February 19 2009 9:44:15 am hairman wrote: > Hmm now I use version 2.1.4 and I still have the same behaviour. But you > think, it's fixed now?
2.1.4 was tagged/built on Feb 5. The fix wasn't done till the 12th. Thus, it wouldn't be in 2.1.4. I'll get new snapshots for 2.1.5 up today. Dan > > >This is now fixed on trunk/2.1.x. > > > >Dan > > > > > > > > Dan > > > > On Thu February 12 2009 11:48:27 am Daniel Kulp wrote: > > > On Wed February 11 2009 7:27:47 am hairman wrote: > > > > I'm trying to use the @Oneway-Annotation in a CXF Serviceinterface > > > > using Spring. @OneWay (camelCase) doesn't exist, so I think, it's a > > > > fault in the CXF docu? ( > > > > http://cwiki.apache.org/CXF20DOC/developing-a-service.html#DevelopingaS > > > > > >er vi ce-the%257b%2...@oneway%257d%257dannotation ) > > > > > > Yep. I've corrected that. Thanks! > > > > > > > I import javax.jws.Oneway, however the annotation seems to be > > > > ignored?! > > > > > Hmmm.. that's definitely a bug. I can reproduce it here as well. > > > Not sure what's going on there yet. Digging into it now. > > > > > > Dan > > > > > > > /************************ WS-Interface > > > > **************************************/ > > > > WebService(name = "LockService", targetNamespace = "foo") > > > > public interface LockService { > > > > > > > > @WebMethod() > > > > @Oneway() > > > > public void oneWayTest(); > > > > } > > > > > > > > /************************** WS-Impl > > > > ***************************************/ public class LockServiceImpl > > > > implements LockService { > > > > public void oneWayTest() { > > > > try { > > > > Thread.sleep(4000); > > > > } catch (InterruptedException e) { > > > > System.out.println("+++++++++ Interrupted exception"); > > > > } > > > > } > > > > /***************************** Spring-Config > > > > *********************************/ > > > > <!-- Bean --> > > > > <bean id="lockService" class="foo.service.LockServiceImpl"/> > > > > > > > > <!-- Endpoints --> > > > > <jaxws:endpoint id="lockServiceEndpoint" implementor="#lockService" > > > > address="/LockService" /> > > > > > > > > The WS-Client still waits 4sec until he returns... > > -- > Daniel Kulp > [email protected] > http://www.dankulp.com/blog -- Daniel Kulp [email protected] http://www.dankulp.com/blog
