Commit 6af469dc10071bcbb81464710875545513f1ab8f
1 parent
680b056f
Exists in
master
and in
1 other branch
Alterações para a versão 3.0.7 que alterou os objetos do serviço listar contatos.
Showing
9 changed files
with
371 additions
and
497 deletions
Show diff stats
src/main/java/br/gov/ans/integracao/sei/client/Contato.java
... | ... | @@ -31,25 +31,7 @@ public class Contato implements java.io.Serializable { |
31 | 31 | |
32 | 32 | private java.lang.String sinEnderecoAssociado; |
33 | 33 | |
34 | - private java.lang.String enderecoAssociado; | |
35 | - | |
36 | - private java.lang.String complementoAssociado; | |
37 | - | |
38 | - private java.lang.String bairroAssociado; | |
39 | - | |
40 | - private java.lang.String idCidadeAssociado; | |
41 | - | |
42 | - private java.lang.String nomeCidadeAssociado; | |
43 | - | |
44 | - private java.lang.String idEstadoAssociado; | |
45 | - | |
46 | - private java.lang.String siglaEstadoAssociado; | |
47 | - | |
48 | - private java.lang.String idPaisAssociado; | |
49 | - | |
50 | - private java.lang.String nomePaisAssociado; | |
51 | - | |
52 | - private java.lang.String cepAssociado; | |
34 | + private java.lang.String cnpjAssociado; | |
53 | 35 | |
54 | 36 | private java.lang.String endereco; |
55 | 37 | |
... | ... | @@ -130,7 +112,7 @@ public class Contato implements java.io.Serializable { |
130 | 112 | java.lang.String siglaEstadoAssociado, |
131 | 113 | java.lang.String idPaisAssociado, |
132 | 114 | java.lang.String nomePaisAssociado, |
133 | - java.lang.String cepAssociado, | |
115 | + java.lang.String cnpjAssociado, | |
134 | 116 | java.lang.String endereco, |
135 | 117 | java.lang.String complemento, |
136 | 118 | java.lang.String bairro, |
... | ... | @@ -169,16 +151,7 @@ public class Contato implements java.io.Serializable { |
169 | 151 | this.idContatoAssociado = idContatoAssociado; |
170 | 152 | this.nomeContatoAssociado = nomeContatoAssociado; |
171 | 153 | this.sinEnderecoAssociado = sinEnderecoAssociado; |
172 | - this.enderecoAssociado = enderecoAssociado; | |
173 | - this.complementoAssociado = complementoAssociado; | |
174 | - this.bairroAssociado = bairroAssociado; | |
175 | - this.idCidadeAssociado = idCidadeAssociado; | |
176 | - this.nomeCidadeAssociado = nomeCidadeAssociado; | |
177 | - this.idEstadoAssociado = idEstadoAssociado; | |
178 | - this.siglaEstadoAssociado = siglaEstadoAssociado; | |
179 | - this.idPaisAssociado = idPaisAssociado; | |
180 | - this.nomePaisAssociado = nomePaisAssociado; | |
181 | - this.cepAssociado = cepAssociado; | |
154 | + this.cnpjAssociado = cnpjAssociado; | |
182 | 155 | this.endereco = endereco; |
183 | 156 | this.complemento = complemento; |
184 | 157 | this.bairro = bairro; |
... | ... | @@ -411,202 +384,22 @@ public class Contato implements java.io.Serializable { |
411 | 384 | |
412 | 385 | |
413 | 386 | /** |
414 | - * Gets the enderecoAssociado value for this Contato. | |
415 | - * | |
416 | - * @return enderecoAssociado | |
417 | - */ | |
418 | - public java.lang.String getEnderecoAssociado() { | |
419 | - return enderecoAssociado; | |
420 | - } | |
421 | - | |
422 | - | |
423 | - /** | |
424 | - * Sets the enderecoAssociado value for this Contato. | |
425 | - * | |
426 | - * @param enderecoAssociado | |
427 | - */ | |
428 | - public void setEnderecoAssociado(java.lang.String enderecoAssociado) { | |
429 | - this.enderecoAssociado = enderecoAssociado; | |
430 | - } | |
431 | - | |
432 | - | |
433 | - /** | |
434 | - * Gets the complementoAssociado value for this Contato. | |
435 | - * | |
436 | - * @return complementoAssociado | |
437 | - */ | |
438 | - public java.lang.String getComplementoAssociado() { | |
439 | - return complementoAssociado; | |
440 | - } | |
441 | - | |
442 | - | |
443 | - /** | |
444 | - * Sets the complementoAssociado value for this Contato. | |
445 | - * | |
446 | - * @param complementoAssociado | |
447 | - */ | |
448 | - public void setComplementoAssociado(java.lang.String complementoAssociado) { | |
449 | - this.complementoAssociado = complementoAssociado; | |
450 | - } | |
451 | - | |
452 | - | |
453 | - /** | |
454 | - * Gets the bairroAssociado value for this Contato. | |
455 | - * | |
456 | - * @return bairroAssociado | |
457 | - */ | |
458 | - public java.lang.String getBairroAssociado() { | |
459 | - return bairroAssociado; | |
460 | - } | |
461 | - | |
462 | - | |
463 | - /** | |
464 | - * Sets the bairroAssociado value for this Contato. | |
465 | - * | |
466 | - * @param bairroAssociado | |
467 | - */ | |
468 | - public void setBairroAssociado(java.lang.String bairroAssociado) { | |
469 | - this.bairroAssociado = bairroAssociado; | |
470 | - } | |
471 | - | |
472 | - | |
473 | - /** | |
474 | - * Gets the idCidadeAssociado value for this Contato. | |
475 | - * | |
476 | - * @return idCidadeAssociado | |
477 | - */ | |
478 | - public java.lang.String getIdCidadeAssociado() { | |
479 | - return idCidadeAssociado; | |
480 | - } | |
481 | - | |
482 | - | |
483 | - /** | |
484 | - * Sets the idCidadeAssociado value for this Contato. | |
485 | - * | |
486 | - * @param idCidadeAssociado | |
487 | - */ | |
488 | - public void setIdCidadeAssociado(java.lang.String idCidadeAssociado) { | |
489 | - this.idCidadeAssociado = idCidadeAssociado; | |
490 | - } | |
491 | - | |
492 | - | |
493 | - /** | |
494 | - * Gets the nomeCidadeAssociado value for this Contato. | |
495 | - * | |
496 | - * @return nomeCidadeAssociado | |
497 | - */ | |
498 | - public java.lang.String getNomeCidadeAssociado() { | |
499 | - return nomeCidadeAssociado; | |
500 | - } | |
501 | - | |
502 | - | |
503 | - /** | |
504 | - * Sets the nomeCidadeAssociado value for this Contato. | |
505 | - * | |
506 | - * @param nomeCidadeAssociado | |
507 | - */ | |
508 | - public void setNomeCidadeAssociado(java.lang.String nomeCidadeAssociado) { | |
509 | - this.nomeCidadeAssociado = nomeCidadeAssociado; | |
510 | - } | |
511 | - | |
512 | - | |
513 | - /** | |
514 | - * Gets the idEstadoAssociado value for this Contato. | |
515 | - * | |
516 | - * @return idEstadoAssociado | |
517 | - */ | |
518 | - public java.lang.String getIdEstadoAssociado() { | |
519 | - return idEstadoAssociado; | |
520 | - } | |
521 | - | |
522 | - | |
523 | - /** | |
524 | - * Sets the idEstadoAssociado value for this Contato. | |
525 | - * | |
526 | - * @param idEstadoAssociado | |
527 | - */ | |
528 | - public void setIdEstadoAssociado(java.lang.String idEstadoAssociado) { | |
529 | - this.idEstadoAssociado = idEstadoAssociado; | |
530 | - } | |
531 | - | |
532 | - | |
533 | - /** | |
534 | - * Gets the siglaEstadoAssociado value for this Contato. | |
387 | + * Gets the cnpjAssociado value for this Contato. | |
535 | 388 | * |
536 | - * @return siglaEstadoAssociado | |
389 | + * @return cnpjAssociado | |
537 | 390 | */ |
538 | - public java.lang.String getSiglaEstadoAssociado() { | |
539 | - return siglaEstadoAssociado; | |
391 | + public java.lang.String getCnpjAssociado() { | |
392 | + return cnpjAssociado; | |
540 | 393 | } |
541 | 394 | |
542 | 395 | |
543 | 396 | /** |
544 | - * Sets the siglaEstadoAssociado value for this Contato. | |
397 | + * Sets the cnpjAssociado value for this Contato. | |
545 | 398 | * |
546 | - * @param siglaEstadoAssociado | |
399 | + * @param cnpjAssociado | |
547 | 400 | */ |
548 | - public void setSiglaEstadoAssociado(java.lang.String siglaEstadoAssociado) { | |
549 | - this.siglaEstadoAssociado = siglaEstadoAssociado; | |
550 | - } | |
551 | - | |
552 | - | |
553 | - /** | |
554 | - * Gets the idPaisAssociado value for this Contato. | |
555 | - * | |
556 | - * @return idPaisAssociado | |
557 | - */ | |
558 | - public java.lang.String getIdPaisAssociado() { | |
559 | - return idPaisAssociado; | |
560 | - } | |
561 | - | |
562 | - | |
563 | - /** | |
564 | - * Sets the idPaisAssociado value for this Contato. | |
565 | - * | |
566 | - * @param idPaisAssociado | |
567 | - */ | |
568 | - public void setIdPaisAssociado(java.lang.String idPaisAssociado) { | |
569 | - this.idPaisAssociado = idPaisAssociado; | |
570 | - } | |
571 | - | |
572 | - | |
573 | - /** | |
574 | - * Gets the nomePaisAssociado value for this Contato. | |
575 | - * | |
576 | - * @return nomePaisAssociado | |
577 | - */ | |
578 | - public java.lang.String getNomePaisAssociado() { | |
579 | - return nomePaisAssociado; | |
580 | - } | |
581 | - | |
582 | - | |
583 | - /** | |
584 | - * Sets the nomePaisAssociado value for this Contato. | |
585 | - * | |
586 | - * @param nomePaisAssociado | |
587 | - */ | |
588 | - public void setNomePaisAssociado(java.lang.String nomePaisAssociado) { | |
589 | - this.nomePaisAssociado = nomePaisAssociado; | |
590 | - } | |
591 | - | |
592 | - | |
593 | - /** | |
594 | - * Gets the cepAssociado value for this Contato. | |
595 | - * | |
596 | - * @return cepAssociado | |
597 | - */ | |
598 | - public java.lang.String getCepAssociado() { | |
599 | - return cepAssociado; | |
600 | - } | |
601 | - | |
602 | - | |
603 | - /** | |
604 | - * Sets the cepAssociado value for this Contato. | |
605 | - * | |
606 | - * @param cepAssociado | |
607 | - */ | |
608 | - public void setCepAssociado(java.lang.String cepAssociado) { | |
609 | - this.cepAssociado = cepAssociado; | |
401 | + public void setCnpjAssociado(java.lang.String cnpjAssociado) { | |
402 | + this.cnpjAssociado = cnpjAssociado; | |
610 | 403 | } |
611 | 404 | |
612 | 405 | |
... | ... | @@ -1210,36 +1003,9 @@ public class Contato implements java.io.Serializable { |
1210 | 1003 | ((this.sinEnderecoAssociado==null && other.getSinEnderecoAssociado()==null) || |
1211 | 1004 | (this.sinEnderecoAssociado!=null && |
1212 | 1005 | this.sinEnderecoAssociado.equals(other.getSinEnderecoAssociado()))) && |
1213 | - ((this.enderecoAssociado==null && other.getEnderecoAssociado()==null) || | |
1214 | - (this.enderecoAssociado!=null && | |
1215 | - this.enderecoAssociado.equals(other.getEnderecoAssociado()))) && | |
1216 | - ((this.complementoAssociado==null && other.getComplementoAssociado()==null) || | |
1217 | - (this.complementoAssociado!=null && | |
1218 | - this.complementoAssociado.equals(other.getComplementoAssociado()))) && | |
1219 | - ((this.bairroAssociado==null && other.getBairroAssociado()==null) || | |
1220 | - (this.bairroAssociado!=null && | |
1221 | - this.bairroAssociado.equals(other.getBairroAssociado()))) && | |
1222 | - ((this.idCidadeAssociado==null && other.getIdCidadeAssociado()==null) || | |
1223 | - (this.idCidadeAssociado!=null && | |
1224 | - this.idCidadeAssociado.equals(other.getIdCidadeAssociado()))) && | |
1225 | - ((this.nomeCidadeAssociado==null && other.getNomeCidadeAssociado()==null) || | |
1226 | - (this.nomeCidadeAssociado!=null && | |
1227 | - this.nomeCidadeAssociado.equals(other.getNomeCidadeAssociado()))) && | |
1228 | - ((this.idEstadoAssociado==null && other.getIdEstadoAssociado()==null) || | |
1229 | - (this.idEstadoAssociado!=null && | |
1230 | - this.idEstadoAssociado.equals(other.getIdEstadoAssociado()))) && | |
1231 | - ((this.siglaEstadoAssociado==null && other.getSiglaEstadoAssociado()==null) || | |
1232 | - (this.siglaEstadoAssociado!=null && | |
1233 | - this.siglaEstadoAssociado.equals(other.getSiglaEstadoAssociado()))) && | |
1234 | - ((this.idPaisAssociado==null && other.getIdPaisAssociado()==null) || | |
1235 | - (this.idPaisAssociado!=null && | |
1236 | - this.idPaisAssociado.equals(other.getIdPaisAssociado()))) && | |
1237 | - ((this.nomePaisAssociado==null && other.getNomePaisAssociado()==null) || | |
1238 | - (this.nomePaisAssociado!=null && | |
1239 | - this.nomePaisAssociado.equals(other.getNomePaisAssociado()))) && | |
1240 | - ((this.cepAssociado==null && other.getCepAssociado()==null) || | |
1241 | - (this.cepAssociado!=null && | |
1242 | - this.cepAssociado.equals(other.getCepAssociado()))) && | |
1006 | + ((this.cnpjAssociado==null && other.getCnpjAssociado()==null) || | |
1007 | + (this.cnpjAssociado!=null && | |
1008 | + this.cnpjAssociado.equals(other.getCnpjAssociado()))) && | |
1243 | 1009 | ((this.endereco==null && other.getEndereco()==null) || |
1244 | 1010 | (this.endereco!=null && |
1245 | 1011 | this.endereco.equals(other.getEndereco()))) && |
... | ... | @@ -1365,35 +1131,8 @@ public class Contato implements java.io.Serializable { |
1365 | 1131 | if (getSinEnderecoAssociado() != null) { |
1366 | 1132 | _hashCode += getSinEnderecoAssociado().hashCode(); |
1367 | 1133 | } |
1368 | - if (getEnderecoAssociado() != null) { | |
1369 | - _hashCode += getEnderecoAssociado().hashCode(); | |
1370 | - } | |
1371 | - if (getComplementoAssociado() != null) { | |
1372 | - _hashCode += getComplementoAssociado().hashCode(); | |
1373 | - } | |
1374 | - if (getBairroAssociado() != null) { | |
1375 | - _hashCode += getBairroAssociado().hashCode(); | |
1376 | - } | |
1377 | - if (getIdCidadeAssociado() != null) { | |
1378 | - _hashCode += getIdCidadeAssociado().hashCode(); | |
1379 | - } | |
1380 | - if (getNomeCidadeAssociado() != null) { | |
1381 | - _hashCode += getNomeCidadeAssociado().hashCode(); | |
1382 | - } | |
1383 | - if (getIdEstadoAssociado() != null) { | |
1384 | - _hashCode += getIdEstadoAssociado().hashCode(); | |
1385 | - } | |
1386 | - if (getSiglaEstadoAssociado() != null) { | |
1387 | - _hashCode += getSiglaEstadoAssociado().hashCode(); | |
1388 | - } | |
1389 | - if (getIdPaisAssociado() != null) { | |
1390 | - _hashCode += getIdPaisAssociado().hashCode(); | |
1391 | - } | |
1392 | - if (getNomePaisAssociado() != null) { | |
1393 | - _hashCode += getNomePaisAssociado().hashCode(); | |
1394 | - } | |
1395 | - if (getCepAssociado() != null) { | |
1396 | - _hashCode += getCepAssociado().hashCode(); | |
1134 | + if (getCnpjAssociado() != null) { | |
1135 | + _hashCode += getCnpjAssociado().hashCode(); | |
1397 | 1136 | } |
1398 | 1137 | if (getEndereco() != null) { |
1399 | 1138 | _hashCode += getEndereco().hashCode(); |
... | ... | @@ -1550,63 +1289,10 @@ public class Contato implements java.io.Serializable { |
1550 | 1289 | elemField.setNillable(true); |
1551 | 1290 | typeDesc.addFieldDesc(elemField); |
1552 | 1291 | elemField = new org.apache.axis.description.ElementDesc(); |
1553 | - elemField.setFieldName("enderecoAssociado"); | |
1554 | - elemField.setXmlName(new javax.xml.namespace.QName("", "EnderecoAssociado")); | |
1555 | - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); | |
1556 | - elemField.setNillable(true); | |
1557 | - typeDesc.addFieldDesc(elemField); | |
1558 | - elemField = new org.apache.axis.description.ElementDesc(); | |
1559 | - elemField.setFieldName("complementoAssociado"); | |
1560 | - elemField.setXmlName(new javax.xml.namespace.QName("", "ComplementoAssociado")); | |
1561 | - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); | |
1562 | - elemField.setNillable(true); | |
1563 | - typeDesc.addFieldDesc(elemField); | |
1564 | - elemField = new org.apache.axis.description.ElementDesc(); | |
1565 | - elemField.setFieldName("bairroAssociado"); | |
1566 | - elemField.setXmlName(new javax.xml.namespace.QName("", "BairroAssociado")); | |
1567 | - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); | |
1568 | - elemField.setNillable(true); | |
1569 | - typeDesc.addFieldDesc(elemField); | |
1570 | - elemField = new org.apache.axis.description.ElementDesc(); | |
1571 | - elemField.setFieldName("idCidadeAssociado"); | |
1572 | - elemField.setXmlName(new javax.xml.namespace.QName("", "IdCidadeAssociado")); | |
1573 | - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); | |
1574 | - elemField.setNillable(true); | |
1575 | - typeDesc.addFieldDesc(elemField); | |
1576 | - elemField = new org.apache.axis.description.ElementDesc(); | |
1577 | - elemField.setFieldName("nomeCidadeAssociado"); | |
1578 | - elemField.setXmlName(new javax.xml.namespace.QName("", "NomeCidadeAssociado")); | |
1579 | - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); | |
1580 | - elemField.setNillable(true); | |
1581 | - typeDesc.addFieldDesc(elemField); | |
1582 | - elemField = new org.apache.axis.description.ElementDesc(); | |
1583 | - elemField.setFieldName("idEstadoAssociado"); | |
1584 | - elemField.setXmlName(new javax.xml.namespace.QName("", "IdEstadoAssociado")); | |
1585 | - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); | |
1586 | - elemField.setNillable(true); | |
1587 | - typeDesc.addFieldDesc(elemField); | |
1588 | - elemField = new org.apache.axis.description.ElementDesc(); | |
1589 | - elemField.setFieldName("siglaEstadoAssociado"); | |
1590 | - elemField.setXmlName(new javax.xml.namespace.QName("", "SiglaEstadoAssociado")); | |
1591 | - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); | |
1592 | - elemField.setNillable(true); | |
1593 | - typeDesc.addFieldDesc(elemField); | |
1594 | - elemField = new org.apache.axis.description.ElementDesc(); | |
1595 | - elemField.setFieldName("idPaisAssociado"); | |
1596 | - elemField.setXmlName(new javax.xml.namespace.QName("", "IdPaisAssociado")); | |
1597 | - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); | |
1598 | - elemField.setNillable(true); | |
1599 | - typeDesc.addFieldDesc(elemField); | |
1600 | - elemField = new org.apache.axis.description.ElementDesc(); | |
1601 | - elemField.setFieldName("nomePaisAssociado"); | |
1602 | - elemField.setXmlName(new javax.xml.namespace.QName("", "NomePaisAssociado")); | |
1603 | - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); | |
1604 | - elemField.setNillable(true); | |
1605 | - typeDesc.addFieldDesc(elemField); | |
1606 | - elemField = new org.apache.axis.description.ElementDesc(); | |
1607 | - elemField.setFieldName("cepAssociado"); | |
1608 | - elemField.setXmlName(new javax.xml.namespace.QName("", "CepAssociado")); | |
1292 | + elemField.setFieldName("cnpjAssociado"); | |
1293 | + elemField.setXmlName(new javax.xml.namespace.QName("", "CnpjAssociado")); | |
1609 | 1294 | elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); |
1295 | + elemField.setMinOccurs(0); | |
1610 | 1296 | elemField.setNillable(true); |
1611 | 1297 | typeDesc.addFieldDesc(elemField); |
1612 | 1298 | elemField = new org.apache.axis.description.ElementDesc(); | ... | ... |
src/main/java/br/gov/ans/integracao/sei/client/SeiBindingStub.java
... | ... | @@ -23,7 +23,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
23 | 23 | static org.apache.axis.description.OperationDesc [] _operations; |
24 | 24 | |
25 | 25 | static { |
26 | - _operations = new org.apache.axis.description.OperationDesc[46]; | |
26 | + _operations = new org.apache.axis.description.OperationDesc[47]; | |
27 | 27 | _initOperationDesc1(); |
28 | 28 | _initOperationDesc2(); |
29 | 29 | _initOperationDesc3(); |
... | ... | @@ -163,6 +163,8 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
163 | 163 | oper.addParameter(param); |
164 | 164 | param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "Matricula"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false); |
165 | 165 | oper.addParameter(param); |
166 | + param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "IdContatos"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("Sei", "ArrayOfIdContatos"), java.lang.String[].class, false, false); | |
167 | + oper.addParameter(param); | |
166 | 168 | oper.setReturnType(new javax.xml.namespace.QName("Sei", "ArrayOfContato")); |
167 | 169 | oper.setReturnClass(br.gov.ans.integracao.sei.client.Contato[].class); |
168 | 170 | oper.setReturnQName(new javax.xml.namespace.QName("", "parametros")); |
... | ... | @@ -223,6 +225,29 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
223 | 225 | _operations[7] = oper; |
224 | 226 | |
225 | 227 | oper = new org.apache.axis.description.OperationDesc(); |
228 | + oper.setName("consultarProcedimentoIndividual"); | |
229 | + param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "SiglaSistema"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false); | |
230 | + oper.addParameter(param); | |
231 | + param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "IdentificacaoServico"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false); | |
232 | + oper.addParameter(param); | |
233 | + param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "IdUnidade"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false); | |
234 | + oper.addParameter(param); | |
235 | + param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "IdOrgaoProcedimento"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false); | |
236 | + oper.addParameter(param); | |
237 | + param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "IdTipoProcedimento"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false); | |
238 | + oper.addParameter(param); | |
239 | + param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "IdOrgaoUsuario"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false); | |
240 | + oper.addParameter(param); | |
241 | + param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "SiglaUsuario"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false); | |
242 | + oper.addParameter(param); | |
243 | + oper.setReturnType(new javax.xml.namespace.QName("Sei", "ProcedimentoResumido")); | |
244 | + oper.setReturnClass(br.gov.ans.integracao.sei.client.ProcedimentoResumido.class); | |
245 | + oper.setReturnQName(new javax.xml.namespace.QName("", "parametros")); | |
246 | + oper.setStyle(org.apache.axis.constants.Style.RPC); | |
247 | + oper.setUse(org.apache.axis.constants.Use.ENCODED); | |
248 | + _operations[8] = oper; | |
249 | + | |
250 | + oper = new org.apache.axis.description.OperationDesc(); | |
226 | 251 | oper.setName("consultarDocumento"); |
227 | 252 | param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "SiglaSistema"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false); |
228 | 253 | oper.addParameter(param); |
... | ... | @@ -245,8 +270,13 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
245 | 270 | oper.setReturnQName(new javax.xml.namespace.QName("", "parametros")); |
246 | 271 | oper.setStyle(org.apache.axis.constants.Style.RPC); |
247 | 272 | oper.setUse(org.apache.axis.constants.Use.ENCODED); |
248 | - _operations[8] = oper; | |
273 | + _operations[9] = oper; | |
249 | 274 | |
275 | + } | |
276 | + | |
277 | + private static void _initOperationDesc2(){ | |
278 | + org.apache.axis.description.OperationDesc oper; | |
279 | + org.apache.axis.description.ParameterDesc param; | |
250 | 280 | oper = new org.apache.axis.description.OperationDesc(); |
251 | 281 | oper.setName("cancelarDocumento"); |
252 | 282 | param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "SiglaSistema"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false); |
... | ... | @@ -264,13 +294,8 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
264 | 294 | oper.setReturnQName(new javax.xml.namespace.QName("", "parametros")); |
265 | 295 | oper.setStyle(org.apache.axis.constants.Style.RPC); |
266 | 296 | oper.setUse(org.apache.axis.constants.Use.ENCODED); |
267 | - _operations[9] = oper; | |
268 | - | |
269 | - } | |
297 | + _operations[10] = oper; | |
270 | 298 | |
271 | - private static void _initOperationDesc2(){ | |
272 | - org.apache.axis.description.OperationDesc oper; | |
273 | - org.apache.axis.description.ParameterDesc param; | |
274 | 299 | oper = new org.apache.axis.description.OperationDesc(); |
275 | 300 | oper.setName("gerarBloco"); |
276 | 301 | param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "SiglaSistema"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false); |
... | ... | @@ -294,7 +319,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
294 | 319 | oper.setReturnQName(new javax.xml.namespace.QName("", "parametros")); |
295 | 320 | oper.setStyle(org.apache.axis.constants.Style.RPC); |
296 | 321 | oper.setUse(org.apache.axis.constants.Use.ENCODED); |
297 | - _operations[10] = oper; | |
322 | + _operations[11] = oper; | |
298 | 323 | |
299 | 324 | oper = new org.apache.axis.description.OperationDesc(); |
300 | 325 | oper.setName("consultarBloco"); |
... | ... | @@ -313,7 +338,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
313 | 338 | oper.setReturnQName(new javax.xml.namespace.QName("", "parametros")); |
314 | 339 | oper.setStyle(org.apache.axis.constants.Style.RPC); |
315 | 340 | oper.setUse(org.apache.axis.constants.Use.ENCODED); |
316 | - _operations[11] = oper; | |
341 | + _operations[12] = oper; | |
317 | 342 | |
318 | 343 | oper = new org.apache.axis.description.OperationDesc(); |
319 | 344 | oper.setName("excluirBloco"); |
... | ... | @@ -330,7 +355,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
330 | 355 | oper.setReturnQName(new javax.xml.namespace.QName("", "parametros")); |
331 | 356 | oper.setStyle(org.apache.axis.constants.Style.RPC); |
332 | 357 | oper.setUse(org.apache.axis.constants.Use.ENCODED); |
333 | - _operations[12] = oper; | |
358 | + _operations[13] = oper; | |
334 | 359 | |
335 | 360 | oper = new org.apache.axis.description.OperationDesc(); |
336 | 361 | oper.setName("disponibilizarBloco"); |
... | ... | @@ -347,7 +372,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
347 | 372 | oper.setReturnQName(new javax.xml.namespace.QName("", "parametros")); |
348 | 373 | oper.setStyle(org.apache.axis.constants.Style.RPC); |
349 | 374 | oper.setUse(org.apache.axis.constants.Use.ENCODED); |
350 | - _operations[13] = oper; | |
375 | + _operations[14] = oper; | |
351 | 376 | |
352 | 377 | oper = new org.apache.axis.description.OperationDesc(); |
353 | 378 | oper.setName("cancelarDisponibilizacaoBloco"); |
... | ... | @@ -364,7 +389,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
364 | 389 | oper.setReturnQName(new javax.xml.namespace.QName("", "parametros")); |
365 | 390 | oper.setStyle(org.apache.axis.constants.Style.RPC); |
366 | 391 | oper.setUse(org.apache.axis.constants.Use.ENCODED); |
367 | - _operations[14] = oper; | |
392 | + _operations[15] = oper; | |
368 | 393 | |
369 | 394 | oper = new org.apache.axis.description.OperationDesc(); |
370 | 395 | oper.setName("incluirDocumentoBloco"); |
... | ... | @@ -385,7 +410,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
385 | 410 | oper.setReturnQName(new javax.xml.namespace.QName("", "parametros")); |
386 | 411 | oper.setStyle(org.apache.axis.constants.Style.RPC); |
387 | 412 | oper.setUse(org.apache.axis.constants.Use.ENCODED); |
388 | - _operations[15] = oper; | |
413 | + _operations[16] = oper; | |
389 | 414 | |
390 | 415 | oper = new org.apache.axis.description.OperationDesc(); |
391 | 416 | oper.setName("retirarDocumentoBloco"); |
... | ... | @@ -404,7 +429,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
404 | 429 | oper.setReturnQName(new javax.xml.namespace.QName("", "parametros")); |
405 | 430 | oper.setStyle(org.apache.axis.constants.Style.RPC); |
406 | 431 | oper.setUse(org.apache.axis.constants.Use.ENCODED); |
407 | - _operations[16] = oper; | |
432 | + _operations[17] = oper; | |
408 | 433 | |
409 | 434 | oper = new org.apache.axis.description.OperationDesc(); |
410 | 435 | oper.setName("incluirProcessoBloco"); |
... | ... | @@ -425,7 +450,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
425 | 450 | oper.setReturnQName(new javax.xml.namespace.QName("", "parametros")); |
426 | 451 | oper.setStyle(org.apache.axis.constants.Style.RPC); |
427 | 452 | oper.setUse(org.apache.axis.constants.Use.ENCODED); |
428 | - _operations[17] = oper; | |
453 | + _operations[18] = oper; | |
429 | 454 | |
430 | 455 | oper = new org.apache.axis.description.OperationDesc(); |
431 | 456 | oper.setName("retirarProcessoBloco"); |
... | ... | @@ -444,8 +469,13 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
444 | 469 | oper.setReturnQName(new javax.xml.namespace.QName("", "parametros")); |
445 | 470 | oper.setStyle(org.apache.axis.constants.Style.RPC); |
446 | 471 | oper.setUse(org.apache.axis.constants.Use.ENCODED); |
447 | - _operations[18] = oper; | |
472 | + _operations[19] = oper; | |
473 | + | |
474 | + } | |
448 | 475 | |
476 | + private static void _initOperationDesc3(){ | |
477 | + org.apache.axis.description.OperationDesc oper; | |
478 | + org.apache.axis.description.ParameterDesc param; | |
449 | 479 | oper = new org.apache.axis.description.OperationDesc(); |
450 | 480 | oper.setName("reabrirProcesso"); |
451 | 481 | param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "SiglaSistema"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false); |
... | ... | @@ -461,13 +491,8 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
461 | 491 | oper.setReturnQName(new javax.xml.namespace.QName("", "parametros")); |
462 | 492 | oper.setStyle(org.apache.axis.constants.Style.RPC); |
463 | 493 | oper.setUse(org.apache.axis.constants.Use.ENCODED); |
464 | - _operations[19] = oper; | |
465 | - | |
466 | - } | |
494 | + _operations[20] = oper; | |
467 | 495 | |
468 | - private static void _initOperationDesc3(){ | |
469 | - org.apache.axis.description.OperationDesc oper; | |
470 | - org.apache.axis.description.ParameterDesc param; | |
471 | 496 | oper = new org.apache.axis.description.OperationDesc(); |
472 | 497 | oper.setName("concluirProcesso"); |
473 | 498 | param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "SiglaSistema"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false); |
... | ... | @@ -483,7 +508,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
483 | 508 | oper.setReturnQName(new javax.xml.namespace.QName("", "parametros")); |
484 | 509 | oper.setStyle(org.apache.axis.constants.Style.RPC); |
485 | 510 | oper.setUse(org.apache.axis.constants.Use.ENCODED); |
486 | - _operations[20] = oper; | |
511 | + _operations[21] = oper; | |
487 | 512 | |
488 | 513 | oper = new org.apache.axis.description.OperationDesc(); |
489 | 514 | oper.setName("listarExtensoesPermitidas"); |
... | ... | @@ -500,7 +525,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
500 | 525 | oper.setReturnQName(new javax.xml.namespace.QName("", "parametros")); |
501 | 526 | oper.setStyle(org.apache.axis.constants.Style.RPC); |
502 | 527 | oper.setUse(org.apache.axis.constants.Use.ENCODED); |
503 | - _operations[21] = oper; | |
528 | + _operations[22] = oper; | |
504 | 529 | |
505 | 530 | oper = new org.apache.axis.description.OperationDesc(); |
506 | 531 | oper.setName("enviarProcesso"); |
... | ... | @@ -533,7 +558,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
533 | 558 | oper.setReturnQName(new javax.xml.namespace.QName("", "parametros")); |
534 | 559 | oper.setStyle(org.apache.axis.constants.Style.RPC); |
535 | 560 | oper.setUse(org.apache.axis.constants.Use.ENCODED); |
536 | - _operations[22] = oper; | |
561 | + _operations[23] = oper; | |
537 | 562 | |
538 | 563 | oper = new org.apache.axis.description.OperationDesc(); |
539 | 564 | oper.setName("listarUsuarios"); |
... | ... | @@ -550,7 +575,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
550 | 575 | oper.setReturnQName(new javax.xml.namespace.QName("", "parametros")); |
551 | 576 | oper.setStyle(org.apache.axis.constants.Style.RPC); |
552 | 577 | oper.setUse(org.apache.axis.constants.Use.ENCODED); |
553 | - _operations[23] = oper; | |
578 | + _operations[24] = oper; | |
554 | 579 | |
555 | 580 | oper = new org.apache.axis.description.OperationDesc(); |
556 | 581 | oper.setName("atribuirProcesso"); |
... | ... | @@ -571,7 +596,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
571 | 596 | oper.setReturnQName(new javax.xml.namespace.QName("", "parametros")); |
572 | 597 | oper.setStyle(org.apache.axis.constants.Style.RPC); |
573 | 598 | oper.setUse(org.apache.axis.constants.Use.ENCODED); |
574 | - _operations[24] = oper; | |
599 | + _operations[25] = oper; | |
575 | 600 | |
576 | 601 | oper = new org.apache.axis.description.OperationDesc(); |
577 | 602 | oper.setName("listarHipotesesLegais"); |
... | ... | @@ -588,7 +613,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
588 | 613 | oper.setReturnQName(new javax.xml.namespace.QName("", "parametros")); |
589 | 614 | oper.setStyle(org.apache.axis.constants.Style.RPC); |
590 | 615 | oper.setUse(org.apache.axis.constants.Use.ENCODED); |
591 | - _operations[25] = oper; | |
616 | + _operations[26] = oper; | |
592 | 617 | |
593 | 618 | oper = new org.apache.axis.description.OperationDesc(); |
594 | 619 | oper.setName("listarPaises"); |
... | ... | @@ -603,7 +628,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
603 | 628 | oper.setReturnQName(new javax.xml.namespace.QName("", "parametros")); |
604 | 629 | oper.setStyle(org.apache.axis.constants.Style.RPC); |
605 | 630 | oper.setUse(org.apache.axis.constants.Use.ENCODED); |
606 | - _operations[26] = oper; | |
631 | + _operations[27] = oper; | |
607 | 632 | |
608 | 633 | oper = new org.apache.axis.description.OperationDesc(); |
609 | 634 | oper.setName("listarEstados"); |
... | ... | @@ -620,7 +645,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
620 | 645 | oper.setReturnQName(new javax.xml.namespace.QName("", "parametros")); |
621 | 646 | oper.setStyle(org.apache.axis.constants.Style.RPC); |
622 | 647 | oper.setUse(org.apache.axis.constants.Use.ENCODED); |
623 | - _operations[27] = oper; | |
648 | + _operations[28] = oper; | |
624 | 649 | |
625 | 650 | oper = new org.apache.axis.description.OperationDesc(); |
626 | 651 | oper.setName("listarCidades"); |
... | ... | @@ -639,8 +664,13 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
639 | 664 | oper.setReturnQName(new javax.xml.namespace.QName("", "parametros")); |
640 | 665 | oper.setStyle(org.apache.axis.constants.Style.RPC); |
641 | 666 | oper.setUse(org.apache.axis.constants.Use.ENCODED); |
642 | - _operations[28] = oper; | |
667 | + _operations[29] = oper; | |
668 | + | |
669 | + } | |
643 | 670 | |
671 | + private static void _initOperationDesc4(){ | |
672 | + org.apache.axis.description.OperationDesc oper; | |
673 | + org.apache.axis.description.ParameterDesc param; | |
644 | 674 | oper = new org.apache.axis.description.OperationDesc(); |
645 | 675 | oper.setName("listarCargos"); |
646 | 676 | param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "SiglaSistema"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false); |
... | ... | @@ -656,13 +686,8 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
656 | 686 | oper.setReturnQName(new javax.xml.namespace.QName("", "parametros")); |
657 | 687 | oper.setStyle(org.apache.axis.constants.Style.RPC); |
658 | 688 | oper.setUse(org.apache.axis.constants.Use.ENCODED); |
659 | - _operations[29] = oper; | |
660 | - | |
661 | - } | |
689 | + _operations[30] = oper; | |
662 | 690 | |
663 | - private static void _initOperationDesc4(){ | |
664 | - org.apache.axis.description.OperationDesc oper; | |
665 | - org.apache.axis.description.ParameterDesc param; | |
666 | 691 | oper = new org.apache.axis.description.OperationDesc(); |
667 | 692 | oper.setName("listarTiposConferencia"); |
668 | 693 | param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "SiglaSistema"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false); |
... | ... | @@ -676,7 +701,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
676 | 701 | oper.setReturnQName(new javax.xml.namespace.QName("", "parametros")); |
677 | 702 | oper.setStyle(org.apache.axis.constants.Style.RPC); |
678 | 703 | oper.setUse(org.apache.axis.constants.Use.ENCODED); |
679 | - _operations[30] = oper; | |
704 | + _operations[31] = oper; | |
680 | 705 | |
681 | 706 | oper = new org.apache.axis.description.OperationDesc(); |
682 | 707 | oper.setName("adicionarArquivo"); |
... | ... | @@ -699,7 +724,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
699 | 724 | oper.setReturnQName(new javax.xml.namespace.QName("", "parametros")); |
700 | 725 | oper.setStyle(org.apache.axis.constants.Style.RPC); |
701 | 726 | oper.setUse(org.apache.axis.constants.Use.ENCODED); |
702 | - _operations[31] = oper; | |
727 | + _operations[32] = oper; | |
703 | 728 | |
704 | 729 | oper = new org.apache.axis.description.OperationDesc(); |
705 | 730 | oper.setName("adicionarConteudoArquivo"); |
... | ... | @@ -718,7 +743,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
718 | 743 | oper.setReturnQName(new javax.xml.namespace.QName("", "parametros")); |
719 | 744 | oper.setStyle(org.apache.axis.constants.Style.RPC); |
720 | 745 | oper.setUse(org.apache.axis.constants.Use.ENCODED); |
721 | - _operations[32] = oper; | |
746 | + _operations[33] = oper; | |
722 | 747 | |
723 | 748 | oper = new org.apache.axis.description.OperationDesc(); |
724 | 749 | oper.setName("lancarAndamento"); |
... | ... | @@ -741,7 +766,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
741 | 766 | oper.setReturnQName(new javax.xml.namespace.QName("", "parametros")); |
742 | 767 | oper.setStyle(org.apache.axis.constants.Style.RPC); |
743 | 768 | oper.setUse(org.apache.axis.constants.Use.ENCODED); |
744 | - _operations[33] = oper; | |
769 | + _operations[34] = oper; | |
745 | 770 | |
746 | 771 | oper = new org.apache.axis.description.OperationDesc(); |
747 | 772 | oper.setName("listarAndamentos"); |
... | ... | @@ -766,7 +791,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
766 | 791 | oper.setReturnQName(new javax.xml.namespace.QName("", "parametros")); |
767 | 792 | oper.setStyle(org.apache.axis.constants.Style.RPC); |
768 | 793 | oper.setUse(org.apache.axis.constants.Use.ENCODED); |
769 | - _operations[34] = oper; | |
794 | + _operations[35] = oper; | |
770 | 795 | |
771 | 796 | oper = new org.apache.axis.description.OperationDesc(); |
772 | 797 | oper.setName("bloquearProcesso"); |
... | ... | @@ -783,7 +808,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
783 | 808 | oper.setReturnQName(new javax.xml.namespace.QName("", "parametros")); |
784 | 809 | oper.setStyle(org.apache.axis.constants.Style.RPC); |
785 | 810 | oper.setUse(org.apache.axis.constants.Use.ENCODED); |
786 | - _operations[35] = oper; | |
811 | + _operations[36] = oper; | |
787 | 812 | |
788 | 813 | oper = new org.apache.axis.description.OperationDesc(); |
789 | 814 | oper.setName("desbloquearProcesso"); |
... | ... | @@ -800,7 +825,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
800 | 825 | oper.setReturnQName(new javax.xml.namespace.QName("", "parametros")); |
801 | 826 | oper.setStyle(org.apache.axis.constants.Style.RPC); |
802 | 827 | oper.setUse(org.apache.axis.constants.Use.ENCODED); |
803 | - _operations[36] = oper; | |
828 | + _operations[37] = oper; | |
804 | 829 | |
805 | 830 | oper = new org.apache.axis.description.OperationDesc(); |
806 | 831 | oper.setName("relacionarProcesso"); |
... | ... | @@ -819,7 +844,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
819 | 844 | oper.setReturnQName(new javax.xml.namespace.QName("", "parametros")); |
820 | 845 | oper.setStyle(org.apache.axis.constants.Style.RPC); |
821 | 846 | oper.setUse(org.apache.axis.constants.Use.ENCODED); |
822 | - _operations[37] = oper; | |
847 | + _operations[38] = oper; | |
823 | 848 | |
824 | 849 | oper = new org.apache.axis.description.OperationDesc(); |
825 | 850 | oper.setName("removerRelacionamentoProcesso"); |
... | ... | @@ -838,8 +863,13 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
838 | 863 | oper.setReturnQName(new javax.xml.namespace.QName("", "parametros")); |
839 | 864 | oper.setStyle(org.apache.axis.constants.Style.RPC); |
840 | 865 | oper.setUse(org.apache.axis.constants.Use.ENCODED); |
841 | - _operations[38] = oper; | |
866 | + _operations[39] = oper; | |
867 | + | |
868 | + } | |
842 | 869 | |
870 | + private static void _initOperationDesc5(){ | |
871 | + org.apache.axis.description.OperationDesc oper; | |
872 | + org.apache.axis.description.ParameterDesc param; | |
843 | 873 | oper = new org.apache.axis.description.OperationDesc(); |
844 | 874 | oper.setName("sobrestarProcesso"); |
845 | 875 | param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "SiglaSistema"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false); |
... | ... | @@ -859,13 +889,8 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
859 | 889 | oper.setReturnQName(new javax.xml.namespace.QName("", "parametros")); |
860 | 890 | oper.setStyle(org.apache.axis.constants.Style.RPC); |
861 | 891 | oper.setUse(org.apache.axis.constants.Use.ENCODED); |
862 | - _operations[39] = oper; | |
863 | - | |
864 | - } | |
892 | + _operations[40] = oper; | |
865 | 893 | |
866 | - private static void _initOperationDesc5(){ | |
867 | - org.apache.axis.description.OperationDesc oper; | |
868 | - org.apache.axis.description.ParameterDesc param; | |
869 | 894 | oper = new org.apache.axis.description.OperationDesc(); |
870 | 895 | oper.setName("removerSobrestamentoProcesso"); |
871 | 896 | param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "SiglaSistema"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false); |
... | ... | @@ -881,7 +906,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
881 | 906 | oper.setReturnQName(new javax.xml.namespace.QName("", "parametros")); |
882 | 907 | oper.setStyle(org.apache.axis.constants.Style.RPC); |
883 | 908 | oper.setUse(org.apache.axis.constants.Use.ENCODED); |
884 | - _operations[40] = oper; | |
909 | + _operations[41] = oper; | |
885 | 910 | |
886 | 911 | oper = new org.apache.axis.description.OperationDesc(); |
887 | 912 | oper.setName("anexarProcesso"); |
... | ... | @@ -900,7 +925,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
900 | 925 | oper.setReturnQName(new javax.xml.namespace.QName("", "parametros")); |
901 | 926 | oper.setStyle(org.apache.axis.constants.Style.RPC); |
902 | 927 | oper.setUse(org.apache.axis.constants.Use.ENCODED); |
903 | - _operations[41] = oper; | |
928 | + _operations[42] = oper; | |
904 | 929 | |
905 | 930 | oper = new org.apache.axis.description.OperationDesc(); |
906 | 931 | oper.setName("desanexarProcesso"); |
... | ... | @@ -921,7 +946,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
921 | 946 | oper.setReturnQName(new javax.xml.namespace.QName("", "parametros")); |
922 | 947 | oper.setStyle(org.apache.axis.constants.Style.RPC); |
923 | 948 | oper.setUse(org.apache.axis.constants.Use.ENCODED); |
924 | - _operations[42] = oper; | |
949 | + _operations[43] = oper; | |
925 | 950 | |
926 | 951 | oper = new org.apache.axis.description.OperationDesc(); |
927 | 952 | oper.setName("listarMarcadoresUnidade"); |
... | ... | @@ -936,7 +961,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
936 | 961 | oper.setReturnQName(new javax.xml.namespace.QName("", "parametros")); |
937 | 962 | oper.setStyle(org.apache.axis.constants.Style.RPC); |
938 | 963 | oper.setUse(org.apache.axis.constants.Use.ENCODED); |
939 | - _operations[43] = oper; | |
964 | + _operations[44] = oper; | |
940 | 965 | |
941 | 966 | oper = new org.apache.axis.description.OperationDesc(); |
942 | 967 | oper.setName("definirMarcador"); |
... | ... | @@ -953,7 +978,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
953 | 978 | oper.setReturnQName(new javax.xml.namespace.QName("", "parametros")); |
954 | 979 | oper.setStyle(org.apache.axis.constants.Style.RPC); |
955 | 980 | oper.setUse(org.apache.axis.constants.Use.ENCODED); |
956 | - _operations[44] = oper; | |
981 | + _operations[45] = oper; | |
957 | 982 | |
958 | 983 | oper = new org.apache.axis.description.OperationDesc(); |
959 | 984 | oper.setName("listarAndamentosMarcadores"); |
... | ... | @@ -972,7 +997,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
972 | 997 | oper.setReturnQName(new javax.xml.namespace.QName("", "parametros")); |
973 | 998 | oper.setStyle(org.apache.axis.constants.Style.RPC); |
974 | 999 | oper.setUse(org.apache.axis.constants.Use.ENCODED); |
975 | - _operations[45] = oper; | |
1000 | + _operations[46] = oper; | |
976 | 1001 | |
977 | 1002 | } |
978 | 1003 | |
... | ... | @@ -1170,6 +1195,51 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
1170 | 1195 | cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2)); |
1171 | 1196 | cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory()); |
1172 | 1197 | |
1198 | + qName = new javax.xml.namespace.QName("Sei", "ArrayOfIdAndamentos"); | |
1199 | + cachedSerQNames.add(qName); | |
1200 | + cls = java.lang.String[].class; | |
1201 | + cachedSerClasses.add(cls); | |
1202 | + qName = new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"); | |
1203 | + qName2 = null; | |
1204 | + cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2)); | |
1205 | + cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory()); | |
1206 | + | |
1207 | + qName = new javax.xml.namespace.QName("Sei", "ArrayOfIdContatos"); | |
1208 | + cachedSerQNames.add(qName); | |
1209 | + cls = java.lang.String[].class; | |
1210 | + cachedSerClasses.add(cls); | |
1211 | + qName = new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"); | |
1212 | + qName2 = null; | |
1213 | + cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2)); | |
1214 | + cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory()); | |
1215 | + | |
1216 | + qName = new javax.xml.namespace.QName("Sei", "ArrayOfIdMarcadores"); | |
1217 | + cachedSerQNames.add(qName); | |
1218 | + cls = java.lang.String[].class; | |
1219 | + cachedSerClasses.add(cls); | |
1220 | + qName = new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"); | |
1221 | + qName2 = null; | |
1222 | + cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2)); | |
1223 | + cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory()); | |
1224 | + | |
1225 | + qName = new javax.xml.namespace.QName("Sei", "ArrayOfIdTarefas"); | |
1226 | + cachedSerQNames.add(qName); | |
1227 | + cls = java.lang.String[].class; | |
1228 | + cachedSerClasses.add(cls); | |
1229 | + qName = new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"); | |
1230 | + qName2 = null; | |
1231 | + cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2)); | |
1232 | + cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory()); | |
1233 | + | |
1234 | + qName = new javax.xml.namespace.QName("Sei", "ArrayOfIdTarefasModulo"); | |
1235 | + cachedSerQNames.add(qName); | |
1236 | + cls = java.lang.String[].class; | |
1237 | + cachedSerClasses.add(cls); | |
1238 | + qName = new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"); | |
1239 | + qName2 = null; | |
1240 | + cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2)); | |
1241 | + cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory()); | |
1242 | + | |
1173 | 1243 | qName = new javax.xml.namespace.QName("Sei", "ArrayOfIdUnidade"); |
1174 | 1244 | cachedSerQNames.add(qName); |
1175 | 1245 | cls = java.lang.String[].class; |
... | ... | @@ -1775,7 +1845,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
1775 | 1845 | } |
1776 | 1846 | } |
1777 | 1847 | |
1778 | - public br.gov.ans.integracao.sei.client.Contato[] listarContatos(java.lang.String siglaSistema, java.lang.String identificacaoServico, java.lang.String idUnidade, java.lang.String idTipoContato, java.lang.String paginaRegistros, java.lang.String paginaAtual, java.lang.String sigla, java.lang.String nome, java.lang.String cpf, java.lang.String cnpj, java.lang.String matricula) throws java.rmi.RemoteException { | |
1848 | + public br.gov.ans.integracao.sei.client.Contato[] listarContatos(java.lang.String siglaSistema, java.lang.String identificacaoServico, java.lang.String idUnidade, java.lang.String idTipoContato, java.lang.String paginaRegistros, java.lang.String paginaAtual, java.lang.String sigla, java.lang.String nome, java.lang.String cpf, java.lang.String cnpj, java.lang.String matricula, java.lang.String[] idContatos) throws java.rmi.RemoteException { | |
1779 | 1849 | if (super.cachedEndpoint == null) { |
1780 | 1850 | throw new org.apache.axis.NoEndPointException(); |
1781 | 1851 | } |
... | ... | @@ -1788,7 +1858,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
1788 | 1858 | |
1789 | 1859 | setRequestHeaders(_call); |
1790 | 1860 | setAttachments(_call); |
1791 | - try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {siglaSistema, identificacaoServico, idUnidade, idTipoContato, paginaRegistros, paginaAtual, sigla, nome, cpf, cnpj, matricula}); | |
1861 | + try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {siglaSistema, identificacaoServico, idUnidade, idTipoContato, paginaRegistros, paginaAtual, sigla, nome, cpf, cnpj, matricula, idContatos}); | |
1792 | 1862 | |
1793 | 1863 | if (_resp instanceof java.rmi.RemoteException) { |
1794 | 1864 | throw (java.rmi.RemoteException)_resp; |
... | ... | @@ -1868,7 +1938,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
1868 | 1938 | } |
1869 | 1939 | } |
1870 | 1940 | |
1871 | - public br.gov.ans.integracao.sei.client.RetornoConsultaDocumento consultarDocumento(java.lang.String siglaSistema, java.lang.String identificacaoServico, java.lang.String idUnidade, java.lang.String protocoloDocumento, java.lang.String sinRetornarAndamentoGeracao, java.lang.String sinRetornarAssinaturas, java.lang.String sinRetornarPublicacao, java.lang.String sinRetornarCampos) throws java.rmi.RemoteException { | |
1941 | + public br.gov.ans.integracao.sei.client.ProcedimentoResumido consultarProcedimentoIndividual(java.lang.String siglaSistema, java.lang.String identificacaoServico, java.lang.String idUnidade, java.lang.String idOrgaoProcedimento, java.lang.String idTipoProcedimento, java.lang.String idOrgaoUsuario, java.lang.String siglaUsuario) throws java.rmi.RemoteException { | |
1872 | 1942 | if (super.cachedEndpoint == null) { |
1873 | 1943 | throw new org.apache.axis.NoEndPointException(); |
1874 | 1944 | } |
... | ... | @@ -1877,6 +1947,37 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
1877 | 1947 | _call.setUseSOAPAction(true); |
1878 | 1948 | _call.setSOAPActionURI("SeiAction"); |
1879 | 1949 | _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); |
1950 | + _call.setOperationName(new javax.xml.namespace.QName("Sei", "consultarProcedimentoIndividual")); | |
1951 | + | |
1952 | + setRequestHeaders(_call); | |
1953 | + setAttachments(_call); | |
1954 | + try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {siglaSistema, identificacaoServico, idUnidade, idOrgaoProcedimento, idTipoProcedimento, idOrgaoUsuario, siglaUsuario}); | |
1955 | + | |
1956 | + if (_resp instanceof java.rmi.RemoteException) { | |
1957 | + throw (java.rmi.RemoteException)_resp; | |
1958 | + } | |
1959 | + else { | |
1960 | + extractAttachments(_call); | |
1961 | + try { | |
1962 | + return (br.gov.ans.integracao.sei.client.ProcedimentoResumido) _resp; | |
1963 | + } catch (java.lang.Exception _exception) { | |
1964 | + return (br.gov.ans.integracao.sei.client.ProcedimentoResumido) org.apache.axis.utils.JavaUtils.convert(_resp, br.gov.ans.integracao.sei.client.ProcedimentoResumido.class); | |
1965 | + } | |
1966 | + } | |
1967 | + } catch (org.apache.axis.AxisFault axisFaultException) { | |
1968 | + throw axisFaultException; | |
1969 | +} | |
1970 | + } | |
1971 | + | |
1972 | + public br.gov.ans.integracao.sei.client.RetornoConsultaDocumento consultarDocumento(java.lang.String siglaSistema, java.lang.String identificacaoServico, java.lang.String idUnidade, java.lang.String protocoloDocumento, java.lang.String sinRetornarAndamentoGeracao, java.lang.String sinRetornarAssinaturas, java.lang.String sinRetornarPublicacao, java.lang.String sinRetornarCampos) throws java.rmi.RemoteException { | |
1973 | + if (super.cachedEndpoint == null) { | |
1974 | + throw new org.apache.axis.NoEndPointException(); | |
1975 | + } | |
1976 | + org.apache.axis.client.Call _call = createCall(); | |
1977 | + _call.setOperation(_operations[9]); | |
1978 | + _call.setUseSOAPAction(true); | |
1979 | + _call.setSOAPActionURI("SeiAction"); | |
1980 | + _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); | |
1880 | 1981 | _call.setOperationName(new javax.xml.namespace.QName("Sei", "consultarDocumento")); |
1881 | 1982 | |
1882 | 1983 | setRequestHeaders(_call); |
... | ... | @@ -1904,7 +2005,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
1904 | 2005 | throw new org.apache.axis.NoEndPointException(); |
1905 | 2006 | } |
1906 | 2007 | org.apache.axis.client.Call _call = createCall(); |
1907 | - _call.setOperation(_operations[9]); | |
2008 | + _call.setOperation(_operations[10]); | |
1908 | 2009 | _call.setUseSOAPAction(true); |
1909 | 2010 | _call.setSOAPActionURI("SeiAction"); |
1910 | 2011 | _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); |
... | ... | @@ -1935,7 +2036,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
1935 | 2036 | throw new org.apache.axis.NoEndPointException(); |
1936 | 2037 | } |
1937 | 2038 | org.apache.axis.client.Call _call = createCall(); |
1938 | - _call.setOperation(_operations[10]); | |
2039 | + _call.setOperation(_operations[11]); | |
1939 | 2040 | _call.setUseSOAPAction(true); |
1940 | 2041 | _call.setSOAPActionURI("SeiAction"); |
1941 | 2042 | _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); |
... | ... | @@ -1966,7 +2067,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
1966 | 2067 | throw new org.apache.axis.NoEndPointException(); |
1967 | 2068 | } |
1968 | 2069 | org.apache.axis.client.Call _call = createCall(); |
1969 | - _call.setOperation(_operations[11]); | |
2070 | + _call.setOperation(_operations[12]); | |
1970 | 2071 | _call.setUseSOAPAction(true); |
1971 | 2072 | _call.setSOAPActionURI("SeiAction"); |
1972 | 2073 | _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); |
... | ... | @@ -1997,7 +2098,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
1997 | 2098 | throw new org.apache.axis.NoEndPointException(); |
1998 | 2099 | } |
1999 | 2100 | org.apache.axis.client.Call _call = createCall(); |
2000 | - _call.setOperation(_operations[12]); | |
2101 | + _call.setOperation(_operations[13]); | |
2001 | 2102 | _call.setUseSOAPAction(true); |
2002 | 2103 | _call.setSOAPActionURI("SeiAction"); |
2003 | 2104 | _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); |
... | ... | @@ -2028,7 +2129,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
2028 | 2129 | throw new org.apache.axis.NoEndPointException(); |
2029 | 2130 | } |
2030 | 2131 | org.apache.axis.client.Call _call = createCall(); |
2031 | - _call.setOperation(_operations[13]); | |
2132 | + _call.setOperation(_operations[14]); | |
2032 | 2133 | _call.setUseSOAPAction(true); |
2033 | 2134 | _call.setSOAPActionURI("SeiAction"); |
2034 | 2135 | _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); |
... | ... | @@ -2059,7 +2160,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
2059 | 2160 | throw new org.apache.axis.NoEndPointException(); |
2060 | 2161 | } |
2061 | 2162 | org.apache.axis.client.Call _call = createCall(); |
2062 | - _call.setOperation(_operations[14]); | |
2163 | + _call.setOperation(_operations[15]); | |
2063 | 2164 | _call.setUseSOAPAction(true); |
2064 | 2165 | _call.setSOAPActionURI("SeiAction"); |
2065 | 2166 | _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); |
... | ... | @@ -2090,7 +2191,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
2090 | 2191 | throw new org.apache.axis.NoEndPointException(); |
2091 | 2192 | } |
2092 | 2193 | org.apache.axis.client.Call _call = createCall(); |
2093 | - _call.setOperation(_operations[15]); | |
2194 | + _call.setOperation(_operations[16]); | |
2094 | 2195 | _call.setUseSOAPAction(true); |
2095 | 2196 | _call.setSOAPActionURI("SeiAction"); |
2096 | 2197 | _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); |
... | ... | @@ -2121,7 +2222,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
2121 | 2222 | throw new org.apache.axis.NoEndPointException(); |
2122 | 2223 | } |
2123 | 2224 | org.apache.axis.client.Call _call = createCall(); |
2124 | - _call.setOperation(_operations[16]); | |
2225 | + _call.setOperation(_operations[17]); | |
2125 | 2226 | _call.setUseSOAPAction(true); |
2126 | 2227 | _call.setSOAPActionURI("SeiAction"); |
2127 | 2228 | _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); |
... | ... | @@ -2152,7 +2253,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
2152 | 2253 | throw new org.apache.axis.NoEndPointException(); |
2153 | 2254 | } |
2154 | 2255 | org.apache.axis.client.Call _call = createCall(); |
2155 | - _call.setOperation(_operations[17]); | |
2256 | + _call.setOperation(_operations[18]); | |
2156 | 2257 | _call.setUseSOAPAction(true); |
2157 | 2258 | _call.setSOAPActionURI("SeiAction"); |
2158 | 2259 | _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); |
... | ... | @@ -2183,7 +2284,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
2183 | 2284 | throw new org.apache.axis.NoEndPointException(); |
2184 | 2285 | } |
2185 | 2286 | org.apache.axis.client.Call _call = createCall(); |
2186 | - _call.setOperation(_operations[18]); | |
2287 | + _call.setOperation(_operations[19]); | |
2187 | 2288 | _call.setUseSOAPAction(true); |
2188 | 2289 | _call.setSOAPActionURI("SeiAction"); |
2189 | 2290 | _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); |
... | ... | @@ -2214,7 +2315,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
2214 | 2315 | throw new org.apache.axis.NoEndPointException(); |
2215 | 2316 | } |
2216 | 2317 | org.apache.axis.client.Call _call = createCall(); |
2217 | - _call.setOperation(_operations[19]); | |
2318 | + _call.setOperation(_operations[20]); | |
2218 | 2319 | _call.setUseSOAPAction(true); |
2219 | 2320 | _call.setSOAPActionURI("SeiAction"); |
2220 | 2321 | _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); |
... | ... | @@ -2245,7 +2346,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
2245 | 2346 | throw new org.apache.axis.NoEndPointException(); |
2246 | 2347 | } |
2247 | 2348 | org.apache.axis.client.Call _call = createCall(); |
2248 | - _call.setOperation(_operations[20]); | |
2349 | + _call.setOperation(_operations[21]); | |
2249 | 2350 | _call.setUseSOAPAction(true); |
2250 | 2351 | _call.setSOAPActionURI("SeiAction"); |
2251 | 2352 | _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); |
... | ... | @@ -2276,7 +2377,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
2276 | 2377 | throw new org.apache.axis.NoEndPointException(); |
2277 | 2378 | } |
2278 | 2379 | org.apache.axis.client.Call _call = createCall(); |
2279 | - _call.setOperation(_operations[21]); | |
2380 | + _call.setOperation(_operations[22]); | |
2280 | 2381 | _call.setUseSOAPAction(true); |
2281 | 2382 | _call.setSOAPActionURI("SeiAction"); |
2282 | 2383 | _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); |
... | ... | @@ -2307,7 +2408,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
2307 | 2408 | throw new org.apache.axis.NoEndPointException(); |
2308 | 2409 | } |
2309 | 2410 | org.apache.axis.client.Call _call = createCall(); |
2310 | - _call.setOperation(_operations[22]); | |
2411 | + _call.setOperation(_operations[23]); | |
2311 | 2412 | _call.setUseSOAPAction(true); |
2312 | 2413 | _call.setSOAPActionURI("SeiAction"); |
2313 | 2414 | _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); |
... | ... | @@ -2338,7 +2439,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
2338 | 2439 | throw new org.apache.axis.NoEndPointException(); |
2339 | 2440 | } |
2340 | 2441 | org.apache.axis.client.Call _call = createCall(); |
2341 | - _call.setOperation(_operations[23]); | |
2442 | + _call.setOperation(_operations[24]); | |
2342 | 2443 | _call.setUseSOAPAction(true); |
2343 | 2444 | _call.setSOAPActionURI("SeiAction"); |
2344 | 2445 | _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); |
... | ... | @@ -2369,7 +2470,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
2369 | 2470 | throw new org.apache.axis.NoEndPointException(); |
2370 | 2471 | } |
2371 | 2472 | org.apache.axis.client.Call _call = createCall(); |
2372 | - _call.setOperation(_operations[24]); | |
2473 | + _call.setOperation(_operations[25]); | |
2373 | 2474 | _call.setUseSOAPAction(true); |
2374 | 2475 | _call.setSOAPActionURI("SeiAction"); |
2375 | 2476 | _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); |
... | ... | @@ -2400,7 +2501,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
2400 | 2501 | throw new org.apache.axis.NoEndPointException(); |
2401 | 2502 | } |
2402 | 2503 | org.apache.axis.client.Call _call = createCall(); |
2403 | - _call.setOperation(_operations[25]); | |
2504 | + _call.setOperation(_operations[26]); | |
2404 | 2505 | _call.setUseSOAPAction(true); |
2405 | 2506 | _call.setSOAPActionURI("SeiAction"); |
2406 | 2507 | _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); |
... | ... | @@ -2431,7 +2532,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
2431 | 2532 | throw new org.apache.axis.NoEndPointException(); |
2432 | 2533 | } |
2433 | 2534 | org.apache.axis.client.Call _call = createCall(); |
2434 | - _call.setOperation(_operations[26]); | |
2535 | + _call.setOperation(_operations[27]); | |
2435 | 2536 | _call.setUseSOAPAction(true); |
2436 | 2537 | _call.setSOAPActionURI("SeiAction"); |
2437 | 2538 | _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); |
... | ... | @@ -2462,7 +2563,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
2462 | 2563 | throw new org.apache.axis.NoEndPointException(); |
2463 | 2564 | } |
2464 | 2565 | org.apache.axis.client.Call _call = createCall(); |
2465 | - _call.setOperation(_operations[27]); | |
2566 | + _call.setOperation(_operations[28]); | |
2466 | 2567 | _call.setUseSOAPAction(true); |
2467 | 2568 | _call.setSOAPActionURI("SeiAction"); |
2468 | 2569 | _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); |
... | ... | @@ -2493,7 +2594,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
2493 | 2594 | throw new org.apache.axis.NoEndPointException(); |
2494 | 2595 | } |
2495 | 2596 | org.apache.axis.client.Call _call = createCall(); |
2496 | - _call.setOperation(_operations[28]); | |
2597 | + _call.setOperation(_operations[29]); | |
2497 | 2598 | _call.setUseSOAPAction(true); |
2498 | 2599 | _call.setSOAPActionURI("SeiAction"); |
2499 | 2600 | _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); |
... | ... | @@ -2524,7 +2625,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
2524 | 2625 | throw new org.apache.axis.NoEndPointException(); |
2525 | 2626 | } |
2526 | 2627 | org.apache.axis.client.Call _call = createCall(); |
2527 | - _call.setOperation(_operations[29]); | |
2628 | + _call.setOperation(_operations[30]); | |
2528 | 2629 | _call.setUseSOAPAction(true); |
2529 | 2630 | _call.setSOAPActionURI("SeiAction"); |
2530 | 2631 | _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); |
... | ... | @@ -2555,7 +2656,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
2555 | 2656 | throw new org.apache.axis.NoEndPointException(); |
2556 | 2657 | } |
2557 | 2658 | org.apache.axis.client.Call _call = createCall(); |
2558 | - _call.setOperation(_operations[30]); | |
2659 | + _call.setOperation(_operations[31]); | |
2559 | 2660 | _call.setUseSOAPAction(true); |
2560 | 2661 | _call.setSOAPActionURI("SeiAction"); |
2561 | 2662 | _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); |
... | ... | @@ -2586,7 +2687,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
2586 | 2687 | throw new org.apache.axis.NoEndPointException(); |
2587 | 2688 | } |
2588 | 2689 | org.apache.axis.client.Call _call = createCall(); |
2589 | - _call.setOperation(_operations[31]); | |
2690 | + _call.setOperation(_operations[32]); | |
2590 | 2691 | _call.setUseSOAPAction(true); |
2591 | 2692 | _call.setSOAPActionURI("SeiAction"); |
2592 | 2693 | _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); |
... | ... | @@ -2617,7 +2718,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
2617 | 2718 | throw new org.apache.axis.NoEndPointException(); |
2618 | 2719 | } |
2619 | 2720 | org.apache.axis.client.Call _call = createCall(); |
2620 | - _call.setOperation(_operations[32]); | |
2721 | + _call.setOperation(_operations[33]); | |
2621 | 2722 | _call.setUseSOAPAction(true); |
2622 | 2723 | _call.setSOAPActionURI("SeiAction"); |
2623 | 2724 | _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); |
... | ... | @@ -2648,7 +2749,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
2648 | 2749 | throw new org.apache.axis.NoEndPointException(); |
2649 | 2750 | } |
2650 | 2751 | org.apache.axis.client.Call _call = createCall(); |
2651 | - _call.setOperation(_operations[33]); | |
2752 | + _call.setOperation(_operations[34]); | |
2652 | 2753 | _call.setUseSOAPAction(true); |
2653 | 2754 | _call.setSOAPActionURI("SeiAction"); |
2654 | 2755 | _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); |
... | ... | @@ -2679,7 +2780,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
2679 | 2780 | throw new org.apache.axis.NoEndPointException(); |
2680 | 2781 | } |
2681 | 2782 | org.apache.axis.client.Call _call = createCall(); |
2682 | - _call.setOperation(_operations[34]); | |
2783 | + _call.setOperation(_operations[35]); | |
2683 | 2784 | _call.setUseSOAPAction(true); |
2684 | 2785 | _call.setSOAPActionURI("SeiAction"); |
2685 | 2786 | _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); |
... | ... | @@ -2710,7 +2811,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
2710 | 2811 | throw new org.apache.axis.NoEndPointException(); |
2711 | 2812 | } |
2712 | 2813 | org.apache.axis.client.Call _call = createCall(); |
2713 | - _call.setOperation(_operations[35]); | |
2814 | + _call.setOperation(_operations[36]); | |
2714 | 2815 | _call.setUseSOAPAction(true); |
2715 | 2816 | _call.setSOAPActionURI("SeiAction"); |
2716 | 2817 | _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); |
... | ... | @@ -2741,7 +2842,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
2741 | 2842 | throw new org.apache.axis.NoEndPointException(); |
2742 | 2843 | } |
2743 | 2844 | org.apache.axis.client.Call _call = createCall(); |
2744 | - _call.setOperation(_operations[36]); | |
2845 | + _call.setOperation(_operations[37]); | |
2745 | 2846 | _call.setUseSOAPAction(true); |
2746 | 2847 | _call.setSOAPActionURI("SeiAction"); |
2747 | 2848 | _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); |
... | ... | @@ -2772,7 +2873,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
2772 | 2873 | throw new org.apache.axis.NoEndPointException(); |
2773 | 2874 | } |
2774 | 2875 | org.apache.axis.client.Call _call = createCall(); |
2775 | - _call.setOperation(_operations[37]); | |
2876 | + _call.setOperation(_operations[38]); | |
2776 | 2877 | _call.setUseSOAPAction(true); |
2777 | 2878 | _call.setSOAPActionURI("SeiAction"); |
2778 | 2879 | _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); |
... | ... | @@ -2803,7 +2904,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
2803 | 2904 | throw new org.apache.axis.NoEndPointException(); |
2804 | 2905 | } |
2805 | 2906 | org.apache.axis.client.Call _call = createCall(); |
2806 | - _call.setOperation(_operations[38]); | |
2907 | + _call.setOperation(_operations[39]); | |
2807 | 2908 | _call.setUseSOAPAction(true); |
2808 | 2909 | _call.setSOAPActionURI("SeiAction"); |
2809 | 2910 | _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); |
... | ... | @@ -2834,7 +2935,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
2834 | 2935 | throw new org.apache.axis.NoEndPointException(); |
2835 | 2936 | } |
2836 | 2937 | org.apache.axis.client.Call _call = createCall(); |
2837 | - _call.setOperation(_operations[39]); | |
2938 | + _call.setOperation(_operations[40]); | |
2838 | 2939 | _call.setUseSOAPAction(true); |
2839 | 2940 | _call.setSOAPActionURI("SeiAction"); |
2840 | 2941 | _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); |
... | ... | @@ -2865,7 +2966,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
2865 | 2966 | throw new org.apache.axis.NoEndPointException(); |
2866 | 2967 | } |
2867 | 2968 | org.apache.axis.client.Call _call = createCall(); |
2868 | - _call.setOperation(_operations[40]); | |
2969 | + _call.setOperation(_operations[41]); | |
2869 | 2970 | _call.setUseSOAPAction(true); |
2870 | 2971 | _call.setSOAPActionURI("SeiAction"); |
2871 | 2972 | _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); |
... | ... | @@ -2896,7 +2997,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
2896 | 2997 | throw new org.apache.axis.NoEndPointException(); |
2897 | 2998 | } |
2898 | 2999 | org.apache.axis.client.Call _call = createCall(); |
2899 | - _call.setOperation(_operations[41]); | |
3000 | + _call.setOperation(_operations[42]); | |
2900 | 3001 | _call.setUseSOAPAction(true); |
2901 | 3002 | _call.setSOAPActionURI("SeiAction"); |
2902 | 3003 | _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); |
... | ... | @@ -2927,7 +3028,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
2927 | 3028 | throw new org.apache.axis.NoEndPointException(); |
2928 | 3029 | } |
2929 | 3030 | org.apache.axis.client.Call _call = createCall(); |
2930 | - _call.setOperation(_operations[42]); | |
3031 | + _call.setOperation(_operations[43]); | |
2931 | 3032 | _call.setUseSOAPAction(true); |
2932 | 3033 | _call.setSOAPActionURI("SeiAction"); |
2933 | 3034 | _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); |
... | ... | @@ -2958,7 +3059,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
2958 | 3059 | throw new org.apache.axis.NoEndPointException(); |
2959 | 3060 | } |
2960 | 3061 | org.apache.axis.client.Call _call = createCall(); |
2961 | - _call.setOperation(_operations[43]); | |
3062 | + _call.setOperation(_operations[44]); | |
2962 | 3063 | _call.setUseSOAPAction(true); |
2963 | 3064 | _call.setSOAPActionURI("SeiAction"); |
2964 | 3065 | _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); |
... | ... | @@ -2989,7 +3090,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
2989 | 3090 | throw new org.apache.axis.NoEndPointException(); |
2990 | 3091 | } |
2991 | 3092 | org.apache.axis.client.Call _call = createCall(); |
2992 | - _call.setOperation(_operations[44]); | |
3093 | + _call.setOperation(_operations[45]); | |
2993 | 3094 | _call.setUseSOAPAction(true); |
2994 | 3095 | _call.setSOAPActionURI("SeiAction"); |
2995 | 3096 | _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); |
... | ... | @@ -3020,7 +3121,7 @@ public class SeiBindingStub extends org.apache.axis.client.Stub implements br.go |
3020 | 3121 | throw new org.apache.axis.NoEndPointException(); |
3021 | 3122 | } |
3022 | 3123 | org.apache.axis.client.Call _call = createCall(); |
3023 | - _call.setOperation(_operations[45]); | |
3124 | + _call.setOperation(_operations[46]); | |
3024 | 3125 | _call.setUseSOAPAction(true); |
3025 | 3126 | _call.setSOAPActionURI("SeiAction"); |
3026 | 3127 | _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); | ... | ... |
src/main/java/br/gov/ans/integracao/sei/client/SeiPortType.java
... | ... | @@ -37,7 +37,7 @@ public interface SeiPortType extends java.rmi.Remote { |
37 | 37 | /** |
38 | 38 | * Lista de contatos |
39 | 39 | */ |
40 | - public br.gov.ans.integracao.sei.client.Contato[] listarContatos(java.lang.String siglaSistema, java.lang.String identificacaoServico, java.lang.String idUnidade, java.lang.String idTipoContato, java.lang.String paginaRegistros, java.lang.String paginaAtual, java.lang.String sigla, java.lang.String nome, java.lang.String cpf, java.lang.String cnpj, java.lang.String matricula) throws java.rmi.RemoteException; | |
40 | + public br.gov.ans.integracao.sei.client.Contato[] listarContatos(java.lang.String siglaSistema, java.lang.String identificacaoServico, java.lang.String idUnidade, java.lang.String idTipoContato, java.lang.String paginaRegistros, java.lang.String paginaAtual, java.lang.String sigla, java.lang.String nome, java.lang.String cpf, java.lang.String cnpj, java.lang.String matricula, java.lang.String[] idContatos) throws java.rmi.RemoteException; | |
41 | 41 | |
42 | 42 | /** |
43 | 43 | * Atualizacao de contatos |
... | ... | @@ -50,6 +50,11 @@ public interface SeiPortType extends java.rmi.Remote { |
50 | 50 | public br.gov.ans.integracao.sei.client.RetornoConsultaProcedimento consultarProcedimento(java.lang.String siglaSistema, java.lang.String identificacaoServico, java.lang.String idUnidade, java.lang.String protocoloProcedimento, java.lang.String sinRetornarAssuntos, java.lang.String sinRetornarInteressados, java.lang.String sinRetornarObservacoes, java.lang.String sinRetornarAndamentoGeracao, java.lang.String sinRetornarAndamentoConclusao, java.lang.String sinRetornarUltimoAndamento, java.lang.String sinRetornarUnidadesProcedimentoAberto, java.lang.String sinRetornarProcedimentosRelacionados, java.lang.String sinRetornarProcedimentosAnexados) throws java.rmi.RemoteException; |
51 | 51 | |
52 | 52 | /** |
53 | + * Consulta de processos individuais por usuario interessado | |
54 | + */ | |
55 | + public br.gov.ans.integracao.sei.client.ProcedimentoResumido consultarProcedimentoIndividual(java.lang.String siglaSistema, java.lang.String identificacaoServico, java.lang.String idUnidade, java.lang.String idOrgaoProcedimento, java.lang.String idTipoProcedimento, java.lang.String idOrgaoUsuario, java.lang.String siglaUsuario) throws java.rmi.RemoteException; | |
56 | + | |
57 | + /** | |
53 | 58 | * Consulta de documentos |
54 | 59 | */ |
55 | 60 | public br.gov.ans.integracao.sei.client.RetornoConsultaDocumento consultarDocumento(java.lang.String siglaSistema, java.lang.String identificacaoServico, java.lang.String idUnidade, java.lang.String protocoloDocumento, java.lang.String sinRetornarAndamentoGeracao, java.lang.String sinRetornarAssinaturas, java.lang.String sinRetornarPublicacao, java.lang.String sinRetornarCampos) throws java.rmi.RemoteException; | ... | ... |
src/main/java/br/gov/ans/integracao/sei/client/SeiPortTypeProxy.java
... | ... | @@ -139,12 +139,12 @@ public class SeiPortTypeProxy implements br.gov.ans.integracao.sei.client.SeiPor |
139 | 139 | java.lang.String idTipoContato, java.lang.String paginaRegistros, |
140 | 140 | java.lang.String paginaAtual, java.lang.String sigla, |
141 | 141 | java.lang.String nome, java.lang.String cpf, java.lang.String cnpj, |
142 | - java.lang.String matricula) throws java.rmi.RemoteException { | |
142 | + java.lang.String matricula, java.lang.String[] idContatos) throws java.rmi.RemoteException { | |
143 | 143 | if (seiPortType == null) |
144 | 144 | _initSeiPortTypeProxy(); |
145 | 145 | return seiPortType.listarContatos(siglaSistema, identificacaoServico, |
146 | 146 | idUnidade, idTipoContato, paginaRegistros, paginaAtual, sigla, |
147 | - nome, cpf, cnpj, matricula); | |
147 | + nome, cpf, cnpj, matricula, idContatos); | |
148 | 148 | } |
149 | 149 | |
150 | 150 | public java.lang.String atualizarContatos(java.lang.String siglaSistema, |
... | ... | @@ -183,14 +183,21 @@ public class SeiPortTypeProxy implements br.gov.ans.integracao.sei.client.SeiPor |
183 | 183 | sinRetornarProcedimentosAnexados); |
184 | 184 | } |
185 | 185 | |
186 | - public br.gov.ans.integracao.sei.client.RetornoConsultaDocumento consultarDocumento( | |
187 | - java.lang.String siglaSistema, | |
188 | - java.lang.String identificacaoServico, java.lang.String idUnidade, | |
189 | - java.lang.String protocoloDocumento, | |
190 | - java.lang.String sinRetornarAndamentoGeracao, | |
191 | - java.lang.String sinRetornarAssinaturas, | |
192 | - java.lang.String sinRetornarPublicacao, | |
193 | - java.lang.String sinRetornarCampos) throws java.rmi.RemoteException { | |
186 | + public ProcedimentoResumido consultarProcedimentoIndividual(java.lang.String siglaSistema, | |
187 | + java.lang.String identificacaoServico, java.lang.String idUnidade, java.lang.String idOrgaoProcedimento, | |
188 | + java.lang.String idTipoProcedimento, java.lang.String idOrgaoUsuario, java.lang.String siglaUsuario) | |
189 | + throws java.rmi.RemoteException { | |
190 | + if (seiPortType == null) | |
191 | + _initSeiPortTypeProxy(); | |
192 | + return seiPortType.consultarProcedimentoIndividual(siglaSistema, identificacaoServico, idUnidade, | |
193 | + idOrgaoProcedimento, idTipoProcedimento, idOrgaoUsuario, siglaUsuario); | |
194 | + } | |
195 | + | |
196 | + public RetornoConsultaDocumento consultarDocumento(java.lang.String siglaSistema, | |
197 | + java.lang.String identificacaoServico, java.lang.String idUnidade, java.lang.String protocoloDocumento, | |
198 | + java.lang.String sinRetornarAndamentoGeracao, java.lang.String sinRetornarAssinaturas, | |
199 | + java.lang.String sinRetornarPublicacao, java.lang.String sinRetornarCampos) | |
200 | + throws java.rmi.RemoteException { | |
194 | 201 | if (seiPortType == null) |
195 | 202 | _initSeiPortTypeProxy(); |
196 | 203 | return seiPortType.consultarDocumento(siglaSistema, | ... | ... |
src/main/java/br/gov/ans/integracao/sei/rest/ContatoResource.java
... | ... | @@ -192,7 +192,7 @@ public class ContatoResource { |
192 | 192 | @QueryParam("pagina") String pagina) throws RemoteException, BusinessException, Exception{ |
193 | 193 | |
194 | 194 | Contato[] contatos = seiNativeService.listarContatos(Constantes.SEI_BROKER, Operacao.LISTAR_CONTATOS, unidadeResource.consultarCodigo(unidade), tipo.getCodigo(), |
195 | - qtdRegistros == null? null : parseInt(qtdRegistros)+"", pagina == null? null:parseInt(pagina)+"", sigla, nome, cpf, cnpj, matricula); | |
195 | + qtdRegistros == null? null : parseInt(qtdRegistros)+"", pagina == null? null:parseInt(pagina)+"", sigla, nome, cpf, cnpj, matricula, null); | |
196 | 196 | |
197 | 197 | List<Pessoa> pessoas = pessoaHelper.buildPessoa(contatos); |
198 | 198 | |
... | ... | @@ -285,7 +285,7 @@ public class ContatoResource { |
285 | 285 | @Produces({MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML}) |
286 | 286 | public Pessoa getContato(@PathParam("unidade") String unidade, @PathParam("tipo") TipoContato tipo, @PathParam("sigla") String sigla) throws RemoteException, Exception{ |
287 | 287 | Contato[] contatos = seiNativeService.listarContatos(Constantes.SEI_BROKER, Operacao.LISTAR_CONTATOS, unidadeResource.consultarCodigo(unidade), tipo.getCodigo(), |
288 | - null, null, sigla, null, null, null, null); | |
288 | + null, null, sigla, null, null, null, null, null); | |
289 | 289 | |
290 | 290 | if(ArrayUtils.isEmpty(contatos)){ |
291 | 291 | throw new ResourceNotFoundException(messages.getMessage("erro.contato.nao.encontrado",sigla)); | ... | ... |
src/main/java/br/gov/ans/integracao/sei/utils/ContatoHelper.java
... | ... | @@ -88,20 +88,20 @@ public class ContatoHelper { |
88 | 88 | preencherDadosAssociado(pessoa, contato); |
89 | 89 | |
90 | 90 | if(pessoa.getEndereco() != null){ |
91 | - preencherEndereco(pessoa, contato); | |
91 | + preencherEndereco(pessoa.getEndereco(), contato); | |
92 | 92 | } |
93 | 93 | |
94 | 94 | return contato; |
95 | 95 | } |
96 | 96 | |
97 | - private void preencherEndereco(Pessoa pessoa, Contato contato) throws RemoteException, BusinessException, Exception{ | |
98 | - contato.setEndereco(concatenarNumero(pessoa.getEndereco().getLogradouro(), pessoa.getEndereco().getNumero())); | |
99 | - contato.setComplemento(pessoa.getEndereco().getComplemento()); | |
100 | - contato.setBairro(pessoa.getEndereco().getBairro()); | |
101 | - contato.setCep(pessoa.getEndereco().getCEP()); | |
97 | + private void preencherEndereco(Endereco endereco, Contato contato) throws RemoteException, BusinessException, Exception{ | |
98 | + contato.setEndereco(concatenarNumero(endereco.getLogradouro(), endereco.getNumero())); | |
99 | + contato.setComplemento(endereco.getComplemento()); | |
100 | + contato.setBairro(endereco.getBairro()); | |
101 | + contato.setCep(endereco.getCEP()); | |
102 | 102 | |
103 | - if(StringUtils.isNotBlank(pessoa.getEndereco().getCidade())){ | |
104 | - Cidade cidade = getCidade(pessoa.getEndereco().getCidade()); | |
103 | + if(StringUtils.isNotBlank(endereco.getCidade())){ | |
104 | + Cidade cidade = getCidade(endereco.getCidade()); | |
105 | 105 | |
106 | 106 | contato.setIdCidade(cidade.getId().toString()); |
107 | 107 | contato.setIdEstado(cidade.getEstado().getId().toString()); |
... | ... | @@ -109,23 +109,22 @@ public class ContatoHelper { |
109 | 109 | } |
110 | 110 | } |
111 | 111 | |
112 | - private void preencherEnderecoAssociado(Pessoa pessoa, Contato contato) throws RemoteException, BusinessException, Exception{ | |
113 | - Endereco endereco = pessoa.getAssociado().getEndereco(); | |
114 | - | |
115 | - contato.setEnderecoAssociado(concatenarNumero(endereco.getLogradouro(), endereco.getNumero())); | |
116 | - contato.setComplementoAssociado(endereco.getComplemento()); | |
117 | - contato.setBairroAssociado(endereco.getBairro()); | |
118 | - contato.setCep(endereco.getCEP()); | |
119 | - | |
120 | - if(StringUtils.isNotBlank(endereco.getCidade())){ | |
121 | - Cidade cidade = getCidade(endereco.getCidade()); | |
122 | - | |
123 | - contato.setIdCidadeAssociado(cidade.getId().toString()); | |
124 | - contato.setIdEstadoAssociado(cidade.getEstado().getId().toString()); | |
125 | - contato.setIdPaisAssociado(cidade.getEstado().getIdPais()); | |
126 | - } | |
127 | - | |
128 | - } | |
112 | +// private void preencherEnderecoAssociado(Pessoa pessoa, Contato contato) throws RemoteException, BusinessException, Exception{ | |
113 | +// Endereco endereco = pessoa.getAssociado().getEndereco(); | |
114 | +// | |
115 | +// contato.setEnderecoAssociado(concatenarNumero(endereco.getLogradouro(), endereco.getNumero())); | |
116 | +// contato.setComplementoAssociado(endereco.getComplemento()); | |
117 | +// contato.setBairroAssociado(endereco.getBairro()); | |
118 | +// contato.setCep(endereco.getCEP()); | |
119 | +// | |
120 | +// if(StringUtils.isNotBlank(endereco.getCidade())){ | |
121 | +// Cidade cidade = getCidade(endereco.getCidade()); | |
122 | +// | |
123 | +// contato.setIdCidadeAssociado(cidade.getId().toString()); | |
124 | +// contato.setIdEstadoAssociado(cidade.getEstado().getId().toString()); | |
125 | +// contato.setIdPaisAssociado(cidade.getEstado().getIdPais()); | |
126 | +// } | |
127 | +// } | |
129 | 128 | |
130 | 129 | private void preencherDadosAssociado(Pessoa pessoa, Contato contato) throws RemoteException, BusinessException, Exception{ |
131 | 130 | if(pessoa.getAssociado() == null){ |
... | ... | @@ -137,7 +136,7 @@ public class ContatoHelper { |
137 | 136 | contato.setNomeContatoAssociado(pessoa.getAssociado().getNome()); |
138 | 137 | |
139 | 138 | if(pessoa.getAssociado().getEndereco() != null){ |
140 | - preencherEnderecoAssociado(pessoa, contato); | |
139 | + preencherEndereco(pessoa.getAssociado().getEndereco(), contato); | |
141 | 140 | } |
142 | 141 | } |
143 | 142 | } | ... | ... |
src/main/java/br/gov/ans/integracao/sei/utils/PessoaHelper.java
... | ... | @@ -147,16 +147,16 @@ public class PessoaHelper { |
147 | 147 | private Endereco buildEnderecoAssociado(Contato contato){ |
148 | 148 | Endereco endereco = new Endereco(); |
149 | 149 | |
150 | - endereco.setLogradouro(contato.getEnderecoAssociado()); | |
151 | - endereco.setComplemento(contato.getComplementoAssociado()); | |
152 | - endereco.setBairro(contato.getBairroAssociado()); | |
153 | - endereco.setCEP(contato.getCepAssociado()); | |
150 | + endereco.setLogradouro(contato.getEndereco()); | |
151 | + endereco.setComplemento(contato.getComplemento()); | |
152 | + endereco.setBairro(contato.getBairro()); | |
153 | + endereco.setCEP(contato.getCep()); | |
154 | 154 | |
155 | - if(StringUtils.isNotBlank(contato.getIdCidadeAssociado())){ | |
156 | - endereco.setCidade(getCodigoIbge(contato.getIdCidadeAssociado())); | |
155 | + if(StringUtils.isNotBlank(contato.getIdCidade())){ | |
156 | + endereco.setCidade(getCodigoIbge(contato.getIdCidade())); | |
157 | 157 | } |
158 | - endereco.setUf(contato.getSiglaEstadoAssociado()); | |
159 | - endereco.setPais(contato.getNomePaisAssociado()); | |
158 | + endereco.setUf(contato.getSiglaEstado()); | |
159 | + endereco.setPais(contato.getNomePais()); | |
160 | 160 | |
161 | 161 | return endereco; |
162 | 162 | } |
... | ... | @@ -166,6 +166,7 @@ public class PessoaHelper { |
166 | 166 | |
167 | 167 | pessoa.setSigla(getSiglaContato(contato.getIdContatoAssociado())); |
168 | 168 | pessoa.setNome(contato.getNomeContatoAssociado()); |
169 | + pessoa.setCnpj(contato.getCnpjAssociado()); | |
169 | 170 | |
170 | 171 | pessoa.setEndereco(buildEnderecoAssociado(contato)); |
171 | 172 | ... | ... |
src/test/java/br/gov/ans/integracao/sei/testes/FunctionalTest.java
... | ... | @@ -8,7 +8,7 @@ public class FunctionalTest { |
8 | 8 | |
9 | 9 | protected final String USUARIO = "andre.guimaraes"; |
10 | 10 | protected final String SENHA = "Merda de senha!"; |
11 | - protected static final Boolean DESENVOLVIMENTO = false; | |
11 | + protected static final Boolean DESENVOLVIMENTO = true; | |
12 | 12 | |
13 | 13 | @BeforeClass |
14 | 14 | public static void setup() { | ... | ... |
src/test/java/br/gov/ans/integracao/sei/testes/SeiBrokerTest.java
... | ... | @@ -30,6 +30,7 @@ import br.gov.ans.integracao.sei.modelo.EnvioDeProcesso; |
30 | 30 | import br.gov.ans.integracao.sei.modelo.NovoBloco; |
31 | 31 | import br.gov.ans.integracao.sei.modelo.NovoProcesso; |
32 | 32 | import br.gov.ans.integracao.sei.modelo.ParteArquivo; |
33 | +import br.gov.ans.integracao.sei.modelo.SobrestamentoProcesso; | |
33 | 34 | import br.gov.ans.integracao.sei.modelo.enums.TipoBloco; |
34 | 35 | |
35 | 36 | @FixMethodOrder(MethodSorters.NAME_ASCENDING) |
... | ... | @@ -382,19 +383,69 @@ public class SeiBrokerTest extends FunctionalTest{ |
382 | 383 | } |
383 | 384 | |
384 | 385 | //// @Test |
385 | -// public void BL_incluirDocumentoPorArquivoTest() { | |
386 | -// Response response = given() | |
387 | -// .auth() | |
388 | -// .basic(USUARIO, SENHA) | |
389 | -// .contentType("application/json") | |
390 | -// .accept("application/json") | |
391 | -// .body(buildDocumentoPorArquivo()) | |
392 | -// .when().post("/COSAP/documentos"); | |
393 | -// | |
394 | -// documentoCriadoPorArquivo = response.getBody().as(RetornoInclusaoDocumento.class).getDocumentoFormatado(); | |
395 | -// | |
396 | -// response.then().statusCode(201); | |
397 | -// } | |
386 | + public void BK_incluirDocumentoPorArquivoTest() { | |
387 | + Response response = given() | |
388 | + .auth() | |
389 | + .basic(USUARIO, SENHA) | |
390 | + .contentType("application/json") | |
391 | + .accept("application/json") | |
392 | + .body(buildDocumentoPorArquivo()) | |
393 | + .when().post("/COSAP/documentos"); | |
394 | + | |
395 | + documentoCriadoPorArquivo = response.getBody().as(RetornoInclusaoDocumento.class).getDocumentoFormatado(); | |
396 | + | |
397 | + response.then().statusCode(201); | |
398 | + } | |
399 | + | |
400 | + @Test | |
401 | + public void BL_abrirProcessoTest(){ | |
402 | + Response response = given() | |
403 | + .auth() | |
404 | + .basic(USUARIO, SENHA) | |
405 | + .contentType("application/json") | |
406 | + .accept("application/json") | |
407 | + .body(buildNovoProcessoUmaUnidade()) | |
408 | + .when().post("/COSAP/processos"); | |
409 | + | |
410 | + processoCriado = response.getBody().as(RetornoGeracaoProcedimento.class).getProcedimentoFormatado().replaceAll("[^0-9+]", ""); | |
411 | + | |
412 | + response.then().statusCode(201); | |
413 | + } | |
414 | + | |
415 | + @Test | |
416 | + public void BM_sobrestarProcessoTest(){ | |
417 | + SobrestamentoProcesso s = new SobrestamentoProcesso(); | |
418 | + s.setProcesso(processoCriado); | |
419 | + s.setMotivo("Teste automatizado de sobrestamento."); | |
420 | + | |
421 | + given() | |
422 | + .auth() | |
423 | + .basic(USUARIO, SENHA) | |
424 | + .contentType("application/json") | |
425 | + .accept("application/json") | |
426 | + .body(s) | |
427 | + .when().post("/cosap/processos/sobrestados").then().statusCode(200); | |
428 | + } | |
429 | + | |
430 | + @Test | |
431 | + public void BN_removerSobrestamentoProcessoTest(){ | |
432 | + given() | |
433 | + .auth() | |
434 | + .basic(USUARIO, SENHA) | |
435 | + .contentType("application/json") | |
436 | + .accept("application/json") | |
437 | + .when().delete("/cosap/processos/sobrestados/"+processoCriado).then().statusCode(200); | |
438 | + } | |
439 | + | |
440 | + @Test | |
441 | + public void BO_listarContatos(){ | |
442 | + given() | |
443 | + .auth() | |
444 | + .basic(USUARIO, SENHA) | |
445 | + .contentType("application/json") | |
446 | + .accept("application/json") | |
447 | + .when().get("cosap/contatos/operadoras?qtdRegistros=20").then().statusCode(200); | |
448 | + } | |
398 | 449 | |
399 | 450 | public NovoBloco buildNovoBloco(TipoBloco tipoBloco){ |
400 | 451 | NovoBloco bloco = new NovoBloco(); |
... | ... | @@ -434,7 +485,7 @@ public class SeiBrokerTest extends FunctionalTest{ |
434 | 485 | NovoProcesso processo = new NovoProcesso(); |
435 | 486 | Procedimento dadosProcesso = new Procedimento(); |
436 | 487 | |
437 | - dadosProcesso.setIdTipoProcedimento("100000347"); | |
488 | + dadosProcesso.setIdTipoProcedimento("100000832"); | |
438 | 489 | // dadosProcesso.setIdTipoProcedimento("100000346"); |
439 | 490 | dadosProcesso.setEspecificacao("Processo de Teste criado via teste automatizado."); |
440 | 491 | dadosProcesso.setAssuntos(new Assunto[]{}); |
... | ... | @@ -450,11 +501,35 @@ public class SeiBrokerTest extends FunctionalTest{ |
450 | 501 | processo.setDadosProcesso(dadosProcesso); |
451 | 502 | |
452 | 503 | processo.setDocumentos(new Documento[]{}); |
453 | - processo.setUnidadesDestino(new String[]{"COTEC","110000935","COSAP"}); | |
504 | + processo.setUnidadesDestino(new String[]{"COSAP"}); | |
454 | 505 | |
455 | 506 | return processo; |
456 | 507 | } |
457 | 508 | |
509 | + public NovoProcesso buildNovoProcessoUmaUnidade(){ | |
510 | + NovoProcesso processo = new NovoProcesso(); | |
511 | + Procedimento dadosProcesso = new Procedimento(); | |
512 | + | |
513 | + dadosProcesso.setIdTipoProcedimento("100000832"); | |
514 | +// dadosProcesso.setIdTipoProcedimento("100000346"); | |
515 | + dadosProcesso.setEspecificacao("Processo de Teste criado via teste automatizado."); | |
516 | + dadosProcesso.setAssuntos(new Assunto[]{}); | |
517 | + | |
518 | + Interessado i = new Interessado(); | |
519 | + i.setNome("BRADESCO SAUDE E ASSISTENCIA S.A"); | |
520 | + i.setSigla("363022"); | |
521 | + | |
522 | + dadosProcesso.setInteressados(new Interessado[]{i}); | |
523 | + dadosProcesso.setObservacao("Este processo foi inserido via ws para testar a integração."); | |
524 | + dadosProcesso.setNivelAcesso("0"); | |
525 | + | |
526 | + processo.setDadosProcesso(dadosProcesso); | |
527 | + | |
528 | + processo.setDocumentos(new Documento[]{}); | |
529 | + | |
530 | + return processo; | |
531 | + } | |
532 | + | |
458 | 533 | public Documento buildDocumento(){ |
459 | 534 | // String nomeArquivo = "caelum.pdf"; |
460 | 535 | // String nomeArquivo = "OF-272-2016-DIDES-33910000610201675-63554067000198-ABI_v1_r0.pdf"; |
... | ... | @@ -469,7 +544,7 @@ public class SeiBrokerTest extends FunctionalTest{ |
469 | 544 | |
470 | 545 | documento.setTipo("R"); |
471 | 546 | documento.setIdProcedimento(processoCriado); |
472 | - documento.setIdSerie("5"); | |
547 | + documento.setIdSerie("7"); | |
473 | 548 | documento.setData("10/08/2015"); |
474 | 549 | |
475 | 550 | Remetente remetente = new Remetente(); |
... | ... | @@ -498,7 +573,7 @@ public class SeiBrokerTest extends FunctionalTest{ |
498 | 573 | |
499 | 574 | documento.setTipo("R"); |
500 | 575 | documento.setIdProcedimento(processoCriado); |
501 | - documento.setIdSerie("5"); | |
576 | + documento.setIdSerie("7"); | |
502 | 577 | documento.setData("10/08/2015"); |
503 | 578 | |
504 | 579 | Remetente remetente = new Remetente(); | ... | ... |