have you looked into using annotation? specifically the tag 
@WebMethod(exclude=true)



Deepal jayasinghe <[email protected]>
 




12/11/2008 05:10 PM
Please respond to [email protected]

From
Deepal jayasinghe <[email protected]>
To
[email protected]
cc

Subject
Re: [Axis2] <excludeOperations> in services.xml problem







> hmmm, an excluded operation cannot be invoked, as far as I know from 
Axis 
> 1.3.   I will verify. 
> 
Nope exclude operations will only exclude from WSDL, if that is not the
case then something has broken.

Deepal
> Nadir Amra
>
>
> Deepal Jayasinghe <[email protected]> wrote on 12/11/2008 04:20:43 
PM:
>
> 
>> [image removed] 
>>
>> Re: [Axis2] <excludeOperations> in services.xml problem
>>
>> Deepal Jayasinghe 
>>
>> to:
>>
>> axis-user
>>
>> 12/11/2008 04:21 PM
>>
>> Please respond to axis-user
>>
>>
>> 
>>> Hi,
>>>
>>>
>>>
>>> I have a webservices (written in Java) with several operations.  I
>>> want to exclude couple of operations from that.  I?ve used the
>>> <excludeOperations> tag in services.xml as shown below.  I?m using
>>> Axis2 1.4.
>>>
>>>
>>>
>>>         <excludeOperations>
>>>
>>>             <operation>copy</operation>
>>>
>>>             <operation>move</operation>
>>>
>>>         </excludeOperations>
>>>
>>>
>>>
>>> After restarting the app server when I see view the WSDL in the
>>> browser, I still see these 2 operations & also I was able to access
>>> those operations from the Java client.
>>>
>>> 
>> Excluding operation mean, you do not display them in the WSDL but you
>> can invoke them. Anyway please create a JIRA and attach your service. I
>> will have a look at.
>>
>> Deepal
>> 
>>>
>>> Thanks
>>>
>>> Raghu
>>>
>>> 
>> -- 
>> Thank you!
>>
>>
>> http://blogs.deepal.org
>>
>> 
>
>
> 


-- 
Thank you!


http://blogs.deepal.org


Reply via email to