PHP Класс Prado\Web\Services\TSoapServer

TSoapServer is a wrapper of the PHP SoapServer class. It associates a SOAP provider class to the SoapServer object. It also manages the URI for the SOAP service and WSDL.
С версии: 3.1
Автор: Qiang Xue ([email protected])
Наследование: extends Prado\TApplicationComponent
Показать файл Открыть проект

Открытые методы

Метод Описание
fault ( $title, $details = '', $code = 'SERVER', $actor = '', $name = '' ) Generate a SOAP fault message.
getActor ( ) : string
getClassMaps ( ) : string
getEncoding ( ) : string
getID ( ) : string
getProvider ( ) : string
getRequestedMethod ( ) : string Soap method guessed from the SOAP message received.
getSessionPersistent ( ) : boolean
getUri ( ) : string
getVersion ( ) : string
getWsdl ( ) : string Returns the WSDL content of the SOAP server.
getWsdlUri ( ) : string
run ( ) Handles the SOAP request.
setActor ( $value )
setClassMaps ( $classes ) : string
setEncoding ( $value )
setID ( $id )
setProvider ( $provider )
setSessionPersistent ( $value )
setUri ( $uri )
setVersion ( $value )
setWsdlUri ( $value )

Защищенные методы

Метод Описание
createServer ( ) : SoapServer Creates the SoapServer instance.
getOptions ( ) : array
guessMethodCallRequested ( string $class ) Guess the SOAP method request from the actual SOAP message

Описание методов

createServer() защищенный Метод

Creates the SoapServer instance.
protected createServer ( ) : SoapServer
Результат SoapServer

fault() публичный Метод

Generate a SOAP fault message.
public fault ( $title, $details = '', $code = 'SERVER', $actor = '', $name = '' )

getActor() публичный Метод

public getActor ( ) : string
Результат string actor of the SOAP service

getClassMaps() публичный Метод

public getClassMaps ( ) : string
Результат string comma delimit list of complex type classes.

getEncoding() публичный Метод

public getEncoding ( ) : string
Результат string encoding of the SOAP service

getID() публичный Метод

public getID ( ) : string
Результат string the ID of the SOAP server

getOptions() защищенный Метод

protected getOptions ( ) : array
Результат array options for creating SoapServer instance

getProvider() публичный Метод

public getProvider ( ) : string
Результат string the SOAP provider class (in namespace format)

getRequestedMethod() публичный Метод

Soap method guessed from the SOAP message received.
public getRequestedMethod ( ) : string
Результат string soap method request, null if not found.

getSessionPersistent() публичный Метод

public getSessionPersistent ( ) : boolean
Результат boolean whether the SOAP service is persistent within session. Defaults to false.

getUri() публичный Метод

public getUri ( ) : string
Результат string the URI for the SOAP service

getVersion() публичный Метод

public getVersion ( ) : string
Результат string SOAP version, defaults to empty (meaning not set).

getWsdl() публичный Метод

If {@link getWsdlUri WsdlUri} is set, its content will be returned. If not, the {@link setProvider Provider} class will be investigated and the WSDL will be automatically genearted.
public getWsdl ( ) : string
Результат string the WSDL content of the SOAP server

getWsdlUri() публичный Метод

public getWsdlUri ( ) : string
Результат string the URI for WSDL

guessMethodCallRequested() защищенный Метод

Guess the SOAP method request from the actual SOAP message
protected guessMethodCallRequested ( string $class )
$class string current handler class.

run() публичный Метод

Handles the SOAP request.
public run ( )

setActor() публичный Метод

public setActor ( $value )

setClassMaps() публичный Метод

public setClassMaps ( $classes ) : string
Результат string comma delimit list of class names

setEncoding() публичный Метод

public setEncoding ( $value )

setID() публичный Метод

public setID ( $id )

setProvider() публичный Метод

public setProvider ( $provider )

setSessionPersistent() публичный Метод

public setSessionPersistent ( $value )

setUri() публичный Метод

public setUri ( $uri )

setVersion() публичный Метод

public setVersion ( $value )

setWsdlUri() публичный Метод

public setWsdlUri ( $value )