When trying to use the pem.apache.updateLimits OpenAPI method on the POA 5.5 installation the following error message is thrown:
Server error. Method 'pem.apache.updateLimits' not found.
The example of the problem is provided below:
# curl -email@example.comLimits.xml http://localhost:8440/RPC2 <?xml version="1.0" encoding="UTF-8"?> <methodResponse><fault><value><struct><member><name>faultCode</name><value><i4>-32601</i4></value></member><member><name>faultString</name><value><string>Server error. Method 'pem.apache.updateLimits' not found.</string></value></member></struct></value></fault></methodResponse>
The 'pem.apache.updateLimits' OpenAPI method was removed from the POA 5.5. The method was required for updating Apache webspace limits in the previous versions of POA because limits were stored in activation parameters of the resource type based on the 'Physical hosting (Apache)' resource class, there was no easy way to change webspace limits for the existing subscriptions.
In the POA 5.5 the behavior was changed - webspace limits are stored in Service Template limits, so that Provider may sell resources through the PBA.
Provider has to configure the desired webspace limits in the POA Service Template and then synchronize subscriptions with Service Template through the PBA using the instructions in the Parallels Knolwedgebase article https://kb.cloudblue.com/5955.
Alternatively, Provider may configure resource rates for webspace limits in the PBA Service Plan and sell them as additional resources to customers.