Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Only one vote per poll is allowed for a particular IP address and the poll results can be compared using the bar graphs and the relevant percentages of votes each choice has received. If you try voting again using the same IP, you will be directed to the poll results page that includes the message, "We have already received a vote for this poll from your IP address. Therefore, you are not eligible for voting" below the results graph.

Building the sample

The polling station sample is located in <AS_HOME>\Samples\Chad directory.

  1. For more information, see Building Axis2 Samples.

    Anchor
    5-6
    5-6

  2. Check the WSO2 Application Server instance using this URL: https://localhost:9443/carbon 
    You now have the Chad service deployed on WSO2 Application Server.

  3. On the Main menu, under Services, click List.
    The Deployed Services page will appear with the Chad service listed as deployed.

Running the web-based client

  1. Start the WSO2 Application Server if it is not running and ensure that the Chad service is running as explained in steps 2 & 3 above.
  2. To run the chad client visit http://localhost:9763/Chad. This is the web-based UI of chad application.

    Info

    Using Mozilla Firefox is recommended when running this sample.

  3. The user view of the Chad system appears.

...