Hmm now I use version 2.1.4 and I still have the same behaviour. But you
think, it's fixed now?



>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
dk...@apache.org
http://www.dankulp.com/blog



-- 
View this message in context: 
http://www.nabble.com/%40Oneway-and-%40OneWay-difference-or-fault-in-documentation-tp21953694p22101945.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to