8.3. Deploying and Testing a Web Service with Message Optimization Enabled

Now that you have configured the web service to use message optimization, you can deploy and test it.

To Deploy and Test a Web Service with Message Optimization Enabled

To deploy and test the web service, perform the following steps.

  1. Right-click the project node and 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.

    The IDE starts the web container, builds the application, and displays the WSDL file page in your browser.

    The following WSIT tags related to message optimization display in the WSDL file:

    <ns1:Policy wsu:Id="CalculatorWSPortBindingPolicy"/>
      <ns1:ExactlyOne>
        <ns1:All>
          <ns2:OptimizedMimeSerialization/>
            <ns3:RMAssertion/>
              <ns4:UsingAddressing ns1:Optional="true"/>
        </ns1:All>
      </ns1:ExactlyOne>
    </ns1:Policy>

Terms of Use; Privacy Policy; Copyright ©2013-2014 (revision 20131025.e7cbc9d)
 
 
Close
loading
Please Confirm
Close