Constructor
Zend_Soap_Wsdl
__construct
(string $name, string $uri)
-
string
$name: Name of the Web Service being Described
-
string
$uri: URI where the WSDL will be available
Add a binding element to WSDL
object The
&addBinding
(string $name, $portType, string $type)
-
string
$name: Name of the Binding
-
string
$type: name of the portType to bind
-
$portType
Add an operation to a binding element
object The
&addBindingOperation
(object &$binding, $name, [array $input = false], [array $output = false], [array $fault = false])
-
object
&$binding: A binding XML_Tree_Node returned by function addBinding
-
array
$input: An array of attributes for the input element, allowed keys are: 'use', 'namespace', 'encodingStyle'. More Information
-
array
$output: An array of attributes for the output element, allowed keys are: 'use', 'namespace', 'encodingStyle'. More Information
-
array
$fault: An array of attributes for the fault element, allowed keys are: 'name', 'use', 'namespace', 'encodingStyle'. More Information
-
$name
Add a document element to any element in the WSDL
boolean
addDocumentation
(object $input_node, $documenation, string $document)
-
object
$input_node: An XML_Tree_Node returned by another method to add the document to
-
string
$document: Human readable documentation for the node
-
$documenation
Add a message element to the WSDL
object The
&addMessage
(string $name, array $parts)
-
string
$name: Name for the message
-
array
$parts: An array of parts The array is constructed like: 'name of part' => 'part xml schema data type'
Add an operation element to a portType element
object The
&addPortOperation
(object &$portType, string $name, [string $input = false], [string $output = false], [string $fault = false])
-
object
&$portType: a portType XML_Tree_Node, from function addPortType
-
string
$name: Operation name
-
string
$input: Input Message
-
string
$output: Output Message
-
string
$fault: Fault Message
Add a portType element to the WSDL
object The
&addPortType
(string $name)
-
string
$name: portType element's name
Add a service element to the WSDL
object The
&addService
(string $name, string $port_name, string $binding, string $location)
-
string
$name: Service Name
-
string
$port_name: Name of the port for the service
-
string
$binding: Binding for the port
-
string
$location: SOAP Address for the service
Add a SOAP binding element to a Binding element
boolean
addSoapBinding
(object &$binding, [string $style = 'document'], [string $transport = 'http://schemas.xmlsoap.org/soap/http'])
-
object
&$binding: A binding XML_Tree_Node returned by function addBinding
-
string
$style: binding style, possible values are "rpc" (the default) and "document"
-
string
$transport: Transport method (defaults to HTTP)
Add a SOAP operation to an operation element
boolean
addSoapOperation
( &$binding, string $soap_action, object &$operation)
-
object
&$operation: An operation XML_Tree_Node returned by function addBindingOperation
-
string
$soap_action: SOAP Action
-
&$binding
Add WSDL Types element
void
addTypes
(object $types)
-
object
$types: A DomDocument|DomNode|DomElement|DomDocumentFragment with all the XML Schema types defined in it
Echo the WSDL as XML
boolean
dump
([ $filename = false])
Return DOM Document
object DomDocum
toDomDocument
()
Return the WSDL as XML
string
toXML
()