Skip to content

Instantly share code, notes, and snippets.

@eduan
Created April 12, 2016 21:02
Show Gist options
  • Save eduan/f31c8f69ce659b8017e0c2a1fc09e2fb to your computer and use it in GitHub Desktop.
Save eduan/f31c8f69ce659b8017e0c2a1fc09e2fb to your computer and use it in GitHub Desktop.
$client = new SoapClient('http://www.dominio.com.br/api/v2_soap/?wsdl');
$session = $client->login('usuario', '123456789senha');
$result = $client->salesOrderInfo($session, '123132131');
var_dump($result);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment