Local web service access

Project:RUcore Account & Single Sign-on
Version:7.4
Component:Ticket API
Category:feature request
Priority:normal
Assigned:yuyang
Status:closed
Description

Access and return the same response the web services does by providing a class that can be used by applications on the same physical machine. See attached diagram.

Comments

#1

Version:7-x» 7.4

#2

Assigned to:chadmills» yuyang
Status:active» test

Added a class to the main library directory under classes called WebService.php.

You can use this class to call the "about" and "check" methods that are provided by the WebService API. Response is the same except you have optional output format of either a string or the original XML DOM object.

An example of how to use this class is located in the docs directory at the following location.

./docs/development/webservice/example.class.php

This class is called by the WebService API. A majority of the logic and code from that WebService script, ./api/index.php was moved into this class.

All current use of the WebService API stays unchanged, this is an add-on feature for local use.

Assigning to Yang for testing, he originated the request.

#3

Status:test» fixed

No login issues were reported during testing. That means this change is working as expected.

#4

Status:fixed» closed

Back to top