MIOLO20
Carregando...
Procurando...
Nenhuma entrada encontrada
Referência à classe PhpWsdlClient

Membros públicos

 PhpWsdlClient ($wsdlUri, $options=null, $requestHeaders=null, $clientOptions=Array())
 
 __construct ($wsdlUri, $options=null, $requestHeaders=null, $clientOptions=Array())
 
 FetchWsdl ($wsdlUri=null, $options=Array())
 
 DoRequest ($method, $param, $options=Array(), $requestHeaders=Array())
 
 GetClient ($uri=null, $options=Array())
 
 CreateServerFromWsdl ($soap=null)
 
 ParseWsdl ()
 
 CreatePhpSoapClient ($filename=null, $options=Array())
 
 GetCacheFileName ($wsdluri=null)
 
 CacheFileExists ($file=null)
 
 IsCacheValid ($file=null)
 
 GetWsdlFromCache ($file=null, $force=false, $nounserialize=false)
 
 WriteWsdlToCache ($wsdl=null, $wsdluri=null, $file=null, $force=false)
 
 __call ($method, $param)
 

Campos de Dados

 $WsdlUri
 
 $Client =null
 
 $Options
 
 $RequestHeaders
 
 $ClientOptions
 
 $ServiceName =null
 
 $EndPoint =null
 
 $NameSpace =null
 
 $Server =null
 
 $WSDL =null
 
 $Warnings =Array()
 
 $HttpUser =null
 
 $HttpPassword =null
 
 $UseSoapHttpAuth =true
 
 $Debugging =false
 

Atributos Públicos Estáticos

static $VERSION ='2.2'
 
static $methodRx ='/^([^\s]+)\s+([^\‍(]+)\‍(([^\‍)]+)?\‍).*$/'
 
static $typeRx ='/^([^\s]+)\s([^\[|\{|\s]+)[\[|\{|\s].*$/s'
 
static $elementRx ='/^\s*([^\s]+)\s+([^\s|;]+);.*$/'
 

Descrição detalhada

A SOAP client class for PhpWsdl

Autor
Andreas Zimmermann, wan24.de
Versão
2.2

Definido na linha 34 do ficheiro class.phpwsdlclient.php.

Documentação dos Construtores & Destrutor

◆ __construct()

__construct ( $wsdlUri,
$options = null,
$requestHeaders = null,
$clientOptions = Array() )

Definido na linha 170 do ficheiro class.phpwsdlclient.php.

Documentação das funções

◆ __call()

__call ( $method,
$param )

SOAP method call proxy method

Parâmetros
string$methodThe method name
array$paramThe method parameters
Retorna
mixed The server response

Definido na linha 663 do ficheiro class.phpwsdlclient.php.

◆ CacheFileExists()

CacheFileExists ( $file = null)

Determine if the cache file exists

Parâmetros
string$fileThe WSDL cache filename or NULL to use the default (default: NULL)
Retorna
boolean Are the cache files present?

Definido na linha 517 do ficheiro class.phpwsdlclient.php.

◆ CreatePhpSoapClient()

CreatePhpSoapClient ( $filename = null,
$options = Array() )

Create a PHP SOAP client for this webservice

Parâmetros
string$filenameName of the file to save the PHP code (default: NULL)
array$optionsThe options array for the PhpWsdl->OutputPhp method (default: array)
Retorna
string The UTF-8 encoded PHP code of the SOAP client

Definido na linha 474 do ficheiro class.phpwsdlclient.php.

◆ CreateServerFromWsdl()

CreateServerFromWsdl ( $soap = null)

Create/Fill a PhpWsdl object from WSDL

Parâmetros
PhpWsdlAn existing PhpWsdl object (default: NULL)
Retorna
PhpWsdl The PhpWsdl object

Definido na linha 310 do ficheiro class.phpwsdlclient.php.

◆ DoRequest()

DoRequest ( $method,
$param,
$options = Array(),
$requestHeaders = Array() )

Do a SOAP request

Parâmetros
string$methodThe method name
array$paramThe method parameters
array$optionsThe call options (default: array)
array$requestHeadersThe request headers (default: array)
Retorna
mixed The server response

Definido na linha 235 do ficheiro class.phpwsdlclient.php.

◆ FetchWsdl()

FetchWsdl ( $wsdlUri = null,
$options = Array() )

Fetch the WSDL (supports http Auth if CURL is enabled)

Parâmetros
string$wsdlUriThe WSDL URI or NULL to use the PhpWsdlClient->WaslUri property (default: NULL)
array$optionsThe CURL options (default: array)
Retorna
string The WSDL XML

Definido na linha 194 do ficheiro class.phpwsdlclient.php.

◆ GetCacheFileName()

GetCacheFileName ( $wsdluri = null)

Get the cache filename

Parâmetros
string$wsdluriThe WSDL URI or NULL to use the PhpWsdlAjax->WsdlUri property (default: NULL)
Retorna
string The cache filename or NULL, if caching is disabled

Definido na linha 498 do ficheiro class.phpwsdlclient.php.

◆ GetClient()

