Open DaruinHerrera opened 3 years ago
Hola @DaruinHerrera pudiste solucionar el error?, yo también estoy intentando conectarme a datacrédito sin exito obtengo el error "Hash values do not match." y me he quedado enfrascada en este punto. Saludos :)
También lo estás haciendo por php, usa cursos o migralo a python
@vivianaZuluaga Lograste con php resolver esto? Te agradecería tu ayuda me sale el mismo error.
Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://demo-servicesesb.datacredito.com.co/wss/dhws3/services/DHServicePlus?wsdl' : failed to load external entity "https://demo-servicesesb.datacredito.com.co/wss/dhws3/services/DHServicePlus?wsdl" in C:\xampp\htdocs\WsDemo\4.php:54 Stack trace: #0 C:\xampp\htdocs\WsDemo\4.php(54): SoapClient->SoapClient('https://demo-se...', Array) #1 C:\xampp\htdocs\WsDemo\4.php(281): SignedSoapClient->__construct('https://demo-se...', Array) #2 {main} thrown in C:\xampp\htdocs\WsDemo\4.php on line 54
$url= 'https://demo-servicesesb.datacredito.com.co/wss/dhws3/services/DHServicePlus?wsdl'; $client = new SignedSoapClient($url, array('ssl' => array('cert' => 'llave.p12','certpasswd' => 'seve2020')));
How should I use it, it throws me this error to try to use the class. Can you give me an example of using the class to sign the header
`POST https://demo-servicesesb.datacredito.com.co:443/wss/dhws3/services/DHServicePlus HTTP/1.1 Accept-Encoding: gzip,deflate Content-Type: text/xml;charset=UTF-8 SOAPAction: "" Content-Length: 6120 Host: demo-servicesesb.datacredito.com.co:443 Connection: Keep-Alive User-Agent: Apache-HttpClient/4.5.5 (Java/12.0.1)