Class Zend_Soap_Wsdl

Description

Located in /Zend/Soap/Wsdl.php (line 4)


	
			
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, mixed $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 21)
  • var: Class information
  • access: public
Methods
Constructor __construct (line 30)

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 139)

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 160)

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 285)

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 58)

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, mixed $parts)
  • string $name: Name for the message
addPortOperation (line 105)

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 85)

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 254)

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 212)

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 231)

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 306)

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 345)

Echo the WSDL as XML

  • access: public
boolean dump ([ $filename = false])
  • $filename
toDomDocument (line 334)

Return DOM Document

  • return: ent
  • access: public
object DomDocum toDomDocument ()
toXML (line 323)

Return the WSDL as XML

  • return: WSDL as XML
  • access: public
string toXML ()

Documentation generated on Sun, 29 Oct 2006 21:28:03 -0600 by phpDocumentor 1.3.0RC6