Advertisement
diabliyo

soap_lib_uso.php

Feb 13th, 2013
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.43 KB | None | 0 0
  1. <?php
  2. include( "soap_cli.php" );
  3.  
  4. $host= 'https://forcogsa.dyndns.org:8081/WSTimbrado/WSForcogsaService?wsdl';        # url servidor timbrados
  5. $vendor= 'formasdigitales'; # PAC con el que se timbra
  6. $data= array( $host, # url consult soap
  7.         $op,    # opcion, puede ser: timbrar o cancelar [warning]
  8.         $filexml,       # ubicacion del XML CFD
  9.         "pruebasWS,pruebasWS",  # usuario y clave de acceso
  10.         $vendor
  11.         );
  12. $r= cfdi( $data );
  13. prtinr_r($r);
  14. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement