|
|
soap_server
nusoap_base | +-- soap_server
|
public class soap_server extends nusoap_base
that is capable of receiving messages and returning responses NOTE: WSDL functionality is experimental
|
|
|
|
Public Method Summary |
void |
soap_server([ boolean $wsdl ]) constructor
|
void |
service(string $data) processes request and returns response
|
void |
add_to_map(string $methodname, string $in, string $out) add a method to the dispatch map
|
void |
register(string $name, [ boolean $in, boolean $out, boolean $namespace, boolean $soapaction, boolean $style ]) register a service with the server
|
void |
fault(string $faultcode, string $faultactor, [ string $faultstring, string $faultdetail ]) create a fault. this also acts as a flag to the server that a fault has occured.
|
|
|
|
|
Public Method Details |
soap_server |
public void soap_server([ boolean $wsdl ])
|
|
|
Parameter |
|
boolean |
$wsdl |
= >>false<< |
|
path or URL to a WSDL file |
|
Returns |
void |
|
service |
public void service(string $data)
|
|
|
Parameter |
|
string |
$data |
|
|
usually is the value of $HTTP_RAW_POST_DATA |
|
Returns |
void |
|
add_to_map |
public void add_to_map(string $methodname, string $in, string $out)
|
|
|
Parameter |
|
|
|
string |
$in |
|
|
array of input values |
|
|
string |
$out |
|
|
array of output values |
|
Returns |
void |
|
register |
public void register(string $name, [ boolean $in, boolean $out, boolean $namespace, boolean $soapaction, boolean $style ])
|
|
|
Parameter |
|
|
|
boolean |
$in |
= >>false<< |
|
array of input values |
|
|
boolean |
$out |
= >>false<< |
|
array of output values |
|
|
boolean |
$namespace |
= >>false<< |
|
|
|
|
boolean |
$soapaction |
= >>false<< |
|
|
|
|
boolean |
$style |
= >>false<< |
|
(rpc|literal) |
|
Returns |
void |
|
fault |
public void fault(string $faultcode, string $faultactor, [ string $faultstring, string $faultdetail ])
|
|
|
Parameter |
|
|
|
|
|
string |
$faultstring |
= >>''<< |
|
|
|
|
string |
$faultdetail |
= >>''<< |
|
|
|
Returns |
void |
|
|
Private Method Details |
parse_request |
private object SOAPx4 parse_request([ string $data ])
|
|
|
Parameter |
|
string |
$data |
= >>""<< |
|
XML string |
|
Returns |
object SOAPx4 soapmsg object |
|
verify_method |
private boolean verify_method(object SOAPx4 $operation, $request)
|
|
and compares to the method's signature, if available.
|
Parameter |
|
object SOAPx4 |
$operation |
|
|
soapval object |
|
|
|
$request |
|
|
Warning: documentation is missing. |
|
Returns |
boolean |
|
webDescription |
private void webDescription()
|
|
|
Returns |
void |
|
configureWSDL |
private void configureWSDL(string $serviceName, string $namespace)
|
|
this acts as a flag to enable internal WSDL generation NOTE: NOT FUNCTIONAL
|
Parameter |
|
string |
$serviceName |
|
|
, name of the service |
|
|
string |
$namespace |
|
|
, tns namespace |
|
Returns |
void |
|
lib_bwcheck |
private void lib_bwcheck()
|
|
Warning: documentation is missing.
|
Returns |
void |
|
makeObj |
private void makeObj()
|
|
Warning: documentation is missing.
|
Returns |
void |
|
b_writeIt |
private void b_writeIt()
|
|
Warning: documentation is missing.
|
Returns |
void |
|
popup |
private void popup()
|
|
Warning: documentation is missing.
|
Returns |
void |
|
popout |
private void popout()
|
|
Warning: documentation is missing.
|
Returns |
void |
|
|
|
|
|
Generated on Mon, 22 Apr 2002 16:07:52 -0700 by PHPDoc v1.5 www.phpdoc.de
|