Skip to content

Instantly share code, notes, and snippets.

@ircmaxell
Created February 4, 2015 22:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save ircmaxell/ec0a142ac09a0090f507 to your computer and use it in GitHub Desktop.
Save ircmaxell/ec0a142ac09a0090f507 to your computer and use it in GitHub Desktop.
<?php
$url = 'https://qa-orderapi.intelispend.com/Processes/IntelispendAPI/IntelispendOrderAPI/SubmitFileService.serviceagent?wsdl';
$opts = array(
'http' => array(
'verify_peer' => false,
'verify_peer_name' => false
)
);
$context = stream_context_create($opts);
$client = new \SoapClient($url,
array (
"trace" => 1,
"exception" => 1,
'stream_context' => $context,
'cache_wsdl' => WSDL_CACHE_NONE
)
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment