Looking around I've seen the following suggested solutions
* Specifiying an interface as an endpoint which just contains the methods I
need. This is an ok solution. This should work if I create an interface
which I extend by the service manager interface because I guess it has to be
a service manager type interface. 
* Implementing for every overridden method a dummy method that calls super
and that has @WebMethod(exclude=true)


mraible wrote:
> 
> I believe someone else had a solution for this. Have you tried searching
> the
> archives?
> 
> Matt
> 
> On Sun, Feb 1, 2009 at 9:26 AM, mschipperheyn
> <m.schipperh...@gmail.com>wrote:
> 
>>
>> Hi,
>>
>> I'm experimenting with webservices on my appfuse based project. I'm
>> finding
>> out that XFire exposes all methods in an annotated service by default.
>> Why
>> not invite all the hackers for tea and biscuits? So, grudgingly, I'm
>> going
>> up the inheritance tree to close down all the other methods. However,
>> when
>> I
>> try to set @WebMethod(exclude = true) on GenericManagerImpl I get a
>> message
>> that these methods aren't allowed here. So, I guess it wants met to mark
>> GenericManagerImpl as a Webservice. Hmm, that feels like making a gaping
>> hole, even wider. Is there a method to change the XFire behaviour to by
>> default NOT expose methods as webservices?
>>
>> Cheers,
>>
>> Marc
>> --
>> View this message in context:
>> http://www.nabble.com/Xfire-exposes-all-methods-by-default-tp21777095s2369p21777095.html
>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
>> For additional commands, e-mail: users-h...@appfuse.dev.java.net
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Xfire-exposes-all-methods-by-default-tp21777095s2369p21898157.html
Sent from the AppFuse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net

Reply via email to