Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
Zend_Soap_Wsdl
object $_dom = ''
array $_includedTypes = 'array'
Types defined on schema
DOMElement $_schema = 'null'
$_strategy = 'null'
Strategy for detection of complex types
string $_uri = ''
object $_wsdl = ''
__construct(
string $name, string $uri, boolean|string|Zend_Soap_Wsdl_Strategy_Interface $strategy
=
true
)
:
Constructor
_parseElement(
array $element
)
:
DOMElement
Parse an xsd:element represented as an array into a DOMElement.
addBinding(
string $name, $portType
)
:
object
Add a {@link http://www.w3.org/TR/wsdl#_bindings binding} element to WSDL
addBindingOperation(
object $binding, $name, array $input
=
false, array $output
=
false, array $fault
=
false
)
:
object
Add an operation to a binding element
addComplexType(
string $type
)
:
string
Add a {@link http://www.w3.org/TR/wsdl#_types types} data type definition
addDocumentation(
object $input_node, string $documentation
)
:
DOMElement
Add a documentation element to any element in the WSDL.
Note that the WSDL {@link http://www.w3.org/TR/wsdl#_documentation specification} uses 'document', but the WSDL {@link http://schemas.xmlsoap.org/wsdl/ schema} uses 'documentation' instead. The {@link http://www.ws-i.org/Profiles/BasicProfile-1.1-2004-08-24.html#WSDL_documentation_Element WS-I Basic Profile 1.1} recommends using 'documentation'.
addElement(
array $element
)
:
string
Add an xsd:element represented as an array to the schema.
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:
addMessage(
string $name, array $parts
)
:
object
Add a {@link http://www.w3.org/TR/wsdl#_messages message} element to the WSDL
addPortOperation(
object $portType, string $name, string $input
=
false, string $output
=
false, string $fault
=
false
)
:
object
Add an {@link http://www.w3.org/TR/wsdl#_request-response operation} element to a portType element
addPortType(
string $name
)
:
object
Add a {@link http://www.w3.org/TR/wsdl#_porttypes portType} element to the WSDL
addSchemaTypeSection(
)
:
Zend_Soap_Wsdl
This function makes sure a complex types section and schema additions are set.
addService(
string $name, string $port_name, string $binding, string $location
)
:
object
Add a {@link http://www.w3.org/TR/wsdl#_services service} element to the WSDL
addSoapBinding(
object $binding, string $style
=
document, string $transport
=
http://schemas.xmlsoap.org/soap/http
)
:
boolean
Add a {@link http://www.w3.org/TR/wsdl#_soap:binding SOAP binding} element to a Binding element
addSoapOperation(
$binding, string $soap_action
)
:
boolean
Add a {@link http://www.w3.org/TR/wsdl#_soap:operation SOAP operation} to an operation element
addType(
string $type
)
:
Zend_Soap_Wsdl
Add a complex type name that is part of this WSDL and can be used in signatures.
addTypes(
object $types
)
:
Add WSDL Types element
dump(
$filename
=
false
)
:
boolean
Echo the WSDL as XML
getComplexTypeStrategy(
)
:
Zend_Soap_Wsdl_Strategy_Interface
Get the current complex type strategy
getSchema(
)
:
DOMElement
Return the Schema node of the WSDL
getType(
string $type
)
:
string
Returns an XSD Type for the given PHP type
getTypes(
)
:
array
Return an array of all currently included complex types
setComplexTypeStrategy(
boolean|string|Zend_Soap_Wsdl_Strategy_Interface $strategy
)
:
Zend_Soap_Wsdl
Set a strategy for complex type detection and handling
setUri(
string|Zend_Uri_Http $uri
)
:
Zend_Server_Wsdl
Set a new uri for this WSDL
toDomDocument(
)
:
object
Return DOM Document
toXML(
)
:
string
Return the WSDL as XML