Now that you have configured the web service to use WSIT technologies, you can deploy and test it.
Right-click the project node, select Properties, then select Run.
Type /CalculatorWSService?wsdl in the Relative URL field and click OK.
Right-click the project node and choose Run Project. The first time Glassfish is started, you will be prompted for the admin password.
The IDE starts the web container, builds the application, and displays the WSDL file page in your browser. You have now successfully tested the deployed a WSIT-enabled web service.
Notice that the WSDL file includes the following WSIT tags:
<wsp:UsingPolicy/> <wsp:Policy wsu:Id="CalculatorWSPortBindingPolicy"> <wsp:ExactlyOne> <wsp:All> <ns1:RMAssertion/> <ns2:UsingAddressing/> </wsp:All> </wsp:ExactlyOne> </wsp:Policy>