Currently, you can block methods using excludeOperations  in services.xml 
as follows:

<excludeOperations>
    <operation>op1</operation>
</excludeOperations>

However, this only works when the WSDL is generated dynamically by the 
Axis2 engine.  There is a JIRA 
https://issues.apache.org/jira/browse/AXIS2-4440  that will ensure this 
feature works for static WSDL files. 
Nadir Amra
Integrated Web Services for IBM i Operating System
Internet: [email protected]

Afkham Azeez <[email protected]> wrote on 07/19/2010 06:28:14 AM:

> [image removed] 
> 
> Re: block method from service.xml
> 
> Afkham Azeez 
> 
> to:
> 
> java-user
> 
> 07/19/2010 06:29 AM
> 
> Cc:
> 
> axis-user
> 
> Please respond to java-user
> 
> http://wso2.org/library/2060
> 
> On Fri, Jul 16, 2010 at 9:53 PM, haipeng du <[email protected]> wrote:
> > I have one java service class to handle webservice call. And there are 
some
> > methods I do not want to expose. How could I modify service.xml to 
block
> > these methods?
> > Thanks a lot.
> >
> > --
> > Haipeng Du
> > Salt Lake City
> >
> 
> 
> 
> -- 
> Afkham Azeez
> Senior Software Architect & Product Manager, WSO2 WSAS; WSO2, Inc.;
> http://wso2.com
> Member; Apache Software Foundation; http://www.apache.org/
> email: [email protected] cell: +94 77 3320919
> blog: http://blog.afkham.org
> twitter: http://twitter.com/afkham_azeez
> linked-in: http://lk.linkedin.com/in/afkhamazeez
> 
> Lean . Enterprise . Middleware
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to