Showing posts with label Test Web Service. Show all posts
Showing posts with label Test Web Service. Show all posts

Wednesday, 4 January 2012

Testing a REST Web Service Reference

After you have created a Web service reference, you can test it on the Test Web Service Reference page.
To test a Web service reference:
  1. Navigate to the Web Service References page. See "Accessing the Web Service References Page".
  2. From View, select Report.
  3. Click the Run icon adjacent to the Web Service reference name.
    The Test Web Service Reference page appears. The Web service name and URL endpoint display at the top of the page.
  4. In the URL and Proxy Override fields, optionally edit the values for the test.
  5. If required, enter the username and password under Basic Authentication.
  6. Under HTTP Headers, enter appropriate values.
  7. Under Input Parameters, enter appropriate values.
  8. Click Test.
    The message response appears at the bottom of the page.

Testing a Web Service Reference Created Manually

After you have created a Web service reference, you can test it on the Test Web Service Reference page.
To test a Web service reference:
  1. Navigate to the Web Service References page. See "Accessing the Web Service References Page".
  2. From View, select Report.
  3. Click the Run icon adjacent to the Web Service reference name.
    The Test Web Service Reference page appears. The Web service name and URL endpoint display at the top of the page.
  4. If required, enter the username and password under Basic Authentication.
  5. In SOAP Envelope text area, optionally edit the SOAP request envelope.
  6. Click Test.
    The message request and response appear at the bottom of the page.

Testing a Web Service Reference Created from a WSDL

After you have created a Web service reference, you can test it on the Test Web Service Reference page.
To test a Web service reference:
  1. Navigate to the Web Service References page. See "Accessing the Web Service References Page".
  2. From View, select Report.
  3. Click the Run icon adjacent to the Web Service reference name.
    The Test Web Service Reference page appears. The Web service name and URL endpoint display at the top of the page.
  4. From Operation, select an operation (that is, the method to be executed).
  5. Under Input Parameters, enter the appropriate values.
  6. Click Test.
    The message request and response appear at the bottom of the page.