diff --git a/message.xml b/message.xml index d73530a..2d819f0 100644 --- a/message.xml +++ b/message.xml @@ -1,5 +1,3 @@ -<?xml version="1.0" encoding="utf-8"?> - <SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" diff --git a/partner-kospinjasa.js b/partner-kospinjasa.js index 11a8d3f..909e988 100644 --- a/partner-kospinjasa.js +++ b/partner-kospinjasa.js @@ -59,8 +59,8 @@ function topupRequest(task, retry) { var signature = createSignature(params, config.h2h_out.password); params.signature = signature; - //topupRequestSoapDIY(task, params, retry); - topupRequestSoap(task, params, retry); + topupRequestSoapDIY(task, params, retry); + //topupRequestSoap(task, params, retry); } function topupRequestSoap(task, params, retry) { @@ -113,7 +113,7 @@ function topupRequestSoapDIY(task, params, retry) { headers: { 'Content-Type': 'application/soap+xml', 'Content-Length': Buffer.byteLength(message), - 'SOAPAction': "urn:apih2h#billpayment" + //'SOAPAction': "urn:apih2h#billpayment" } };