default

# Class: Wsdl_1_1 Source Location: /mikebevz/xsd2php/wsdl/Wsdl_1_1.php
### Class Overview
    AbstractWsdl
       |
       --Wsdl_1_1
Implements interfaces: IWsdl | ### Variables $namespaces | ### Methods addBindingOperations addMessage addPortOperations createElementWithComplexType createRefElement createSimpleElement extractTypes prepare
### Inherited Variables #### Class: AbstractWsdl AbstractWsdl::$bindingNameSuffix AbstractWsdl::$common AbstractWsdl::$debug AbstractWsdl::$docNamespaces AbstractWsdl::$dom AbstractWsdl::$importedNamespaces AbstractWsdl::$lastNsKey AbstractWsdl::$location AbstractWsdl::$methodsMeta AbstractWsdl::$portNameSuffix AbstractWsdl::$publicPath AbstractWsdl::$publicUrl AbstractWsdl::$refl AbstractWsdl::$requestSuffix AbstractWsdl::$responseSuffix AbstractWsdl::$schemasPath AbstractWsdl::$service AbstractWsdl::$serviceNameSuffix AbstractWsdl::$soapBindingStyle AbstractWsdl::$soapBindingTransport AbstractWsdl::$targetNsPrefix AbstractWsdl::$wsBinding AbstractWsdl::$wsDefinitions AbstractWsdl::$wsdlName AbstractWsdl::$wsdlTargetNamespace AbstractWsdl::$wsdlXmlSource AbstractWsdl::$wsDocumentation AbstractWsdl::$wsMessage AbstractWsdl::$wsPortType AbstractWsdl::$wsService AbstractWsdl::$wsTypes AbstractWsdl::$wsXmlSchema AbstractWsdl::$xmlSchemaImports AbstractWsdl::$xmlSchemaPreffix | ### Inherited Methods #### Class: AbstractWsdl AbstractWsdl::__construct() AbstractWsdl::addImportToSchema() Add xsd:import tag to XML schema before any childs added AbstractWsdl::composeUrl() Compose URL of kind schema://host:port AbstractWsdl::copyToPublic() Copy given file to publicSchemaPath AbstractWsdl::getClassMethods() Get service class public methods AbstractWsdl::getClassNamespace() Return class XML namespace taken from @xmlNamespace doc AbstractWsdl::getDebug() AbstractWsdl::getLocation() Get SOAP service location (service->port->address->location) AbstractWsdl::getMethodIO() Return method input/output AbstractWsdl::getNsCode() AbstractWsdl::getPublicPath() AbstractWsdl::getPublicUrl() AbstractWsdl::getSchemaLocation() Get path to schema in schemasPath with targetNamespace = $ns AbstractWsdl::getSchemasPath() AbstractWsdl::getShortName() Get class name without namespace AbstractWsdl::getSoapBindingStyle() AbstractWsdl::getTypeName() Get QName style for given type AbstractWsdl::importsToAbsUrl() Convert relative paths in XMLSchema's imports and includes to URLs using $location AbstractWsdl::isTargetNamespaceEqualsTo() Check if $schema XML Schema file belongs to $ns AbstractWsdl::namespaceToUrn() Convert PHP namespace to URN AbstractWsdl::prepareDom() Prepare DOM AbstractWsdl::prepareReflection() Prepare service class reflection AbstractWsdl::setDebug() AbstractWsdl::setLocation() AbstractWsdl::setPublicPath() AbstractWsdl::setPublicUrl() AbstractWsdl::setSchemasPath() AbstractWsdl::setSoapBindingStyle() AbstractWsdl::toXml() Return WSDL as XML string
### Class Details [line 7] [ Top ] ### Class Variables #### $namespaces = array ( 'wsdl' => 'http://schemas.xmlsoap.org/wsdl/', 'soap' => 'http://schemas.xmlsoap.org/wsdl/soap/', 'http' => 'http://schemas.xmlsoap.org/wsdl/http/', 'mime' => 'http://schemas.xmlsoap.org/wsdl/mime/', 'soapenc' => 'http://schemas.xmlsoap.org/soap/encoding/', 'soapenv' => 'http://schemas.xmlsoap.org/soap/envelope/', 'xsi' => 'http://www.w3.org/2000/10/XMLSchema-instance', 'xsd' => 'http://www.w3.org/2000/10/XMLSchema', ) [line 14] WSDL 1.1 XML namespaces #### Tags:
access: | protected
Type: | array
[ Top ] ### Class Methods ### method addBindingOperations [line 192]
`void addBindingOperations( string $operation, [array $input = false], [array $output = false])`
Add operations to bindings <operation name="$operation"> <soap:operation soapAction="targetNamespace/$operation" /> <input> $input </input> <output> $output </output> </operation> #### Tags:
access: | private
#### Parameters:
string | $operation | Operation name
array | $input | Array of inputs [optional]
array | $output | Array of outputs [optional]
[ Top ] ### method addMessage [line 266]
`void addMessage( string $name, string $type)`
Add message <message name="$name"> <part name="$name" element="$type" /> </message> #### Tags:
access: | private
#### Parameters:
string | $name | Message name
string | $type | Message type
[ Top ] ### method addPortOperations [line 235]
`void addPortOperations( string $operation, [array $input = false], [array $output = false])`
Add operations to port <operation name="$name"> <input message="tns:messageName" /> <output message="tns:messageName" /> </operation> #### Tags:
access: | private
#### Parameters:
string | $operation | Name of the operation
array | $input | Array of inputs
array | $output | Array of outputs
[ Top ] ### method createElementWithComplexType [line 321]
`DOMElement createElementWithComplexType( string $name, array $elements)`
Create an element with complex type <element name="$name"> <complexType> <sequence> $elements </sequence> </complexType> </element> #### Tags:
access: | private
#### Parameters:
string | $name | Element name
array | $elements | Array of elements to include into sequence
[ Top ] ### method createRefElement [line 296]
`DOMElement createRefElement( string $ref)`
Create ref element <element ref="$ref" /> #### Tags:
access: | private
#### Parameters:
string | $ref |
[ Top ] ### method createSimpleElement [line 351]
`DOMElement createSimpleElement( string $name, string $type)`
Create simple element <element name="$name" type="$type" /> #### Tags:
access: | private
#### Parameters:
string | $name | Element name
string | $type | Element type
[ Top ] ### method extractTypes [line 92]
`void extractTypes( )`
Extract types from WSDL #### Tags:
access: | private
[ Top ] ### method prepare [line 30]
`void prepare( )`
Prepare WSDL DOM model #### Tags:
access: | public
Implementation of: IWsdl::prepare() [ Top ] Documentation generated on Tue, 01 Feb 2011 22:29:29 +0100 by phpDocumentor 1.4.3