\SOAPModelAccess
Basic SOAP Server to access and modify DataObject instances.
You can enable SOAP access on a DataObject by setting to true.
This means that you'll also enable a RESTful API through .
Synopsis
class SOAPModelAccess
extends SapphireSoapServer
{
- // members
- private static array $methods = ;
- // methods
- public void Link()
- public string getXML()
- public string getJSON()
- public string putXML()
- public string putJSON()
- public string deleteXML()
- public string deleteJSON()
- protected void authenticate()
- protected string buildRestfulURL()
- protected string getErrorMessage()
- // Inherited methods from SapphireSoapServer
- public void wsdl()
- public string getWSDLURL()
- public SS_List Methods()
- public string TargetNamespace()
- public string ServiceURL()
- public void index()
Hierarchy
Extends
Tasks
Line | Task |
---|---|
9+ | Test relation methods |
Members
private
- $methods
Methods
protected
- authenticate() — Faking an HTTP Basicauth login in the PHP environment that RestfulServer can pick up.
- buildRestfulURL()
- getErrorMessage()
public
- Link()
- deleteJSON() — Used to emulate RESTful DELETE requests.
- deleteXML() — Used to emulate RESTful DELETE requests.
- getJSON() — Used to emulate RESTful GET requests with JSON data.
- getXML() — Used to emulate RESTful GET requests with XML data.
- putJSON() — Used to emulate RESTful POST and PUT requests with JSON data.
- putXML() — Used to emulate RESTful POST and PUT requests with XML data.