Advertisement
Guest User

Gerador da Requisição

a guest
Sep 5th, 2014
370
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.38 KB | None | 0 0
  1. <?php
  2.  
  3. $array = array(
  4.                 'key' => '',
  5.                 'module' =>'imoveis',
  6.                 'method' => 'busca_imoveis',
  7.                 'field' => array(
  8.                         'DATA'                          => 'Data cadastro',
  9.                         'CODIGO'                        => 'Codigo',
  10.                         'CATEGORIA'             => 'Categoria',
  11.                         'UF'                            => 'UF',
  12.                         'CIDADE'                        => 'Cidade',
  13.                         'BAIRRO'                        => 'Bairro',
  14.                         'ENDERECO'                      => 'Endereco',
  15.                         'NUMERO'                        => 'Numero',
  16.                         'VLR_VENDA'             => 'Valor',
  17.                         'DORMITORIO'            => 'Dormitorios',
  18.                         'URL_FOTO'                      => 'Url',
  19.                         'IMAGEM_G'                      => 'Foto',
  20.                         'VLR_CONDOMINIO'        => 'Valor condominio'
  21.          ),
  22.                 'filter' => array(
  23.                         'CONDICAO' => 'VLR_VENDA > 0'
  24.         )
  25. );
  26.  
  27. $client = new SoapClient(null, array(
  28.                 'uri'           => 'http://soap.imo.bi/',
  29.                 'location'      => 'http://soap.imo.bi/soap.dll',
  30.                 'trace'         => 'trace'
  31. ));
  32.  
  33. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement