On Thursday 10 February 2011 6:42:59 am Fansi wrote: > Hi people, > > I would like to know the impact of the absence of @Webservice > annotation in the implementation class of the webservice, given that > the interface is properly annotated. > > While inspecting a service developped using CXF 2.2.3 I notice that > the implementation class hos no annotation, even the @webservice > annotation. The service is however exposed, but has abnormal behavior > such as returning the expected result to request 1 (which target > operation 1) to request 2 which target operation 2 and vice versa.
With or without annotation should definitely not affect that. That would be really bad. Is this reproducible in a test case at all? I'd like to see it if it is. Dan > If I am right, CXF uses a MessageContext variable that is ThreadLocal > to allow safe concurrent access to web services. Is the absence of > @Webservice annotation the root cause of this malfunction? Of course, > I have already inserted that annotation, but given that the problem > does not occur everytime I want to be sure that I am on the right way > to solve it, thus this message. > > Thank you in advance for your reply and for any hint you may give. > > Cheers, > > Maj -- Daniel Kulp [email protected] http://dankulp.com/blog
