Thanks for the information Allan. You might want to add this as a note to the Web Services tutorial.
http://appfuse.org/display/APF/Web+Services Matt On Tue, Apr 8, 2008 at 12:29 PM, Allan Ang <[EMAIL PROTECTED]> wrote: > > OK got it. > > Turns out that the API in the JSR 181 document that I downloaded didn't have > the latest list of methods available > > adding another "@WebMethod(exclude=true)" on all public methods in the > implementing class and it's parent classes that you would like to exclude > does the trick. > > allan > > > > > Allan Ang wrote: > > > > Hi all, > > > > I'm trying to avoid exposing all methods in my Service Implementation > > class as a web service. > > I have tried removing the service endpoint in the implementation's > > "@WebService" annotation and adding an explicit @WebMethod on the method I > > want exposed but no luck. All methods still appear in the WSDL. > > > > I checked out JSR-181 and if I understand it correctly...that should work > > rite?!! > > > > I'm using Appfuse2 Struts modular with XFire. > > > > thanks!! > > Allan > > > > -- > View this message in context: > http://www.nabble.com/Avoid-exposing-all-public-methods---Web-service-annotations-tp16554806s2369p16569983.html > > > Sent from the AppFuse - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]