|
@@ 249-258 (lines=10) @@
|
| 246 |
|
* @param string $method |
| 247 |
|
* @return array |
| 248 |
|
*/ |
| 249 |
|
public function servidor($data = array(), $method = 'L') |
| 250 |
|
{ |
| 251 |
|
$this->obterTokenIniciarTransferencia($data); |
| 252 |
|
$uri = $this->url[$this->tpAmb].'/esfinge/services/servidorWS'; |
| 253 |
|
$namespace = 'http://servidor.ws.tce.sc.gov.br/'; |
| 254 |
|
$met = 'servidor'.$method; |
| 255 |
|
//envia a mensagem via cURL |
| 256 |
|
$resp = $this->envia($uri, $namespace, $data, $method, $met); |
| 257 |
|
return $resp; |
| 258 |
|
} |
| 259 |
|
|
| 260 |
|
/** |
| 261 |
|
* Situação Servidor Folha Pagamento |
|
@@ 268-276 (lines=9) @@
|
| 265 |
|
* @param string $method |
| 266 |
|
* @return array |
| 267 |
|
*/ |
| 268 |
|
public function situacaoServidorFolhaPagamento($data = array(), $method = 'L') |
| 269 |
|
{ |
| 270 |
|
$this->obterTokenIniciarTransferencia($data); |
| 271 |
|
$uri = $this->url[$this->tpAmb].'/esfinge/services/situacaoServidorFolhaPagamentoWS'; |
| 272 |
|
$namespace = 'http://situacaoservidorfolhapagamento.ws.tce.sc.gov.br/'; |
| 273 |
|
$met = 'situacaoServidorFolhaPagamento'.$method; |
| 274 |
|
$resp = $this->envia($uri, $namespace, $data, $method, $met); |
| 275 |
|
return $resp; |
| 276 |
|
} |
| 277 |
|
|
| 278 |
|
/** |
| 279 |
|
* Componentes Folha Pagamento |
|
@@ 286-294 (lines=9) @@
|
| 283 |
|
* @param string $method |
| 284 |
|
* @return array |
| 285 |
|
*/ |
| 286 |
|
public function componentesFolhaPagamento($data = array(), $method = 'L') |
| 287 |
|
{ |
| 288 |
|
$this->obterTokenIniciarTransferencia($data); |
| 289 |
|
$uri = $this->url[$this->tpAmb].'/esfinge/services/componentesFolhaPagamentoWS'; |
| 290 |
|
$namespace = 'http://componentesfolhapagamento.ws.tce.sc.gov.br/'; |
| 291 |
|
$met = 'componentesFolhaPagamento'.$method; |
| 292 |
|
$resp = $this->envia($uri, $namespace, $data, $method, $met); |
| 293 |
|
return $resp; |
| 294 |
|
} |
| 295 |
|
|
| 296 |
|
/** |
| 297 |
|
* Folha Pagamento |
|
@@ 304-312 (lines=9) @@
|
| 301 |
|
* @param string $method |
| 302 |
|
* @return array |
| 303 |
|
*/ |
| 304 |
|
public function folhaPagamento($data = array(), $method = 'L') |
| 305 |
|
{ |
| 306 |
|
$this->obterTokenIniciarTransferencia($data); |
| 307 |
|
$uri = $this->url[$this->tpAmb].'/esfinge/services/folhaPagamentoWS'; |
| 308 |
|
$namespace = 'http://folhapagamento.ws.tce.sc.gov.br/'; |
| 309 |
|
$met = 'folhaPagamento'.$method; |
| 310 |
|
$resp = $this->envia($uri, $namespace, $data, $method, $met); |
| 311 |
|
return $resp; |
| 312 |
|
} |
| 313 |
|
} |
| 314 |
|
|