ZendSoapWsdl
Constructor
Parameters: |
|
---|---|
Throws ExceptionRuntimeException: | |
URL encode query part of the URI if it is present.
Parameters: | string – |
---|---|
Return type: | string |
Convert encoded ampersand back to decoded value, to avoid double encoding by DOMElement::setAttribute()
Parameters: | $uri – |
---|---|
Return type: | mixed |
Retrieve target namespace of the WSDL document.
Return type: | string |
---|
Get the class map of php to wsdl qname types.
Return type: | array |
---|
Set a new uri for this WSDL
Parameters: | string|Uri – |
---|---|
Return type: | ZendSoapWsdl |
Set a strategy for complex type detection and handling
Parameters: | ComplexTypeStrategy – |
---|---|
Return type: | ZendSoapWsdl |
Get the current complex type strategy
Return type: | ComplexTypeStrategy |
---|
Add a {@link http://www.w3.org/TR/wsdl#_messages message} element to the WSDL
Parameters: |
|
---|---|
Return type: | DOMElement The new message’s XML_Tree_Node for use in {@link function addDocumentation} |
Add a {@link http://www.w3.org/TR/wsdl#_porttypes portType} element to the WSDL
Parameters: | string – portType element’s name |
---|---|
Return type: | DOMElement The new portType’s XML_Tree_Node for use in {@link function addPortOperation} and {@link function addDocumentation} |
Add an {@link http://www.w3.org/TR/wsdl#request-response operation} element to a portType element
Parameters: |
|
---|---|
Return type: | DOMElement The new operation’s XML_Tree_Node for use in {@link function addDocumentation} |
Add a {@link http://www.w3.org/TR/wsdl#_bindings binding} element to WSDL
Parameters: |
|
---|---|
Return type: | DOMElement The new binding’s XML_Tree_Node for use with {@link function addBindingOperation} and {@link function addDocumentation} |
Add an operation to a binding element
Parameters: |
|
---|---|
Return type: | DOMElement The new Operation’s XML_Tree_Node for use with {@link function addSoapOperation} and {@link function addDocumentation} |
Add a {@link http://www.w3.org/TR/wsdl#_soap:binding SOAP binding} element to a Binding element
Parameters: |
|
---|---|
Return type: | DOMElement |
Add a {@link http://www.w3.org/TR/wsdl#_soap:operation SOAP operation} to an operation element
Parameters: |
|
---|---|
Return type: | DOMElement |
Add a {@link http://www.w3.org/TR/wsdl#_services service} element to the WSDL
Parameters: |
|
---|---|
Return type: | DOMElement The new service’s XML_Tree_Node for use with {@link function addDocumentation} |
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’.
Parameters: |
|
---|---|
Return type: | DOMElement The documentation element |
Add WSDL Types element
Parameters: | DOMNode – A DOM Node with all the XML Schema types defined in it |
---|
Add a complex type name that is part of this WSDL and can be used in signatures.
Parameters: |
|
---|---|
Return type: | ZendSoapWsdl |
Return an array of all currently included complex types
Return type: | array |
---|
Echo the WSDL as XML to stdout or save the WSDL to a file
Parameters: | bool|string – Filename to save the output (Optional) |
---|---|
Return type: | bool |
Returns an XSD Type for the given PHP type
Parameters: | string – PHP Type to get the XSD type for |
---|---|
Return type: | string |
This function makes sure a complex types section and schema additions are set.
Return type: | ZendSoapWsdl |
---|
Translate PHP type into WSDL QName
Parameters: | string – |
---|---|
Return type: | string QName |
Add a {@link http://www.w3.org/TR/wsdl#_types types} data type definition
Parameters: | string – Name of the class to be specified |
---|---|
Return type: | string XSD Type for the given PHP type |
Parse an xsd:element represented as an array into a DOMElement.
Parameters: | array – an xsd:element represented as an array |
---|---|
Throws ExceptionRuntimeException: | |
if $element is not an array | |
Return type: | DOMElement parsed element |
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.
<xsd:element name=”myString” type=”string”/> <xsd:element name=”myInteger” type=”int”/>
</xsd:sequence></xsd:complexType></xsd:element>
Parameters: | array – an xsd:element represented as an array |
---|---|
Return type: | string xsd:element for the given element array |