@@ 238-247 (lines=10) @@ | ||
235 | * @param string $method |
|
236 | * @return array |
|
237 | */ |
|
238 | public function servidor($data = array(), $method = 'L') |
|
239 | { |
|
240 | $this->obterTokenIniciarTransferencia($data); |
|
241 | $uri = $this->url[$this->tpAmb].'/esfinge/services/servidorWS'; |
|
242 | $namespace = 'http://servidor.ws.tce.sc.gov.br/'; |
|
243 | $met = 'servidor'.$method; |
|
244 | //envia a mensagem via cURL |
|
245 | $resp = $this->envia($uri, $namespace, $data, $method, $met); |
|
246 | return $resp; |
|
247 | } |
|
248 | ||
249 | /** |
|
250 | * Situação Servidor Folha Pagamento |
|
@@ 255-263 (lines=9) @@ | ||
252 | * @param string $method |
|
253 | * @return array |
|
254 | */ |
|
255 | public function situacaoServidorFolhaPagamento($data = array(), $method = 'L') |
|
256 | { |
|
257 | $this->obterTokenIniciarTransferencia($data); |
|
258 | $uri = $this->url[$this->tpAmb].'/esfinge/services/situacaoServidorFolhaPagamentoWS'; |
|
259 | $namespace = 'http://situacaoservidorfolhapagamento.ws.tce.sc.gov.br/'; |
|
260 | $met = 'situacaoServidorFolhaPagamento'.$method; |
|
261 | $resp = $this->envia($uri, $namespace, $data, $method, $met); |
|
262 | return $resp; |
|
263 | } |
|
264 | ||
265 | /** |
|
266 | * Componentes Folha Pagamento |
|
@@ 271-279 (lines=9) @@ | ||
268 | * @param string $method |
|
269 | * @return array |
|
270 | */ |
|
271 | public function componentesFolhaPagamento($data = array(), $method = 'L') |
|
272 | { |
|
273 | $this->obterTokenIniciarTransferencia($data); |
|
274 | $uri = $this->url[$this->tpAmb].'/esfinge/services/componentesFolhaPagamentoWS'; |
|
275 | $namespace = 'http://componentesfolhapagamento.ws.tce.sc.gov.br/'; |
|
276 | $met = 'componentesFolhaPagamento'.$method; |
|
277 | $resp = $this->envia($uri, $namespace, $data, $method, $met); |
|
278 | return $resp; |
|
279 | } |
|
280 | ||
281 | /** |
|
282 | * Folha Pagamento |
|
@@ 287-295 (lines=9) @@ | ||
284 | * @param string $method |
|
285 | * @return array |
|
286 | */ |
|
287 | public function folhaPagamento($data = array(), $method = 'L') |
|
288 | { |
|
289 | $this->obterTokenIniciarTransferencia($data); |
|
290 | $uri = $this->url[$this->tpAmb].'/esfinge/services/folhaPagamentoWS'; |
|
291 | $namespace = 'http://folhapagamento.ws.tce.sc.gov.br/'; |
|
292 | $met = 'folhaPagamento'.$method; |
|
293 | $resp = $this->envia($uri, $namespace, $data, $method, $met); |
|
294 | return $resp; |
|
295 | } |
|
296 | } |
|
297 |