WME Logo
 
  |  Mathematics Glossary System  |  MG Web App  |  MG Web Service  |  MG Client  |  Software  | About Author  | 
clear.gif   clear.gif
[ MG Web App | MG Web Service | MG Client ]

Software

MG Web Application

Click here to log in to the system

MG Web Service API

  • SOAP based Service:
    Table 1 shows the API functions in the MG SOAP Web Service.
    Function Description Parameter
    GetTerm Retrieves information about the specified term term
    GetTermByAuthor Returns term of the specified author term, author
    GetTermsByCategory Returns all terms for the specified category category
    GetTermsByAuthorCategory Returns terms of the given category and also uploaded by the specific author. author, category
    GetAllTerms Retrieves all terms in the database no input parameter
    Table 1: Functions in the SOAP Web Service.
  • REST based Service:

    MG Web Service also exposes methods based on REST design principles for making a Web Service call by simply using a URL string, http://boar.cs.kent.edu/Glossary/SiteEngine/glossaryrestservice.php? as the endpoint with parameters.

    Table 2 highlights API functions and the associated URL to invoke MG REST Web Service.

    Function URL
    GetTerm http://boar.cs.kent.edu/Glossary/SiteEngine/glossaryrestservice.php?term=[value]
    GetTermByAuthor http://boar.cs.kent.edu/Glossary/SiteEngine/glossaryrestservice.php?term=[value1]&user=[value2]
    GetTermsByCategory http://boar.cs.kent.edu/Glossary/SiteEngine/glossaryrestservice.php?cat=[value1]
    GetTermsByAuthorCategory http://boar.cs.kent.edu/Glossary/SiteEngine/glossaryrestservice.php?cat=[value1]&user=[value2]
    GetAllTerms http://boar.cs.kent.edu/Glossary/SiteEngine/glossaryrestservice.php
    Table 2: Functions in the REST Web Service.

    Figure 1 show a sample request and response of the REST service.

    MGSystem
    Figure 1: Request and Response from the REST Web Service

MG Web Client

AJAX based Mathematics Glossary Web Client (Using REST Web Service)