## Zend_Soap_Wsdl

Description

Located in /Soap/Wsdl.php (line 24)

Variable Summary
array $class
Method Summary
Zend_Soap_Wsdl __construct (string $name, string $uri)
object The &addBinding (string $name, $portType, string $type)
object The &addBindingOperation (object &$binding, $name, [array $input = false], [array $output = false], [array $fault = false])
boolean addDocumentation (object $input_node, $documenation, string $document)
object The &addMessage (string $name, array $parts)
object The &addPortOperation (object &$portType, string $name, [string $input = false], [string $output = false], [string $fault = false])
object The &addPortType (string $name)
object The &addService (string $name, string $port_name, string $binding, string $location)
boolean addSoapBinding (object &$binding, [string $style = 'document'], [string $transport = 'http://schemas.xmlsoap.org/soap/http'])
boolean addSoapOperation ( &$binding, string $soap_action, object &$operation)
void addTypes (object $types)
boolean dump ([ $filename = false])
object DomDocum toDomDocument ()
string toXML ()
Variables
array $class (line 41)

- var: Class information
- access: public

Methods
Constructor __construct (line 50)

Constructor

- access: public

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

addBinding (line 159)

Add a binding element to WSDL

- return: new binding's XML_Tree_Node for use with function addBindingOperation and function addDocumentation
- access: public

object The &addBinding (string $name, $portType, string $type)

- string $name: Name of the Binding
- string $type: name of the portType to bind
- $portType

addBindingOperation (line 180)

Add an operation to a binding element

- return: new Operation's XML_Tree_Node for use with function addSoapOperation and function addDocumentation
- access: public

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

addDocumentation (line 305)

Add a document element to any element in the WSDL

- access: public

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

addMessage (line 78)

Add a message element to the WSDL

- return: new message's XML_Tree_Node for use in function addDocumentation
- access: public

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'

addPortOperation (line 125)

Add an operation element to a portType element

- return: new operation's XML_Tree_Node for use in function addDocumentation
- access: public

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

addPortType (line 105)

Add a portType element to the WSDL

- return: new portType's XML_Tree_Node for use in function addPortOperation and function addDocumentation
- access: public

object The &addPortType (string $name)

- string $name: portType element's name

addService (line 274)

Add a service element to the WSDL

- return: new service's XML_Tree_Node for use with function addDocumentation
- access: public

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

addSoapBinding (line 232)

Add a SOAP binding element to a Binding element

- access: public

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)

addSoapOperation (line 251)

Add a SOAP operation to an operation element

- access: public

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

addTypes (line 326)

Add WSDL Types element

- access: public

void addTypes (object $types)

- object $types: A DomDocument|DomNode|DomElement|DomDocumentFragment with all the XML Schema types defined in it

dump (line 365)

Echo the WSDL as XML

- access: public

boolean dump ([ $filename = false])

- $filename

toDomDocument (line 354)

Return DOM Document

- return: ent
- access: public

object DomDocum toDomDocument ()
toXML (line 343)

Return the WSDL as XML

- return: WSDL as XML
- access: public

string toXML ()

Documentation generated on Wed, 21 Feb 2007 12:03:14 -0800 by phpDocumentor 1.3.1