|
|
wsdl
nusoap_base | +-- XMLSchema | +-- wsdl
|
public class wsdl extends XMLSchema
|
|
|
Methods inherited from XMLSchema |
xmlschema, parsefile, parsestring, schemastartelement, schemaendelement, schemacharacterdata, serializeschema, expandqname, xdebug, getphptype, getlocalpart, getprefix, getnamespacefromprefix, getprefixfromnamespace, gettypedef, serializetypedef, typetoform |
|
|
|
|
|
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 |
|
|
|
|
|
|
$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 |
|
|
|
|
Generated on Mon, 22 Apr 2002 16:07:52 -0700 by PHPDoc v1.5 www.phpdoc.de
|