Hi, Yeah, this is per JAX-WS spec, you can't set @WebMethod(exclude=true) on SEI, you must put it on Impl class. • Any of its methods MAY carry a javax.jws.WebMethod annotation (see 7.11.2). • javax.jws.WebMethod if used, MUST NOT have the exclude element set to true.
Freeman ------------- Freeman Fang FuseSource Email:[email protected] Web: fusesource.com Twitter: freemanfang Blog: http://freemanfang.blogspot.com http://blog.sina.com.cn/u/1473905042 weibo: http://weibo.com/u/1473905042 On 2012-8-10, at 上午4:09, purecharger wrote: > Thanks for the reply, Daniel. I had started down this path and found that I > can't actually use the 'exclude' attribute on any @WebMethod annotations in > the interface. Unfortunately these interfaces are used both as external > service endpoints and internally by many different classes. The > add/removeListener methods are never used by the web service, so it looks > like I'll need to rework the interfaces. > > Do you know why it is that I can't use the 'exclude' attribute at the SEI > level? > > > > -- > View this message in context: > http://cxf.547215.n5.nabble.com/Upgrading-2-2-to-2-6-tp5712216p5712268.html > Sent from the cxf-user mailing list archive at Nabble.com.
