Packageindex Classtrees Modulegroups Elementlist Report XML Files

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

AuthorsDietrich Ayala <dietricha@ganx4.com>
Versionv 0.6

 

Methods inherited from nusoap_base

nusoap_base, debug, geterror, seterror, serialize_val, serializeenvelope, timestamp_to_iso8601, iso8601_to_timestamp, formatdump

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.

Private Method Summary

object SOAPx4 parse_request([ string $data ])
parses request and posts response
boolean verify_method(object SOAPx4 $operation, $request)
takes the soapval object that was created by parsing the request
void webDescription()
prints html description of services
void configureWSDL(string $serviceName, string $namespace)
sets up wsdl object
void lib_bwcheck()
Warning: documentation is missing.
void makeObj()
Warning: documentation is missing.
void b_writeIt()
Warning: documentation is missing.
void popup()
Warning: documentation is missing.
void popout()
Warning: documentation is missing.

Fields inherited from nusoap_base

$soap_defencoding, $namespaces, $typemap, $xmlentities, $title, $version, $error_str, $charencoding

Private Field Summary

array $operations

boolean $responseHeaders

string $headers

string $request

string $charset_encoding

boolean $fault

string $result

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 $methodname
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
string $name
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 $faultcode
string $faultactor
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


Private Field Details

$operations

private array $operations

>>array()<<


$responseHeaders

private boolean $responseHeaders

>>false<<


$headers

private string $headers

>>""<<


$request

private string $request

>>""<<


$charset_encoding

private string $charset_encoding

>>"UTF-8"<<


$fault

private boolean $fault

>>false<<


$result

private string $result

>>"successful"<<



Packageindex Classtrees Modulegroups Elementlist Report XML Files
Generated on Mon, 22 Apr 2002 16:07:52 -0700 by PHPDoc v1.5 www.phpdoc.de