Rewrited Definition of WebService and WSDL dumper

This commit is contained in:
Francis Besset
2013-10-15 11:46:12 +02:00
parent 391a3f10b8
commit c830097430
42 changed files with 1430 additions and 1093 deletions

View File

@ -34,7 +34,7 @@ class SoapRequest extends CommonSoapRequest
{
$content = is_null($content) ? file_get_contents("php://input") : $content;
$location = self::getCurrentUrl();
$action = $_SERVER[SoapMessage::SOAP_ACTION_HEADER];
$action = isset($_SERVER[SoapMessage::SOAP_ACTION_HEADER]) ? $_SERVER[SoapMessage::SOAP_ACTION_HEADER] : null;
$contentType = $_SERVER[SoapMessage::CONTENT_TYPE_HEADER];
$request = new SoapRequest();
@ -68,4 +68,4 @@ class SoapRequest extends CommonSoapRequest
$url .= isset($_SERVER['REQUEST_URI']) ? $_SERVER['REQUEST_URI'] : '';
return $url;
}
}
}

View File

@ -158,4 +158,4 @@ class SoapServer extends \SoapServer
);
}
}
}
}