Guest User

Untitled

a guest
Nov 7th, 2018
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. <?php
  2. $username = 'TDWEB';
  3. $password = 'ScalA1051x';
  4.  
  5.  
  6.  
  7.  
  8.  
  9. $url = "https://192.168.1.204/WorkflowWebServices/DT_StatusQuery.asmx?wsdl";
  10. //$url = 'https://qa-orderapi.intelispend.com/Processes/IntelispendAPI/IntelispendOrderAPI/SubmitFileService.serviceagent?wsdl';
  11. $opts = array(
  12. 'http' => array(
  13. 'verify_peer' => false,
  14. 'verify_peer_name' => false
  15. )
  16. );
  17. $context = stream_context_create($opts);
  18. $client = new \SoapClient($url, array(
  19. "trace" => 1,
  20. "exception" => 1,
  21. 'stream_context' => $context,
  22. 'cache_wsdl' => WSDL_CACHE_NONE,
  23. // 'login' => $username,
  24. // 'password' => $password,
  25. )
  26. );
  27.  
  28.  
  29. //var_dump($client);
Add Comment
Please, Sign In to add comment