Zend_Soap_Wsdl
category | Zend |
---|---|
package | Zend_Soap |
__construct(string $name, string $uri, boolean|string|\Zend_Soap_Wsdl_Strategy_Interface $strategy = true
)
string
Name of the Web Service being Described
string
URI where the WSDL will be available
boolean
string
\Zend_Soap_Wsdl_Strategy_Interface
addBinding(string $name, $portType) : object
string
Name of the Binding
object
The new binding's XML_Tree_Node for use with {@link function addBindingOperation} and {@link function addDocumentation}addBindingOperation(object $binding, $name, array $input= false
, array $output= false
, array $fault= false
) : object
object
A binding XML_Tree_Node returned by {@link function addBinding}
array
An array of attributes for the input element, allowed keys are: 'use', 'namespace', 'encodingStyle'. {@link http://www.w3.org/TR/wsdl#_soap:body More Information}
array
An array of attributes for the output element, allowed keys are: 'use', 'namespace', 'encodingStyle'. {@link http://www.w3.org/TR/wsdl#_soap:body More Information}
array
An array of attributes for the fault element, allowed keys are: 'name', 'use', 'namespace', 'encodingStyle'. {@link http://www.w3.org/TR/wsdl#_soap:body More Information}
object
The new Operation's XML_Tree_Node for use with {@link function addSoapOperation} and {@link function addDocumentation}addComplexType(string $type) : string
string
Name of the class to be specified
string
XSD Type for the given PHP typeaddDocumentation(object $input_node, string $documentation) : \DOMElement
Note that the WSDL specification uses 'document', but the WSDL schema uses 'documentation' instead. The WS-I Basic Profile 1.1 recommends using 'documentation'.
object
An XML_Tree_Node returned by another method to add the documentation to
string
Human readable documentation for the node
\DOMElement
The documentation elementaddElement(array $element) : string
Array keys represent attribute names and values their respective value. The 'sequence', 'all' and 'choice' keys must have an array of elements as their value, to add them to a nested complexType.
Example: array( 'name' => 'MyElement',
'sequence' => array( array('name' => 'myString', 'type' => 'string'),
array('name' => 'myInteger', 'type' => 'int') ) );
Resulting XML:
<xsd:element name="myInteger" type="int"/>
</xsd:sequence></xsd:complexType></xsd:element>
array
an xsd:element represented as an array
string
xsd:element for the given element arrayaddMessage(string $name, array $parts) : object
array
An array of {@link http://www.w3.org/TR/wsdl#_message parts} The array is constructed like: 'name of part' => 'part xml schema data type' or 'name of part' => array('type' => 'part xml schema type') or 'name of part' => array('element' => 'part xml element name')
object
The new message's XML_Tree_Node for use in {@link function addDocumentation}addPortOperation(object $portType, string $name, string $input= false
, string $output= false
, string $fault= false
) : object
object
a portType XML_Tree_Node, from {@link function addPortType}
string
Operation name
string
Input Message
string
Output Message
string
Fault Message
object
The new operation's XML_Tree_Node for use in {@link function addDocumentation}addPortType(string $name) : object
string
portType element's name
object
The new portType's XML_Tree_Node for use in {@link function addPortOperation} and {@link function addDocumentation}addSchemaTypeSection() : \Zend_Soap_Wsdl
\Zend_Soap_Wsdl
addService(string $name, string $port_name, string $binding, string $location) : object
string
Service Name
string
Name of the port for the service
string
Binding for the port
string
SOAP Address for the service
object
The new service's XML_Tree_Node for use with {@link function addDocumentation}addSoapBinding(object $binding, string $style= 'document'
, string $transport= 'http://schemas.xmlsoap.org/soap/http'
) : boolean
object
A binding XML_Tree_Node returned by {@link function addBinding}
string
binding style, possible values are "rpc" (the default) and "document"
string
Transport method (defaults to HTTP)
boolean
addSoapOperation($binding, string $soap_action) : boolean
string
SOAP Action
boolean
addType(string $type) : \Zend_Soap_Wsdl
string
\Zend_Soap_Wsdl
addTypes(object $types)
object
A DomDocument|DomNode|DomElement|DomDocumentFragment with all the XML Schema types defined in it
dump($filename = false
) : boolean
boolean
getComplexTypeStrategy() : \Zend_Soap_Wsdl_Strategy_Interface
\Zend_Soap_Wsdl_Strategy_Interface
getSchema() : \DOMElement
\DOMElement
getType(string $type) : string
string
PHP Type to get the XSD type for
string
getTypes() : array
array
setComplexTypeStrategy(boolean|string|\Zend_Soap_Wsdl_Strategy_Interface $strategy) : \Zend_Soap_Wsdl
todo | Boolean is for backwards compability with extractComplexType object var. Remove it in later versions. |
---|
boolean
string
\Zend_Soap_Wsdl_Strategy_Interface
\Zend_Soap_Wsdl
setUri(string|\Zend_Uri_Http $uri) : \Zend_Server_Wsdl
string
\Zend_Uri_Http
\Zend_Server_Wsdl
toDomDocument() : object
object
DomDocum enttoXML() : string
string
WSDL as XML_parseElement(array $element) : \DOMElement
array
an xsd:element represented as an array
\DOMElement
parsed element$_strategy
null
$_dom : object
$_includedTypes : array
array()
$_schema : \DOMElement
null
$_uri : string
$_wsdl : object