StarLove as a Web Service


I'm busy working on StarLove as a web service to be used by dating websites to short-list their lists of scientifically derived matches.
This first version will simply accept two birth dates and output the basic compatibility (birth charts) rating as a percentage.
Next I plan to get it to output the current compatibility (progressed charts) as well.
(Current compatibility is more important for short term date matches but ultimately a combination of both will make up the algorithm)
After that I will get it to accept an additional input parameter to enable focus on the type of compatibility to be determined, e.g. love, physical, intellectual etc. (if required)
It will therefore have the power to shortlist people with a specific interest in mind, for example, a person may say, "I'm just looking for potential partners I can intellectually identify with", or, "I'm just looking for a potentially strong physical relationship right now". This software can determine these types of compatibilities with a high degree of accuracy.
If you are interested in using this service for your website please refer back to this page in the future to see the progress.
This service can also drive mobile apps that display compatibility, either in the app or linked via Bluetooth to a LED display badge.
In other words if you meet someone, for example at a club, you will be able to know instantly how compatible you are with them, green/orange/red.
This is accurate information: no more wasting time with people you are simply not going to get on with, short or long term.

How to call the webservice:

$result = $client->call("match.getCompatibility", array("date1" => "11/07/1960","date2" => "12/11/1962"));


Below is an example of the input file.

******************************** matchclient.php input file *********************************

require_once "lib/nusoap.php";
$client = new nusoap_client("match.wsdl", true);
$error = $client->getError();
if ($error) {
echo "

Constructor error

" . $error . "
";
}

$result = $client->call("match.getCompatibility", array("date1" => "11/07/1960","date2" => "12/11/1962"));
//$result = $client->call("match.getCompatibility", array("date1" => "11/07/1960","date2" => "07/04/1958"));
//MM/DD/YYYY //$result = $client->call("match.getCompatibility", array("date1" => "12/11/1962","date2" => "07/04/1958"));
if ($client->fault) {
echo "

Fault

";
print_r($result);
echo "
";
} else {
$error = $client->getError();
if ($error) {
echo "

Error

" . $error . "
";
} else {
echo "

Main

";
echo $result;
}
}
// show soap request and response
echo "

Request

";
echo "
" . htmlspecialchars($client->request, ENT_QUOTES) . "
";
echo "

Response

";
echo "
" . htmlspecialchars($client->response, ENT_QUOTES) . "
";

*********************** here is the current match.php output ************************

Error

HTTP Error: no data present after HTTP headers

Request

POST /webservice/match.php HTTP/1.0
Host: luckydays.tv
User-Agent: NuSOAP/0.9.5 (1.123)
Content-Type: text/xml; charset=ISO-8859-1
SOAPAction: "http://www.luckydays.tv/matchservice#getCompatibility"
Content-Length: 646

<?xml version="1.0" encoding="ISO-8859-1"?><SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://www.luckydays.tv/matchservice"><SOAP-ENV:Body><tns:match.getCompatibility xmlns:tns="http://www.luckydays.tv/matchservice"><date1 xsi:type="xsd:string">11/07/1960</date1><date2 xsi:type="xsd:string">12/11/1962</date2></tns:match.getCompatibility></SOAP-ENV:Body></SOAP-ENV:Envelope>

Response

HTTP/1.1 500 Internal Server Error
Date: Wed, 26 Apr 2017 05:53:19 GMT
Server: Apache
X-Powered-By: PHP/5.6.30-1~dotdeb+7.1
Vary: Accept-Encoding
Content-Length: 0
Connection: close
Content-Type: text/html; charset=UTF-8


***************************************************************************************



The webservice will run the compatibility calculating code linked to the input form below:


FREE
Starlove Love Calculator
 Birth chart Compatibility for Lovers & Friends
 
Name 
DOB 

Name 
DOB 
 
 
Your compatibility is calculated by comparing the aspects between the planets in each of your birth charts.
When you run the report, you will see two graphs. The graph on the left is your basic birth chart compatibility, and the one on the right is your current compatibility. Current compatibility is calculated using your "progressed" birth charts. For more info on progressions please click the link below.