Merged in victorsl/processmaker/HOR-1757-31 (pull request #4854)

HOR-1757
This commit is contained in:
David Callizaya
2016-09-02 18:26:41 -04:00

View File

@@ -101,7 +101,11 @@ function ws_open() {
global $client;
$endpoint = WS_WSDL_URL;
$sessionId = '';
@$client = new SoapClient($endpoint);
$client = new SoapClient(
$endpoint,
['stream_context' => stream_context_create(['ssl' => ['verify_peer' => false, 'verify_peer_name' => false, 'allow_self_signed' => true]])]
);
$user = WS_USER_ID;
$pass = WS_USER_PASS;