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
파일 보기 프로젝트 열기: pradosoft/prado

공개 메소드들

메소드 설명
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 )