Generating Web Service Stubs

JDeveloper helps you to automatically create a stub or proxy to use a web service. Once you have generated the stub using the Web Service Stub/Skeleton wizard, you can call the methods (which are proxies to the web service) in your application.

To generate a web service stub:

  1. In the Applications Navigator, select the project you want to use.
  2. Choose File | New to open the New Gallery
  3. In the Categories list, select Web Services.
  4. In the Items list, double-click Web Service Stub/Skeleton to launch the Create Web Service Stub/Skeleton wizard.
  5. For detailed help about completing the wizard, press F1 or click Help from within the wizard. The wizard generates a new stub for each exposed method, and they are listed in the navigator.

You can also launch the Create Web Service Stub/Skeleton wizard from the web service container in the navigator.

To generate a web service stub from the web service container:

  1. In the Applications Navigator, choose G enerate Web Service Stub/Skeleton from the context menu of the web service container. This launches the Create Web Service Stub/Skeleton wizard.
  2. For detailed help about completing the wizard, press F1 or click Help from within the wizard. The wizard generates a new stub for each exposed method, and they are listed in the navigator

 

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