Removing Exposed Methods from Modeled Web Services

There are three ways of removing methods from a web service. You can:

To deselect a method exposed as a web service:

  1. Open the reentrant Create Web Service wizard by:
  2. In the Exposed Methods page, deselect the method you no longer want to expose as a web service.
  3. Click OK to regenerate the WSDL document.

    The modeled web service will only show the methods that are implemented as web services. In the underlying Java class, the method is removed although the @webmethod Javadoc comment will still appear.

To remove a method from a Java class:

  1. Edit the Java class on which the web service is based and remove the method.
  2. Choose Regenerate Web Service from the web service container's context menu.

The WSDL document is regenerated and the modeled web service no longer shows this exposed method.

To remove a method from the modeled web service:

The WSDL document is regenerated and the modeled web service no longer shows this exposed method.


Updating a Modeled Web Service
@webmethod Javadoc Comment

 

Copyright © 1997, 2004, Oracle. All rights reserved.