Packageindex | Classtrees | Modulegroups | Elementlist | Report | XML Files
###### # wsdl
    nusoap_base
       |
      +-- XMLSchema
         |
        +-- wsdl
#### public class wsdl extends XMLSchema
Authors | Dietrich Ayala <dietricha@ganx4.com>
Version | v 0.6
## Methods inherited from XMLSchema
xmlschema, parsefile, parsestring, schemastartelement, schemaendelement, schemacharacterdata, serializeschema, expandqname, xdebug, getphptype, getlocalpart, getprefix, getnamespacefromprefix, getprefixfromnamespace, gettypedef, serializetypedef, typetoform
## Methods inherited from nusoap_base
nusoap_base, debug, geterror, seterror, serialize_val, serializeenvelope, timestamp_to_iso8601, iso8601_to_timestamp, formatdump
## Public Method Summary
void | wsdl([ string $wsdl ]) constructor
array | getOperations([ string $bindingType ]) returns an assoc array of operation names => operation data
array | getOperationData(string $operation, [ string $bindingType ]) returns an associative array of data necessary for calling an operation
string | serialize() serialize the parsed wsdl
string | serializeType(string $name, string $type, mixed $value) serializes a PHP value according a given type definition
## Private Method Summary
void | parseWSDL([ string $wsdl ]) parses the wsdl document
void | start_element(string $parser, string $name, string $attrs) start-element handler
void | end_element(string $parser, string $name) end-element handler
void | character_data(string $parser, string $data) element content handler
mixed | serializeRPCParameters(string $operation, mixed $direction, $parameters) serialize a PHP value according to a WSDL message definition
void | getBindingData( $binding) Warning: documentation is missing.
void | getMessageData( $operation, $portType, $msgType) Warning: documentation is missing.
## Fields inherited from nusoap_base
$soap_defencoding, $namespaces, $typemap, $xmlentities, $title, $version, $error_str, $charencoding
## Public Method Details
#### wsdl
public void wsdl([ string $wsdl ])
Parameter
string | $wsdl | `= >>""<<`
| WSDL document URL
Returns | void
#### getOperations
public array getOperations([ string $bindingType ])
| NOTE: currently only supports multiple services of differing binding types This method needs some work
Parameter
string | $bindingType | `= >>"soap"<<`
| eg: soap, smtp, dime (only soap is currently supported)
Returns | array
#### getOperationData
public array getOperationData(string $operation, [ string $bindingType ])
Parameter
string | $operation | ``
| , name of operation
string | $bindingType | `= >>"soap"<<`
| , type of binding eg: soap
Returns | array
#### serialize
public string serialize()
Returns | string , serialization of WSDL
#### serializeType
public string serializeType(string $name, string $type, mixed $value)
Parameter
string | $name | ``
| , name of type
string | $type | ``
| , type of type, heh
mixed | $value | ``
| , a native PHP value
Returns | string serialization
## Private Method Details
#### parseWSDL
private void parseWSDL([ string $wsdl ])
Parameter
string | $wsdl | `= >>""<<`
| path or URL
Returns | void
#### start_element
private void start_element(string $parser, string $name, string $attrs)
Parameter
string | $parser | ``
| XML parser object
string | $name | ``
| element name
string | $attrs | ``
| associative array of attributes
Returns | void
#### end_element
private void end_element(string $parser, string $name)
Parameter
string | $parser | ``
| XML parser object
string | $name | ``
| element name
Returns | void
#### character_data
private void character_data(string $parser, string $data)
Parameter
string | $parser | ``
| XML parser object
string | $data | ``
| element content
Returns | void
#### serializeRPCParameters
private mixed serializeRPCParameters(string $operation, mixed $direction, $parameters)
| TODO - only serialize namespaces used in the message - multi-ref serialization - validate PHP values against type definitions, return errors if invalid - probably more stuff :) - implement 'out' functionality or write new function for 'out' parameters
Parameter
string | $operation | ``
| name
mixed | $direction | ``
| value
| $parameters | ``
| Warning: documentation is missing.
Returns | mixed new param or false if initial value didn't validate
#### getBindingData
private void getBindingData( $binding)
| Warning: documentation is missing.
Parameter
| $binding | ``
| Warning: documentation is missing.
Returns | void
#### getMessageData
private void getMessageData( $operation, $portType, $msgType)
| Warning: documentation is missing.
Parameter
| $operation | ``
| Warning: documentation is missing.
| $portType | ``
| Warning: documentation is missing.
| $msgType | ``
| Warning: documentation is missing.
Returns | void
Packageindex | Classtrees | Modulegroups | Elementlist | Report | XML Files
Generated on Mon, 22 Apr 2002 16:07:52 -0700 by PHPDoc v1.5 www.phpdoc.de