__construct()
addBinding()
addBindingOperation()
addComplexType()
addDocumentation()
addElement()
addMessage()
addPortOperation()
addPortType()
addSchemaTypeSection()
addService()
addSoapBinding()
addSoapOperation()
addType()
addTypes()
dump()
getClassMap()
getComplexTypeStrategy()
getSchema()
getTargetNamespace()
getType()
getTypes()
getUri()
sanitizeUri()
setClassMap()
setComplexTypeStrategy()
setUri()
toDomDocument()
toXML()
translateType()
_parseElement()
arrayToAttributes()
getDOMDocument()
getSoapNamespaceUriByVersion()
sanitizeAttributeValueByName()
setAttribute()
setAttributeWithSanitization()
$classMap
$dom
$includedTypes
$schema
$strategy
$uri
$wsdl
SOAP_11_NS
SOAP_11_NS_URI
SOAP_12_NS
SOAP_12_NS_URI
SOAP_ENC_NS
SOAP_ENC_URI
TYPES_NS
WSDL_NS
WSDL_NS_URI
XML_NS
XML_NS_URI
XSD_NS
XSD_NS_URI
__construct(string $name, string | \Zend\Uri\Uri $uri, \Zend\Soap\Wsdl\ComplexTypeStrategy\ComplexTypeStrategyInterface $strategy, array $classMap)
stringName of the Web Service being Described
null\Zend\Soap\Wsdl\ComplexTypeStrategy\ComplexTypeStrategyInterfaceStrategy for detection of complex types
nullarrayMap of PHP Class names to WSDL QNames
\Zend\Soap\Exception\RuntimeException |
|---|
addBinding(string $name, string $portType) : \DOMElement
stringName of the Binding
stringname of the portType to bind
\DOMElementThe new binding's XML_Tree_Node for use with {@link function addBindingOperation} and {@link function addDocumentation}addBindingOperation(\DOMElement $binding, string $name, array | bool $input, array | bool $output, array | bool $fault, int $soapVersion) : \DOMElement
string
arrayboolAn array of attributes for the input element, allowed keys are: 'use', 'namespace', 'encodingStyle'. {@link http://www.w3.org/TR/wsdl#_soap:body More Information}
arrayboolAn array of attributes for the output element, allowed keys are: 'use', 'namespace', 'encodingStyle'. {@link http://www.w3.org/TR/wsdl#_soap:body More Information}
arrayboolAn array with attributes for the fault element, allowed keys are: 'name', 'use', 'namespace', 'encodingStyle'. {@link http://www.w3.org/TR/wsdl#_soap:body More Information}
intSOAP version: SOAP_1_1 or SOAP_1_2, default: SOAP_1_1
\DOMElementThe new Operation's XML_Tree_Node for use with {@link function addSoapOperation} and {@link function addDocumentation}addComplexType(string $type) : string
stringName of the class to be specified
stringXSD Type for the given PHP typeaddDocumentation(\DOMElement $inputNode, 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'.
stringHuman readable documentation for the node
\DOMElementThe 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:
arrayan xsd:element represented as an array
stringxsd:element for the given element arrayaddMessage(string $messageName, array $parts) : \DOMElement
stringName for the {@link http://www.w3.org/TR/wsdl#_messages message}
arrayAn 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')
\DOMElementThe new message's XML_Tree_Node for use in {@link function addDocumentation}addPortOperation(\DOMElement $portType, string $name, bool | string $input, bool | string $output, bool | string $fault) : \DOMElement
stringOperation name
boolstringInput Message
boolstringOutput Message
boolstringFault Message
\DOMElementThe new operation's XML_Tree_Node for use in {@link function addDocumentation}addPortType(string $name) : \DOMElement
stringportType element's name
\DOMElementThe new portType's XML_Tree_Node for use in {@link function addPortOperation} and addDocumentation@link function addDocumentation}addSchemaTypeSection() : \Zend\Soap\self
\Zend\Soap\selfaddService(string $name, string $portName, string $binding, string $location, int $soapVersion) : \DOMElement
stringService Name
stringName of the port for the service
stringBinding for the port
stringSOAP Address for the service
intSOAP version: SOAP_1_1 or SOAP_1_2, default: SOAP_1_1
\DOMElementThe new service's XML_Tree_Node for use with {@link function addDocumentation}addSoapBinding(\DOMElement $binding, string $style, string $transport, int $soapVersion) : \DOMElement
stringbinding style, possible values are "rpc" (the default) and "document"
stringTransport method (defaults to HTTP)
intSOAP version: SOAP_1_1 or SOAP_1_2, default: SOAP_1_1
addSoapOperation(\DOMElement $operation, string $soapAction, int $soapVersion) : \DOMElement
stringSOAP Action
intSOAP version: SOAP_1_1 or SOAP_1_2, default: SOAP_1_1
addType(string $type, string $wsdlType) : \Zend\Soap\self
string
string
\Zend\Soap\selfaddTypes(\DOMNode $types)
\DOMDocument\DOMNode\DOMElement\DOMDocumentFragmentA DOMDocument|DOMNode|DOMElement|DOMDocumentFragment with all the XML Schema types defined in it
dump(bool $filename) : bool
bool
boolgetClassMap() : array
.
arraygetComplexTypeStrategy() : \Zend\Soap\Wsdl\ComplexTypeStrategy\ComplexTypeStrategyInterface
getTargetNamespace() : string
stringgetType(string $type) : string
stringPHP Type to get the XSD type for
stringgetTypes() : array
arraygetUri() : string
stringsanitizeUri(string | \Zend\Uri\Uri $uri) : string
string\Zend\Uri\Uri
\Zend\Soap\Exception\InvalidArgumentException |
|---|
stringsetClassMap(array $classMap) : \Zend\Soap\self
.
array
\Zend\Soap\selfsetComplexTypeStrategy(\Zend\Soap\Wsdl\ComplexTypeStrategy\ComplexTypeStrategyInterface $strategy) : \Zend\Soap\self
\Zend\Soap\selftoXML() : string
stringWSDL as XMLtranslateType(string $type) : string
string
stringQName_parseElement(array $element) : \DOMElement
arrayan xsd:element represented as an array
\Zend\Soap\Exception\RuntimeException |
if $element is not an array |
|---|
\DOMElementparsed elementarrayToAttributes(\DOMNode $node, array $attributes, bool $withSanitizer)
getDOMDocument(string $name, string $uri) : \DOMDocument
getSoapNamespaceUriByVersion(int $soapVersion) : string
intSOAP_1_1 or SOAP_1_2 constants
\Zend\Soap\Exception\InvalidArgumentException |
|---|
stringsanitizeAttributeValueByName(string $name, mixed $value) : string
string
mixed
stringsafe value or original $valuesetAttribute(\DOMNode $node, string $attributeName, mixed $attributeValue)
setAttributeWithSanitization(\DOMNode $node, string $attributeName, mixed $attributeValue)
$classMap : array
$includedTypes : array
$strategy
$uri : string
SOAP_11_NS
SOAP_11_NS_URI
SOAP_12_NS
SOAP_12_NS_URI
SOAP_ENC_NS
SOAP_ENC_URI
TYPES_NS
WSDL_NS
WSDL_NS_URI
XML_NS
XML_NS_URI
XSD_NS
XSD_NS_URI