Ok, so I need to send a SOAP message to my server, but I have never done this before. The complete SOAP message should be as follows:
<?xml version="1.0" encoding="utf-8"?><soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://
www.w3.org/2001/XMLSchema-instance">
<soapenv:Body><request><username>testuser</username>
</request></soapenv:Body></soapenv:Envelope>
I have been trying to get this to work for a while now and can't do it, so I need your help. Here is what I have right now:
$params = array('username'=>$username);
$params2 = array('request'=>$params);
$response = $client->invokeService($params2);
var_dump($response);
Please, any help is appreciated. I really don't understand this at all.