axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charles Galpin <cgal...@lhsw.com>
Subject Re: Reg: Controlling methods exposed in the Webservice class
Date Fri, 02 Dec 2011 13:48:27 GMT
You can also use the annotation

@WebMethod(exclude=true)

hth
charles

On Dec 2, 2011, at 6:27 AM, vinsarwate wrote:

> 
> I think service.xml supports following 
> 
> <excludeOperations>
>    <operation>your method name here</operation>
> </excludeOperations>
> 
> Thanks.
> 
> 
> Abhijeet C Kale wrote:
>> 
>> Hi,
>> 
>> Is there anyway to control the methods to be exposed in the web service 
>> class? I did not look much in the documentation for any support for 
>> annotations.
>> 
>> Here is an eg, to elaborate on this.
>> Class A is added to the service.xml as a parameter "ServiceClass". Class 
>> has methodA and method B implementation.
>> The idea is to only expose methodA and not methodB. Is there any 
>> annotation support which can help doing this?


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org


Mime
View raw message