Constants

SOAP_XML_SCHEMA_VERSION

SOAP_XML_SCHEMA_VERSION

SOAP_XML_SCHEMA_INSTANCE

SOAP_XML_SCHEMA_INSTANCE

SOAP_SCHEMA_ENCODING

SOAP_SCHEMA_ENCODING

SOAP_ENVELOP

SOAP_ENVELOP

SCHEMA_SOAP_HTTP

SCHEMA_SOAP_HTTP

SCHEMA_SOAP

SCHEMA_SOAP

SCHEMA_WSDL

SCHEMA_WSDL

SOAP_FAULT

SOAP_FAULT

Properties

$baseTypes

$baseTypes : 

Type

$types

$types : 

Type

$operations

$operations : 

Type

$faults

$faults : 

Type

$className

$className : 

Type

$ns

$ns : 

Type

$endpoint

$endpoint : 

Type

$complexTypes

$complexTypes : 

Type

$mytypes

$mytypes : 

Type

$style

$style : 

Type

$use

$use : 

Type

Methods

__construct()

__construct(string  $className, string  $endpoint, string  $ns = FALSE) 

The WSDL_Gen constructor

Parameters

string $className

The class containing the methods to implement

string $endpoint

The endpoint for the service

string $ns

optional The namespace you want for your service.

toXML()

toXML() 

Return an XML representation of the WSDL file

discoverOperations()

discoverOperations(  $methods) 

Parameters

$methods

discoverTypes()

discoverTypes() 

createPHPTypes()

createPHPTypes() 

addComplexType()

addComplexType(  $className) 

Parameters

$className

addMessages()

addMessages(\DomDocument  $doc, \DomElement  $root) 

Parameters

\DomDocument $doc
\DomElement $root

addPortType()

addPortType(\DomDocument  $doc, \DomElement  $root) 

Parameters

\DomDocument $doc
\DomElement $root

addBinding()

addBinding(\DomDocument  $doc, \DomElement  $root) 

Parameters

\DomDocument $doc
\DomElement $root

addService()

addService(\DomDocument  $doc, \DomElement  $root) 

Parameters

\DomDocument $doc
\DomElement $root

addTypes()

addTypes(\DomDocument  $doc, \DomElement  $root) 

Parameters

\DomDocument $doc
\DomElement $root