35 $clienteWS = $this->v_clienteWS[self::KEYCLIENTE_FIRMA];
39 $firmarCertificadoWSRequest->append(
new SoapVar($idSession, XSD_STRING, null, null,
'idSession', self::$NAMESPACE_GVA));
40 $firmarCertificadoWSRequest->append(
new SoapVar($idCertificado, XSD_STRING, null, null,
'idCertificado', self::$NAMESPACE_GVA));
41 $firmarCertificadoWSRequest->append(
new SoapVar($docContentB64, XSD_STRING, null, null,
'documento', self::$NAMESPACE_GVA));
42 $firmarCertificadoWSRequest->append(
new SoapVar(
'TF06', XSD_STRING, null, null,
'firmaFormato', self::$NAMESPACE_GVA));
43 $firmarCertificadoWSRequest->append(
new SoapVar(
'pdf', XSD_STRING, null, null,
'formatoSubtipo', self::$NAMESPACE_GVA));
44 $miSoapRQ =
new SoapVar($firmarCertificadoWSRequest, SOAP_ENC_OBJECT,null,null,
'firmarCertificadoWSRequest', self::$NAMESPACE_GVA);
45 $docFirmado = $clienteWS->firmarConCertificado($miSoapRQ);
47 if (is_object($docFirmado))
49 return ($docFirmado->response);
60 $this->
addDebugInfo(__CLASS__.
':'.__METHOD__.
'['.__FILE__.
'-'.__LINE__.
']'.
"\n");
61 if (is_object($clienteWS))
63 $this->
addDebugInfo(
"RqH:\n ".$clienteWS->__getLastRequestHeaders());
64 $this->
addDebugInfo(
"Rq:\n ".$clienteWS->__getLastRequest());
65 $this->
addDebugInfo(
"RsH:\n ".$clienteWS->__getLastResponse());
66 $this->
addDebugInfo(
"Rs:\n ".$clienteWS->__getLastResponseHeaders());
firmarCertificadoServer($idSession, $idCertificado, $docContentB64, $tipoDoc='TF06')
__clienteOn($tipo, $trazabilidadPai=true, $opcionesClienteWS=null)