|
|
This TOTD explains how to add Reliability and Security to a Contract-First
Endpoint using NetBeans IDE.
In the Contract-First, the contract, i.e. the WSDL, is defined first as
opposed to starting from Java. The Metro programming model starts with a Java
Service Endpoint Interface (SEI) and uses
Web
Service Designer to specify Security, Reliability and Transactions support.
This blog uses the WSDL bundled with the fromwsdl sample of
Metro download and adds
Quality-of-Service attributes to it.
Here are the steps to enable Reliable Messaging to Contract-First endpoint:
Web Service from
WSDL...Browse..." button next to "Web Service Port:" andFinish" and the Web Services Designer is shown asUndeploy and Deploy"Web Services" tree, select the newly added WebTest Web Service". The Tester pageReliable Message Delivery".Clean" to clean all theUndeploy
and DeployAs described in
screencast
#ws7, Security can be added to a Contract-First endpoint using the steps
listed above.
Please leave suggestions on other TOTD that you'd like to see. A complete
archive is available here.
Technorati:
totd
glassfish
webservices
netbeans
metro
wsdl
reliability
contractfirst