The WSIT Tutorial

ProcedureTo Deploy and Test a Web Service

  1. Right-click the project node, select Properties, then select Run.

  2. Type /CalculatorWSService?wsdl in the Relative URL field and click OK.

  3. 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:Policy wsu:Id="CalculatorWSPortBindingPolicy">