GetClient ( $uri = null,
$options = Array() )

Get the PHP SoapClient object

Parâmetros
string$uriThe WSDL URI or NULL to use the PhpWsdlClient->WsdlUri property (default: NULL)
array$optionsThe additional PHP SoapClient options (default: array)
Retorna
SoapClient The PHP SoapClient object

Definido na linha 263 do ficheiro class.phpwsdlclient.php.

◆ GetWsdlFromCache()

GetWsdlFromCache ( $file = null,
$force = false,
$nounserialize = false )

Get the WSDL from the cache

Parâmetros
string$fileThe WSDL cache filename or NULL to use the default (default: NULL)
boolean$forceForce this even if the cache is timed out? (default: FALSE)
boolean$nounserializeDon't unserialize the PhpWsdl* objects? (default: FALSE)
Retorna
string The cached WSDL

Definido na linha 547 do ficheiro class.phpwsdlclient.php.

◆ IsCacheValid()

IsCacheValid ( $file = null)

Determine if the existing cache files are still valid

Parâmetros
string$fileThe WSDL cache filename or NULL to use the default (default: NULL)
Retorna
boolean Valid?

Definido na linha 530 do ficheiro class.phpwsdlclient.php.

◆ ParseWsdl()

ParseWsdl ( )

Parse the WSDL for webservice name, namespace and endpoint URI

Definido na linha 420 do ficheiro class.phpwsdlclient.php.

◆ PhpWsdlClient()

PhpWsdlClient ( $wsdlUri,
$options = null,
$requestHeaders = null,
$clientOptions = Array() )

Constructor

Parâmetros
string$wsdlUriThe WSDL URI
array$optionsSOAP call options (default: NULL)
array$requestHeadersSOAP call request headers (default: NULL)

Definido na linha 166 do ficheiro class.phpwsdlclient.php.

◆ WriteWsdlToCache()

WriteWsdlToCache ( $wsdl = null,
$wsdluri = null,
$file = null,
$force = false )

Write WSDL to cache

Parâmetros
string$wsdlThe UTF-8 encoded WSDL string (default: NULL)
string$wsdluriThe SOAP WSDL URI or NULL to use the default (default: NULL)
string$fileThe target filename or NULL to use the default (default: NULL)
boolean$forceForce refresh (default: FALSE)
Retorna
boolean Succeed?

Definido na linha 594 do ficheiro class.phpwsdlclient.php.

Documentação dos campos e atributos

◆ $Client

$Client =null

Definido na linha 77 do ficheiro class.phpwsdlclient.php.

◆ $ClientOptions

$ClientOptions

Definido na linha 95 do ficheiro class.phpwsdlclient.php.

◆ $Debugging

$Debugging =false

Definido na linha 157 do ficheiro class.phpwsdlclient.php.

◆ $elementRx

$elementRx ='/^\s*([^\s]+)\s+([^\s|;]+);.*$/'
static

Definido na linha 65 do ficheiro class.phpwsdlclient.php.

◆ $EndPoint

$EndPoint =null

Definido na linha 107 do ficheiro class.phpwsdlclient.php.

◆ $HttpPassword

$HttpPassword =null

Definido na linha 145 do ficheiro class.phpwsdlclient.php.

◆ $HttpUser

$HttpUser =null

Definido na linha 139 do ficheiro class.phpwsdlclient.php.

◆ $methodRx

$methodRx ='/^([^\s]+)\s+([^\‍(]+)\‍(([^\‍)]+)?\‍).*$/'
static

Definido na linha 49 do ficheiro class.phpwsdlclient.php.

◆ $NameSpace

$NameSpace =null

Definido na linha 113 do ficheiro class.phpwsdlclient.php.

◆ $Options

$Options

Definido na linha 83 do ficheiro class.phpwsdlclient.php.

◆ $RequestHeaders

$RequestHeaders

Definido na linha 89 do ficheiro class.phpwsdlclient.php.

◆ $Server

$Server =null

Definido na linha 119 do ficheiro class.phpwsdlclient.php.

◆ $ServiceName

$ServiceName =null

Definido na linha 101 do ficheiro class.phpwsdlclient.php.

◆ $typeRx

$typeRx ='/^([^\s]+)\s([^\[|\{|\s]+)[\[|\{|\s].*$/s'
static

Definido na linha 57 do ficheiro class.phpwsdlclient.php.

◆ $UseSoapHttpAuth

$UseSoapHttpAuth =true

Definido na linha 151 do ficheiro class.phpwsdlclient.php.

◆ $VERSION

$VERSION ='2.2'
static

Definido na linha 40 do ficheiro class.phpwsdlclient.php.

◆ $Warnings

$Warnings =Array()

Definido na linha 131 do ficheiro class.phpwsdlclient.php.

◆ $WSDL

$WSDL =null

Definido na linha 125 do ficheiro class.phpwsdlclient.php.

◆ $WsdlUri

$WsdlUri

Definido na linha 71 do ficheiro class.phpwsdlclient.php.


A documentação para esta classe foi gerada a partir do seguinte ficheiro: