33 $this->
__clienteOn(self::KEYCLIENTE_AUTENTICA,
true);
34 $clienteWS = $this->v_clienteWS[self::KEYCLIENTE_AUTENTICA];
38 $autenticaUsuarioWSRequest->append(
new SoapVar($user,XSD_STRING,null,null,
'usuarioLDAP', self::$NAMESPACE_GVA));
39 $autenticaUsuarioWSRequest->append(
new SoapVar($pass,XSD_STRING,null,null,
'pwdLDAP', self::$NAMESPACE_GVA));
40 $miSoapRQ =
new SoapVar($autenticaUsuarioWSRequest, SOAP_ENC_OBJECT,null,null,
'autenticaUsuarioWSRequest', self::$NAMESPACE_GVA);
41 $token = $clienteWS->autenticaUsuarioWS($miSoapRQ);
45 $this->
addDebugInfo(__CLASS__.
':'.__METHOD__.
'['.__FILE__.
'-'.__LINE__.
']'.
"\n");
46 if (is_object($clienteWS))
48 $this->
addDebugInfo(
"RqH:\n ".$clienteWS->__getLastRequestHeaders());
49 $this->
addDebugInfo(
"Rq:\n ".$clienteWS->__getLastRequest());
50 $this->
addDebugInfo(
"RsH:\n ".$clienteWS->__getLastResponse());
51 $this->
addDebugInfo(
"Rs:\n ".$clienteWS->__getLastResponseHeaders());
55 if (is_object($token))
56 if (property_exists($token,
'token'))
57 if (!empty($token->token))
62 $this->
addDebugInfo(__CLASS__.
':'.__METHOD__.
'['.__FILE__.
'-'.__LINE__.
']'.
'. Token vacío');
71 $this->
addDebugInfo(__CLASS__.
':'.__METHOD__.
'['.__FILE__.
'-'.__LINE__.
']'.
"\n");
72 if (is_object($clienteWS))
74 $this->
addDebugInfo(
"RqH:\n ".$clienteWS->__getLastRequestHeaders());
75 $this->
addDebugInfo(
"Rq:\n ".$clienteWS->__getLastRequest());
76 $this->
addDebugInfo(
"RsH:\n ".$clienteWS->__getLastResponse());
77 $this->
addDebugInfo(
"Rs:\n ".$clienteWS->__getLastResponseHeaders());
103 $this->
__clienteOn(self::KEYCLIENTE_AUTENTICA,
true);
104 $clienteWS = $this->v_clienteWS[self::KEYCLIENTE_AUTENTICA];
106 $autenticaUsuarioLDAPWSRequest =
new ArrayObject();
107 $autenticaUsuarioLDAPWSRequest->append(
new SoapVar($user,XSD_STRING,null,null,
'usuarioLDAP', self::$NAMESPACE_GVA));
108 $autenticaUsuarioLDAPWSRequest->append(
new SoapVar($pass,XSD_STRING,null,null,
'pwdLDAP', self::$NAMESPACE_GVA));
109 $miSoapRQ =
new SoapVar($autenticaUsuarioLDAPWSRequest, SOAP_ENC_OBJECT,null,null,
'autenticaUsuarioLDAPWSRequest', self::$NAMESPACE_GVA);
110 $token = $clienteWS->autenticaUsuarioLDAPWS($miSoapRQ);
114 $this->
addDebugInfo(__CLASS__.
':'.__METHOD__.
'['.__FILE__.
'-'.__LINE__.
']'.
"\n");
115 if (is_object($clienteWS))
117 $this->
addDebugInfo(
"RqH:\n ".$clienteWS->__getLastRequestHeaders());
118 $this->
addDebugInfo(
"Rq:\n ".$clienteWS->__getLastRequest());
119 $this->
addDebugInfo(
"RsH:\n ".$clienteWS->__getLastResponse());
120 $this->
addDebugInfo(
"Rs:\n ".$clienteWS->__getLastResponseHeaders());
124 if (is_object($token))
125 if (property_exists($token,
'token'))
126 if (!empty($token->token))
131 $this->
addDebugInfo(__CLASS__.
':'.__METHOD__.
'['.__FILE__.
'-'.__LINE__.
']'.
'. Token vacío');
140 $this->
addDebugInfo(__CLASS__.
':'.__METHOD__.
'['.__FILE__.
'-'.__LINE__.
']'.
"\n");
141 if (is_object($clienteWS))
143 $this->
addDebugInfo(
"RqH:\n ".$clienteWS->__getLastRequestHeaders());
144 $this->
addDebugInfo(
"Rq:\n ".$clienteWS->__getLastRequest());
145 $this->
addDebugInfo(
"RsH:\n ".$clienteWS->__getLastResponse());
146 $this->
addDebugInfo(
"Rs:\n ".$clienteWS->__getLastResponseHeaders());
172 $clienteWS = $this->v_clienteWS[self::KEYCLIENTE_AUTENTICA];
174 $autenticaConFirmaWSRequest->append(
new SoapVar($firmaB64, XSD_STRING,null,null,
'firma', self::$NAMESPACE_GVA));
175 $autenticaConFirmaWSRequest->append(
new SoapVar($codigoEntidad,XSD_STRING,null,null,
'codigoEntidad', self::$NAMESPACE_GVA));
176 $miSoapRQ =
new SoapVar($autenticaConFirmaWSRequest, SOAP_ENC_OBJECT,null,null,
'autenticaConFirmaWSRequest', self::$NAMESPACE_GVA);
177 $token = $clienteWS->autenticaConFirmaWS($miSoapRQ);
184 $this->
addDebugInfo(__CLASS__.
':'.__METHOD__.
'['.__FILE__.
'-'.__LINE__.
']'.
"\n");
185 if (is_object($clienteWS))
187 $this->
addDebugInfo(
"RqH:\n ".$clienteWS->__getLastRequestHeaders());
188 $this->
addDebugInfo(
"Rq:\n ".$clienteWS->__getLastRequest());
189 $this->
addDebugInfo(
"RsH:\n ".$clienteWS->__getLastResponse());
190 $this->
addDebugInfo(
"Rs:\n ".$clienteWS->__getLastResponseHeaders());
224 $this->
addDebugInfo(__CLASS__.
':'.__METHOD__.
'['.__FILE__.
'-'.__LINE__.
']'.
'. Token vacío');
227 __CLASS__.
':'.__METHOD__.
'['.__FILE__.
'-'.__LINE__.
']'.
235 $clienteWS = $this->v_clienteWS[self::KEYCLIENTE_AUTENTICA];
236 $resultado = $clienteWS->getInformacionWS($token);
243 $this->
addDebugInfo(__CLASS__.
':'.__METHOD__.
'['.__FILE__.
'-'.__LINE__.
']'.
"\n");
244 if (is_object($clienteWS))
246 $this->
addDebugInfo(
"RqH:\n ".$clienteWS->__getLastRequestHeaders());
247 $this->
addDebugInfo(
"Rq:\n ".$clienteWS->__getLastRequest());
248 $this->
addDebugInfo(
"RsH:\n ".$clienteWS->__getLastResponse());
249 $this->
addDebugInfo(
"Rs:\n ".$clienteWS->__getLastResponseHeaders());
278 if (!is_object($token))
282 $this->
addDebugInfo(__CLASS__.
':'.__METHOD__.
'['.__FILE__.
'-'.__LINE__.
']'.
'. Token vacío. No es objeto');
288 if (!property_exists($token,
'token'))
292 $this->
addDebugInfo(__CLASS__.
':'.__METHOD__.
'['.__FILE__.
'-'.__LINE__.
']'.
'. Token vacío. No hay propiedad');
298 if (empty($token->token))
302 $this->
addDebugInfo(__CLASS__.
':'.__METHOD__.
'['.__FILE__.
'-'.__LINE__.
']'.
'. Token vacío. Propiedad vacía');
312 $this->
addDebugInfo(__CLASS__.
':'.__METHOD__.
'['.__FILE__.
'-'.__LINE__.
']'.
"\n");
323 $this->
addDebugInfo(__CLASS__.
':'.__METHOD__.
'['.__FILE__.
'-'.__LINE__.
']'.
"\n");
351 if (!is_object($token))
355 $this->
addDebugInfo(__CLASS__.
':'.__METHOD__.
'['.__FILE__.
'-'.__LINE__.
']'.
'. Token vacío. No es objeto');
361 if (!property_exists($token,
'token'))
365 $this->
addDebugInfo(__CLASS__.
':'.__METHOD__.
'['.__FILE__.
'-'.__LINE__.
']'.
'. Token vacío. No hay propiedad');
371 if (empty($token->token))
375 $this->
addDebugInfo(__CLASS__.
':'.__METHOD__.
'['.__FILE__.
'-'.__LINE__.
']'.
'. Token vacío. Propiedad vacía');
385 $this->
addDebugInfo(__CLASS__.
':'.__METHOD__.
'['.__FILE__.
'-'.__LINE__.
']'.
"\n");
396 $this->
addDebugInfo(__CLASS__.
':'.__METHOD__.
'['.__FILE__.
'-'.__LINE__.
']'.
"\n");
autenticaUsuarioLDAPWS($user, $pass)
autenticaConFirmaWS($firmaB64, $codigoEntidad=null)
__clienteOn($tipo, $trazabilidadPai=true, $opcionesClienteWS=null)
getInformacionLDAP($user, $pass)
autenticaUsuarioWS($user, $pass)
getInformacionHDFI($user, $pass)