downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

SoapServer::getFunctions> <SoapServer::__construct
Last updated: Fri, 20 May 2011

view this page in

SoapServer::fault

(PHP 5 >= 5.0.1)

SoapServer::faultSoapServer indica que ocurrió un fallo

Descripción

public void SoapServer::fault ( string $code , string $string [, string $actor [, string $details [, string $name ]]] )

Envía una respuesta al cliente de la petición actual indicando que ocurrió un error.

Note:

Solo puede ser llamado cuando se está procesando la petición.

Parámetros

code

El código de error a devolver

string

Una breve descripción del fallo

actor

Una cadena identificando el actor qeu causó el fallo.

details

Más información acerca del fallo

name

Nombre del fallo. Puede ser usado para selecionar un nombre desde el fichero WSDL.

Valores devueltos

No devuelve ningún valor.

Ver también



add a note add a note User Contributed Notes SoapServer::fault
Amr Mostafa 09-Sep-2009 01:16
This function currently terminates execution as well, which may be undesirable. See: http://bugs.php.net/bug.php?id=49513
Anonymous 16-Jul-2008 07:12
If you use Adobe Flex, Flash or AIR as SOAP client and are unable to get the error message in case of a soap fault, upgrade to PHP 5.2.6.

Details in:
http://bugs.php.net/bug.php?id=43507

 
show source | credits | stats | sitemap | contact | advertising | mirror sites