default
[ class tree: default ] [ index: default ] [ all elements ]

Class: Wsdl_1_1

Source Location: /mikebevz/xsd2php/wsdl/Wsdl_1_1.php

Class Overview

AbstractWsdl
   |
   --Wsdl_1_1



Implements interfaces:

Variables

Methods


Inherited Variables

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

  1.   <operation name="$operation">
  2.         <soap:operation
  3.             soapAction="targetNamespace/$operation/>
  4.         <input>
  5.             $input
  6.         </input>
  7.         <output>
  8.             $output
  9.         </output>
  10.     </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

  1.    <message name="$name">
  2.        <part name="$nameelement="$type/>
  3.   </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

  1.   <operation name="$name">
  2.         <input message="tns:messageName" />
  3.         <output message="tns:messageName" />
  4.     </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

  1.  <element name="$name">
  2.    <complexType>
  3.        <sequence>
  4.            $elements
  5.        </sequence>
  6.    </complexType>
  7.  </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

  1.  <element ref="$ref/>




Tags:

access:  private


Parameters:

string   $ref  

[ Top ]

method createSimpleElement [line 351]

DOMElement createSimpleElement( string $name, string $type)

Create simple element

  1.  <element name="$nametype="$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