Estoy probando un webservice para guiarme y construir uno utilizando NuSoap, la libreria la cargo sin problemas, y me muestra el archivo WSDL, pero encima del archivo me da un error
Código:
Severity: Notice Message: Undefined index: HTTPS Filename: libraries/nusoap.php Line Number: 4006
Código PHP:
function MostrarNoticias(){
$this->nusoap_server->configureWSDL('Noticias , 'urn:Noticias ');
$this->nusoap_server->register('hello', array('name' => 'xsd:string'),
array('return' => 'xsd:string'),
'urn:Noticias ',
'urn:Noticias #hello',
'rpc',
'encoded',
'Says hello to the caller' );
function hello($name) {
return 'Hello, ' . $name;
}
$HTTP_RAW_POST_DATA = isset($HTTP_RAW_POST_DATA) ? $HTTP_RAW_POST_DATA : '';
$this->nusoap_server->service($HTTP_RAW_POST_DATA);
}
?>
Gracias de antemano