/etc/init.d/apache2 restart
I have even tried to kill the process with a ps -9 and still no luck.
I finally figured it out:
sudo /usr/sbin/apache2ctl restart
sudo /usr/sbin/apache2ctl restart
<wsdl:definitions targetNamespace="http://questionmark.com/QMWISe/">
...
<s:element name="Security" type="tns:SecurityHeader"/><s:complexType name="SecurityHeader"><s:sequence><s:element minOccurs="0" maxOccurs="1" name="ClientID" type="s:string"/><s:element minOccurs="0" maxOccurs="1" name="Checksum" type="s:string"/></s:sequence><s:anyAttribute/></s:complexType>
...
</wsdl>
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:qmw="http://questionmark.com/QMWISe/">
<soap:Header>
<qmw:Security>
<!--Optional:-->
<qmw:ClientID>id</qmw:ClientID>
<!--Optional:-->
<qmw:Checksum>hash</qmw:Checksum>
</qmw:Security>
</soap:Header>
<soap:Body>
...
</soap:Body>
</soap:Envelope>
$this->client = new SoapClient(null, $this->constructParams());
$this->client->__setSoapHeaders(new SoapHeader($this->targetNamespace, "Security",
new SoapVar(new Security($this->username, $this->getMd5Hash()), SOAP_ENC_OBJECT));
class Security {
function Security($clientId, $md5Hash) {
$this->ClientID = $clientId;
$this->Checksum = $md5Hash;
}
}
<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:ns1="http://questionmark.com/QMWISe/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:enc="http://www.w3.org/2003/05/soap-encoding">
<env:Header>
<ns1:Security>
<ClientID>id</ClientID>
<Checksum>hash</Checksum>
</ns1:Security>
</env:Header>
<env:Body>
...
</env:Body>
</env:Envelope>
new SoapHeader($this->targetNamespace, "Security",
new SoapVar(array("ns1:ClientID" => $this->username, "ns1:Checksum" => $this->getMd5Hash()), SOAP_ENC_OBJECT));
<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:ns1="http://questionmark.com/QMWISe/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:enc="http://www.w3.org/2003/05/soap-encoding">
<env:Header>
<ns1:Security>
<ns1:ClientID>id</ns1:ClientID>
<ns1:Checksum>hash</ns1:Checksum>
</ns1:Security>
</env:Header>
<env:Body>
...
</env:Body>
</env:Envelope>
Server did not recognize the value of HTTP Header SOAPAction: http://questionmark.com/QMWISe/#GetParticipant.
'soap_version' => SOAP_1_2
$params = array('location' => $this->wsdlUrl, 'uri' => $this->targetNamespace, 'soap_version' => SOAP_1_2, 'trace' => 1)
$this->client = new SoapClient(null, $params);
Jun 3 10:36:29 acjcm3c kernel: [ 527.087977] type=1400 audit(1307122589.944:318): apparmor="DENIED" operation="file_mmap" parent=1 profile="/usr/sbin/cupsd" name="/usr/local/zend/lib/liblber-2.4.so.2" pid=5107 comm="cupsd" requested_mask="m" denied_mask="m" fsuid=0 ouid=0
Jun 3 10:36:35 acjcm3c kernel: [ 532.130427] type=1400 audit(1307122594.994:319): apparmor="STATUS" operation="profile_replace" name="/usr/lib/cups/backend/cups-pdf" pid=5135 comm="apparmor_parser"
Jun 3 10:36:35 acjcm3c kernel: [ 532.132847] type=1400 audit(1307122594.994:320): apparmor="STATUS" operation="profile_replace" name="/usr/sbin/cupsd" pid=5135 comm="apparmor_parser"
Jun 3 10:36:35 acjcm3c init: cups main process (5136) terminated with status 127
Jun 3 10:36:35 acjcm3c init: cups main process ended, respawning
cd /usr/local/zend/lib
sudo rm libldap_r-2.4.so.2
sudo rm libldap-2.4.so.2
sudo rm liblber-2.4.so.2