Skip to content

Commit b55b3de

Browse files
Merge pull request #18 from pdrappo/patch-1
Sobre escritura de URL
2 parents 41c0232 + 78de57c commit b55b3de

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Class/AfipWebService.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ module.exports = class AfipWebService {
7777
};
7878

7979
this.soapClient = await soap.createClientAsync(this.WSDL, soapClientOptions);
80+
/* Sobre escribir la URL del archivo .wsdl */
81+
this.soapClient.setEndpoint(this.URL);
8082
}
8183

8284
// Call to SOAP method
@@ -85,4 +87,4 @@ module.exports = class AfipWebService {
8587
//Return response parsed as JSON
8688
return result;
8789
}
88-
}
90+
}

0 commit comments

Comments
 (0)