22
33namespace WsdlToPhp \PackageBase ;
44
5- abstract class AbstractSoapClientBase
5+ abstract class AbstractSoapClientBase implements SoapClientInterface
66{
7- /**
8- * @var string
9- */
10- const DEFAULT_SOAP_CLIENT_CLASS = '\SoapClient ' ;
11- /**
12- * @var string
13- */
14- const OPTION_PREFIX = 'wsdl_ ' ;
15- /**
16- * Option key to define WSDL url
17- * @var string
18- */
19- const WSDL_URL = 'wsdl_url ' ;
20- /**
21- * Option key to define WSDL classmap
22- * @var string
23- */
24- const WSDL_CLASSMAP = 'wsdl_classmap ' ;
25- /**
26- * Option key to define WSDL login
27- * @var string
28- */
29- const WSDL_LOGIN = 'wsdl_login ' ;
30- /**
31- * Option key to define WSDL password
32- * @var string
33- */
34- const WSDL_PASSWORD = 'wsdl_password ' ;
35- /**
36- * Option key to define WSDL trace option
37- * @var string
38- */
39- const WSDL_TRACE = 'wsdl_trace ' ;
40- /**
41- * Option key to define WSDL exceptions
42- * @var string
43- */
44- const WSDL_EXCEPTIONS = 'wsdl_exceptions ' ;
45- /**
46- * Option key to define WSDL cache_wsdl
47- * @var string
48- */
49- const WSDL_CACHE_WSDL = 'wsdl_cache_wsdl ' ;
50- /**
51- * Option key to define WSDL stream_context
52- * @var string
53- */
54- const WSDL_STREAM_CONTEXT = 'wsdl_stream_context ' ;
55- /**
56- * Option key to define WSDL soap_version
57- * @var string
58- */
59- const WSDL_SOAP_VERSION = 'wsdl_soap_version ' ;
60- /**
61- * Option key to define WSDL compression
62- * @var string
63- */
64- const WSDL_COMPRESSION = 'wsdl_compression ' ;
65- /**
66- * Option key to define WSDL encoding
67- * @var string
68- */
69- const WSDL_ENCODING = 'wsdl_encoding ' ;
70- /**
71- * Option key to define WSDL connection_timeout
72- * @var string
73- */
74- const WSDL_CONNECTION_TIMEOUT = 'wsdl_connection_timeout ' ;
75- /**
76- * Option key to define WSDL typemap
77- * @var string
78- */
79- const WSDL_TYPEMAP = 'wsdl_typemap ' ;
80- /**
81- * Option key to define WSDL user_agent
82- * @var string
83- */
84- const WSDL_USER_AGENT = 'wsdl_user_agent ' ;
85- /**
86- * Option key to define WSDL features
87- * @var string
88- */
89- const WSDL_FEATURES = 'wsdl_features ' ;
90- /**
91- * Option key to define WSDL keep_alive
92- * @var string
93- */
94- const WSDL_KEEP_ALIVE = 'wsdl_keep_alive ' ;
95- /**
96- * Option key to define WSDL proxy_host
97- * @var string
98- */
99- const WSDL_PROXY_HOST = 'wsdl_proxy_host ' ;
100- /**
101- * Option key to define WSDL proxy_port
102- * @var string
103- */
104- const WSDL_PROXY_PORT = 'wsdl_proxy_port ' ;
105- /**
106- * Option key to define WSDL proxy_login
107- * @var string
108- */
109- const WSDL_PROXY_LOGIN = 'wsdl_proxy_login ' ;
110- /**
111- * Option key to define WSDL proxy_password
112- * @var string
113- */
114- const WSDL_PROXY_PASSWORD = 'wsdl_proxy_password ' ;
115- /**
116- * Option key to define WSDL local_cert
117- * @var string
118- */
119- const WSDL_LOCAL_CERT = 'wsdl_local_cert ' ;
120- /**
121- * Option key to define WSDL passphrase
122- * @var string
123- */
124- const WSDL_PASSPHRASE = 'wsdl_passphrase ' ;
125- /**
126- * Option key to define WSDL authentication
127- * @var string
128- */
129- const WSDL_AUTHENTICATION = 'wsdl_authentication ' ;
130- /**
131- * Option key to define WSDL ssl_method
132- * @var string
133- */
134- const WSDL_SSL_METHOD = 'wsdl_ssl_method ' ;
1357 /**
1368 * Soapclient called to communicate with the actual SOAP Service
1379 * @var \SoapClient
@@ -527,7 +399,7 @@ private function setLastError($lastError)
527399 * @param \SoapFault $soapFault l'objet de l'erreur
528400 * @return AbstractSoapClientBase
529401 */
530- protected function saveLastError ($ methoName , \SoapFault $ soapFault )
402+ public function saveLastError ($ methoName , \SoapFault $ soapFault )
531403 {
532404 $ this ->lastError [$ methoName ] = $ soapFault ;
533405 return $ this ;
@@ -554,7 +426,7 @@ public function getResult()
554426 * @param mixed $result
555427 * @return AbstractSoapClientBase
556428 */
557- protected function setResult ($ result )
429+ public function setResult ($ result )
558430 {
559431 $ this ->result = $ result ;
560432 return $ this ;
0 commit comments