Conjunto 735992f en sipes
- Fecha y hora:
- 05/05/2017 10:22:42 (hace 7 años)
- Branches:
- version-3.0
- Children:
- fece4dd
- Parents:
- ecc4f3e
- Fichero:
-
- 1 editado
Leyenda
- No modificado
- Añadido
- Eliminado
-
modules_contrib/soap_server/soap_server.module
rb0e683a r735992f 90 90 } 91 91 // Disable the WSDL cache so it's not stored in memory or on disk. 92 ini_set("soap.wsdl_cache_enabled", "0");92 //ini_set("soap.wsdl_cache_enabled", "0"); 93 93 $wsdl_url = url($endpoint->path, array('absolute' => TRUE, )) . '?wsdl'; 94 95 94 96 //se configura para que el servidor no compruebe el certificado 95 97 $context = array( … … 97 99 // set some SSL/TLS specific options 98 100 'verify_peer' => false, 99 //'verify_peer_name' => false,101 'verify_peer_name' => false, 100 102 ), 101 103 ); 104 /* 102 105 $options = array( 106 'cache_wsdl' => 0, 107 'trace' => true, 103 108 'stream_context'=> stream_context_create($context), 104 109 ); 110 */ 111 $options = array( 112 'cache_wsdl' => 0, 113 'trace' => true, 114 'stream_context'=> stream_context_create($context), 115 'uri' => $wsdl_url, 116 ); 105 117 try { 106 $server = new SoapServer($wsdl_url, $options); 118 //$server = new SoapServer($wsdl_url, $options); 119 $server = new SoapServer(null, $options); 107 120 $server->setClass(ServicesSoapServer); 108 121 $server->handle();
Nota: Vea TracChangeset
para ayuda en el uso del visor de conjuntos de cambios.