Permalink
Browse files

[UPDATE] constants

add WSDL_PASSWORD and WSDL_EXCEPTIONS constant and
make WSDL_PASSWD and WSDL_EXCPTS constants deprecated
  • Loading branch information...
mikaelcom committed Jan 7, 2014
1 parent 34ff783 commit 5175473f9d52f88ad6500e3deaf8b13de1a439c4
Showing with 22 additions and 10 deletions.
  1. +22 −10 WsdlClassFileTpl.php
@@ -20,21 +20,33 @@ class PackageNameWsdlClass extends stdClass implements ArrayAccess,Iterator,Coun
* @var string
*/
const WSDL_LOGIN = 'wsdl_login';
/**
* Option key to define WSDL password
* @var string
/**
* Option key to define WSDL password
* @deprecated use WSDL_PASSWORD instead
* @var string
*/
const WSDL_PASSWD = 'wsdl_password';
/**
* Option key to define WSDL password
* @var string
*/
const WSDL_PASSWORD = 'wsdl_password';
/**
* Option key to define WSDL trace option
* @var string
*/
const WSDL_TRACE = 'wsdl_trace';
/**
* Option key to define WSDL exceptions
* @var string
/**
* Option key to define WSDL exceptions
* @deprecated use WSDL_EXCEPTIONS instead
* @var string
*/
const WSDL_EXCPTS = 'wsdl_exceptions';
/**
* Option key to define WSDL exceptions
* @var string
*/
const WSDL_EXCEPTIONS = 'wsdl_exceptions';
/**
* Option key to define WSDL cache_wsdl
* @var string
@@ -223,10 +235,10 @@ public function initSoapClient($_wsdlOptions)
* @uses PackageNameWsdlClass::WSDL_COMPRESSION
* @uses PackageNameWsdlClass::WSDL_CONNECTION_TIMEOUT
* @uses PackageNameWsdlClass::WSDL_ENCODING
* @uses PackageNameWsdlClass::WSDL_EXCPTS
* @uses PackageNameWsdlClass::WSDL_EXCEPTIONS
* @uses PackageNameWsdlClass::WSDL_FEATURES
* @uses PackageNameWsdlClass::WSDL_LOGIN
* @uses PackageNameWsdlClass::WSDL_PASSWD
* @uses PackageNameWsdlClass::WSDL_PASSWORD
* @uses PackageNameWsdlClass::WSDL_SOAP_VERSION
* @uses PackageNameWsdlClass::WSDL_STREAM_CONTEXT
* @uses PackageNameWsdlClass::WSDL_TRACE
@@ -244,10 +256,10 @@ public static function getDefaultWsdlOptions()
self::WSDL_COMPRESSION=>null,
self::WSDL_CONNECTION_TIMEOUT=>null,
self::WSDL_ENCODING=>null,
self::WSDL_EXCPTS=>true,
self::WSDL_EXCEPTIONS=>true,
self::WSDL_FEATURES=>SOAP_SINGLE_ELEMENT_ARRAYS | SOAP_USE_XSI_ARRAY_TYPE,
self::WSDL_LOGIN=>null,
self::WSDL_PASSWD=>null,
self::WSDL_PASSWORD=>null,
self::WSDL_SOAP_VERSION=>null,
self::WSDL_STREAM_CONTEXT=>null,
self::WSDL_TRACE=>true,

0 comments on commit 5175473

Please sign in to comment.