Skip to main content

New Web Services Features in Netbean 6.5

Posted by ramapulavarthi on November 21, 2008 at 2:18 PM PST

Netbeans 6.5 is recently released. Along with tons of new features, it has some enhancements for Web Services development.

The foremost is that with Netbeans 6.5, you can easily develop Web Services applications and deploy on to Glassfish V3. There are are other features like configuring WS-Addressing, and exposing a SOAP based Web service as REST service through GUI caught my attention.

Coming to configuring WS-Addressing, You can easily configure by editing the Web Service attributes and checking the box for Addressing as shown in the following picture.


Previously, it was enabled if it required by other option like Reliable Message Delivery. This feature lets you configure your Web Service to use WS-Addressing without other technologies.
Doing this automatically generates WSIT configuration file with the right policies to enable WS-Addressing as shown below.

    <wsp:Policy wsu:Id="NewWebServicePortBindingPolicy">
                <wsaw:UsingAddressing xmlns:wsaw="" wsp:Optional="true"/>

Its currently generating assertion, in future this would generate when Metro supports WS-Addressing 1.0 Metadata specification.

Of course, you can still configure in other ways by using the annotation on the endpoint implementation or programmatic configuration using AddressingFeature()

Among other things in Netbeans 6.5, you can expose a SOAP based Web Service as a Restful Service.
Right click on the Web Service, select Generate SOAP-over-HTTP wrapper option. It generates a Rest resource.



Wow,thats easy!!!.

Download Netbeans 6.5 and give it a try.

Related Topics >>


There is this really strange issue i am struggling with using JCAPS 6.0 with Netbeans 6.1: Issue: Content type for any webservice invocation is sent as "multipart/related" by bpel engine..