Skip to content

Instantly share code, notes, and snippets.

@helpse
Last active December 31, 2015 06:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save helpse/7945610 to your computer and use it in GitHub Desktop.
Save helpse/7945610 to your computer and use it in GitHub Desktop.
<?php
$server = $_SERVER['SERVER_NAME'];
$host = 'http://200.48.11.178';
$clientCarroceria = new SoapClient($host."/webservices/carroceria.php?wsdl");
var_dump($clientCarroceria);
//die();
$params = array(
'ViajeID' => 123816
);
try {
$result = $clientCarroceria->__soapCall("GetCarroceriaByViaje", array($params));
}
catch (Exception $e)
{
var_dump($e);
die('foo');
}
var_dump($result);
die();
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment