| Method Summary |
|
protected
SoapServer
|
Creates the SoapServer instance.
|
|
void
|
fault
( string $title, mixed $details, string $code, string $actor, string $name)
Generate a SOAP fault message.
|
|
string
|
|
|
string
|
|
|
string
|
|
|
string
|
|
|
protected
array
|
|
|
string
|
|
|
string
|
Soap method guessed from the SOAP message received.
|
|
boolean
|
|
|
string
|
|
|
string
|
|
|
string
|
Returns the WSDL content of the SOAP server.
|
|
string
|
|
|
protected
void
|
Guess the SOAP method request from the actual SOAP message
|
|
void
|
Handles the SOAP request.
|
|
void
|
|
|
string
|
|
|
void
|
|
|
void
|
|
|
void
|
|
|
void
|
|
|
void
|
|
|
void
|
|
|
void
|
|
| Method Details |
createServer
| protected SoapServer createServer |
() |
Creates the SoapServer instance.
|
fault
| public void fault |
(string $title , mixed $details , string $code , string $actor , string $name ) |
Generate a SOAP fault message.
| Input |
| string | $title | message title |
| mixed | $details | message details |
| string | $code | message code, defalt is 'SERVER'. |
| string | $actor | actors |
| string | $name | message name |
| Output |
| Exception |
|
getActor
| public string getActor |
() |
| Output |
|
string
| actor of the SOAP service |
| Exception |
|
getClassMaps
| public string getClassMaps |
() |
| Output |
|
string
| comma delimit list of complex type classes. |
| Exception |
|
getEncoding
| public string getEncoding |
() |
| Output |
|
string
| encoding of the SOAP service |
| Exception |
|
getID
| Output |
|
string
| the ID of the SOAP server |
| Exception |
|
getOptions
| protected array getOptions |
() |
| Output |
|
array
| options for creating SoapServer instance |
| Exception |
|
getProvider
| public string getProvider |
() |
| Output |
|
string
| the SOAP provider class (in namespace format) |
| Exception |
|
getRequestedMethod
| public string getRequestedMethod |
() |
Soap method guessed from the SOAP message received.
| Output |
|
string
| soap method request, null if not found. |
| Exception |
|
getSessionPersistent
| public boolean getSessionPersistent |
() |
| Output |
|
boolean
| whether the SOAP service is persistent within session. Defaults to false. |
| Exception |
|
getUri
| Output |
|
string
| the URI for the SOAP service |
| Exception |
|
getVersion
| public string getVersion |
() |
| Output |
|
string
| SOAP version, defaults to empty (meaning not set). |
| Exception |
|
getWsdl
Returns the WSDL content of the SOAP server.
If WsdlUri is set, its content will be returned. If not, the Provider class will be investigated and the WSDL will be automatically genearted.
| Output |
|
string
| the WSDL content of the SOAP server |
| Exception |
|
getWsdlUri
| public string getWsdlUri |
() |
| Output |
|
string
| the URI for WSDL |
| Exception |
|
guessMethodCallRequested
| protected void guessMethodCallRequested |
(string $class ) |
Guess the SOAP method request from the actual SOAP message
| Input |
| string | $class | current handler class. |
| Output |
| Exception |
|
run
Handles the SOAP request.
|
setActor
| public void setActor |
(string $value ) |
| Input |
| string | $value | actor of the SOAP service |
| Output |
| Exception |
|
setClassMaps
| public string setClassMaps |
(mixed $classes ) |
| Input |
| mixed | $classes | |
| Output |
|
string
| comma delimit list of class names |
| Exception |
|
setEncoding
| public void setEncoding |
(string $value ) |
| Input |
| string | $value | encoding of the SOAP service |
| Output |
| Exception |
|
setID
| public void setID |
(string $id ) |
| Input |
| string | $id | the ID of the SOAP server |
| Output |
| Exception |
| throws | TInvalidDataValueException if the ID ends with '.wsdl'. |
|
setProvider
| public void setProvider |
(string $provider ) |
| Input |
| string | $provider | the SOAP provider class (in namespace format) |
| Output |
| Exception |
|
setSessionPersistent
| public void setSessionPersistent |
(boolean $value ) |
| Input |
| boolean | $value | whether the SOAP service is persistent within session. |
| Output |
| Exception |
|
setUri
| public void setUri |
(string $uri ) |
| Input |
| string | $uri | the URI for the SOAP service |
| Output |
| Exception |
|
setVersion
| public void setVersion |
(string $value ) |
| Input |
| string | $value | SOAP version, either '1.1' or '1.2' |
| Output |
| Exception |
| throws | TInvalidDataValueException if neither '1.1' nor '1.2' |
|
setWsdlUri
| public void setWsdlUri |
(string $value ) |
| Input |
| string | $value | the URI for WSDL |
| Output |
| Exception |
|