Conjunto 735992f en sipes


Ignorar:
Fecha y hora:
05/05/2017 10:22:42 (hace 7 años)
Autor:
Sipes Apn <root@…>
Branches:
version-3.0
Children:
fece4dd
Parents:
ecc4f3e
Mensaje:

se agrego la correción para poder consumir los servicios

Fichero:
1 editado

Leyenda

No modificado
Añadido
Eliminado
  • modules_contrib/soap_server/soap_server.module

    rb0e683a r735992f  
    9090  }
    9191  // 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");
    9393  $wsdl_url = url($endpoint->path, array('absolute' => TRUE, )) . '?wsdl';
     94
     95
    9496  //se configura para que el servidor no compruebe el certificado
    9597  $context = array(
     
    9799      // set some SSL/TLS specific options
    98100      'verify_peer' => false,
    99       //'verify_peer_name' => false,
     101      'verify_peer_name' => false,
    100102    ),
    101103  );
     104/*
    102105  $options = array(
     106    'cache_wsdl' => 0,
     107    'trace' => true,
    103108    'stream_context'=> stream_context_create($context),
    104109  );
     110*/
     111  $options = array(
     112    'cache_wsdl' => 0,
     113    'trace' => true,
     114    'stream_context'=> stream_context_create($context),
     115    'uri' => $wsdl_url,
     116  );
    105117  try {
    106     $server = new SoapServer($wsdl_url, $options);
     118    //$server = new SoapServer($wsdl_url, $options);
     119    $server = new SoapServer(null, $options);
    107120    $server->setClass(ServicesSoapServer);
    108121    $server->handle();
Nota: Vea TracChangeset para ayuda en el uso del visor de conjuntos de cambios.