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 = ''
Detailsarray $_includedTypes = 'array'Types defined on schema
DetailsDOMElement $_schema = 'null'
Details $_strategy = 'null'Strategy for detection of complex types
Detailsstring $_uri = ''
Detailsobject $_wsdl = ''
Details__construct(
string $name, string $uri, boolean|string|Zend_Soap_Wsdl_Strategy_Interface $strategy
=
true
)
:
Constructor
Details_parseElement(
array $element
)
:
DOMElementParse an xsd:element represented as an array into a DOMElement.
DetailsaddBinding(
string $name, $portType
)
:
objectAdd a {@link http://www.w3.org/TR/wsdl#_bindings binding} element to WSDL
DetailsaddBindingOperation(
object $binding, $name, array $input
=
false, array $output
=
false, array $fault
=
false
)
:
objectAdd an operation to a binding element
DetailsaddComplexType(
string $type
)
:
stringAdd a {@link http://www.w3.org/TR/wsdl#_types types} data type definition
DetailsaddDocumentation(
object $input_node, string $documentation
)
:
DOMElementAdd 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'.
DetailsaddElement(
array $element
)
:
stringAdd 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:
DetailsaddMessage(
string $name, array $parts
)
:
objectAdd a {@link http://www.w3.org/TR/wsdl#_messages message} element to the WSDL
DetailsaddPortOperation(
object $portType, string $name, string $input
=
false, string $output
=
false, string $fault
=
false
)
:
objectAdd an {@link http://www.w3.org/TR/wsdl#_request-response operation} element to a portType element
DetailsaddPortType(
string $name
)
:
objectAdd a {@link http://www.w3.org/TR/wsdl#_porttypes portType} element to the WSDL
DetailsaddSchemaTypeSection(
)
:
Zend_Soap_WsdlThis function makes sure a complex types section and schema additions are set.
DetailsaddService(
string $name, string $port_name, string $binding, string $location
)
:
objectAdd a {@link http://www.w3.org/TR/wsdl#_services service} element to the WSDL
DetailsaddSoapBinding(
object $binding, string $style
=
document, string $transport
=
http://schemas.xmlsoap.org/soap/http
)
:
booleanAdd a {@link http://www.w3.org/TR/wsdl#_soap:binding SOAP binding} element to a Binding element
DetailsaddSoapOperation(
$binding, string $soap_action
)
:
booleanAdd a {@link http://www.w3.org/TR/wsdl#_soap:operation SOAP operation} to an operation element
DetailsaddType(
string $type
)
:
Zend_Soap_WsdlAdd a complex type name that is part of this WSDL and can be used in signatures.
DetailsaddTypes(
object $types
)
:
Add WSDL Types element
Detailsdump(
$filename
=
false
)
:
booleanEcho the WSDL as XML
DetailsgetComplexTypeStrategy(
)
:
Zend_Soap_Wsdl_Strategy_InterfaceGet the current complex type strategy
DetailsgetSchema(
)
:
DOMElementReturn the Schema node of the WSDL
DetailsgetType(
string $type
)
:
stringReturns an XSD Type for the given PHP type
DetailsgetTypes(
)
:
arrayReturn an array of all currently included complex types
DetailssetComplexTypeStrategy(
boolean|string|Zend_Soap_Wsdl_Strategy_Interface $strategy
)
:
Zend_Soap_WsdlSet a strategy for complex type detection and handling
DetailssetUri(
string|Zend_Uri_Http $uri
)
:
Zend_Server_WsdlSet a new uri for this WSDL
DetailstoDomDocument(
)
:
objectReturn DOM Document
DetailstoXML(
)
:
stringReturn the WSDL as XML
Details