Web Service Vendor Registration - plugin detail

Vendor Web Service Registration. This plugin provides a wizard that generates an XML file for integrating a web service into NetBeans IDE 6.0.

NetBeans Plugin - Web Service Vendor Registration
Plugin owner: geertjan
Website: http://blogs.sun.com/geertjan/entry/convert_a_wsdl_file_into
Added: 2008-01-13
License: CDDL
Category: NetBeans Rich Client Platform
Downloaded: 1,129 times
Rating:
 0, by 0 users

Plugin Log Show log

Versions available

Download plugin   Download size: 0.01 MB   Last Update: 2012-04-06

What's new in this version

Added the screenshots below.

Verifications for NetBeans versions

Plugin is not subject to any verification

Download plugin   Download size: 0.01 MB   Last Update: 2012-04-06

What's new in this version

Added the screenshots below.

Verifications for NetBeans versions

Plugin is not subject to any verification



Introduction

Right-click a module project and choose "Web Service Registration":

xml-me-1.png

The Web Service Registration wizard appears. Fill in the details of your web service, using information from the web service's WSDL file, such as this one, which is used in the example below.

1200250816433_xml-me-2.png

An XML file is generated. Then register the generated XML file in the layer:

    

Add a 16x16 icon and a 32x32 icon (look in the XML file to see what they're called). Possibly also tweak the Bundle.properties file. Then install the module. The web service will now appear, after you restart the IDE, in the Palette (if a REST resource is open):

xml-me-3.png

It will also appear in the Web Services node in the Services window. Drag and drop it and the client side stubs are generated.

If you drag and drop into a REST resource from the Palette, you will see this customizer, where you can fill in the service's parameters (if any):

xml-me-4.png

Click OK and you'll see this:

xml-me-5.png

In other words, you'll have a new REST sub resource and a stub method for retrieving it. Next, you can test the RESTful web service, by right-clicking the application and choosing "Test RESTful Web Services", with this result:

xml-me-6.png

Issues:

  1. Layer registration should be automatic.
  2. Should be possible to get the web service information automatically from the WSDL.
  3. If the WSDL contains method names that are the same as NetBeans keywords (such as "boolean"), errors will result in the editor, when you drag and drop a web service item from the palette into the editor. You'll then need to manually fix the code in the editor.

[ You have to be logged in to be able to comment. ]

User Comments

There are no comments yet.

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo