From 4fb06e1b49e116f107223d6c5ad74b630c2697ee Mon Sep 17 00:00:00 2001 From: Joao Lopes Date: Tue, 17 Sep 2019 18:18:16 -0300 Subject: [PATCH 1/2] novo wsdl do AtendeCliente gerado --- .../SoapCorreiosServicoPostagemAPI.java | 10 +- .../api/postagem/contrato/Contrato.java | 14 - .../webservice/postagem/AtendeCliente.java | 991 ++++-- .../postagem/AtendeClienteService.java | 4 +- ...e.java => AtualizaPagamentoNaEntrega.java} | 44 +- .../AtualizaPagamentoNaEntregaResponse.java | 62 + .../postagem/AtualizaRemessaAgrupada.java | 87 + .../AtualizaRemessaAgrupadaResponse.java | 62 + .../postagem/AutenticacaoException.java | 14 +- ...bterMotivosPI.java => BuscaDataAtual.java} | 8 +- .../postagem/BuscaDataAtualResponse.java | 65 + .../{ConsultaSRO.java => BuscaOpcoes.java} | 71 +- ...Response.java => BuscaOpcoesResponse.java} | 8 +- .../postagem/BuscaPagamentoEntrega.java | 110 +- .../BuscaServicosAdicionaisAtivos.java | 87 + ...uscaServicosAdicionaisAtivosResponse.java} | 18 +- .../postagem/BuscaServicosValorDeclarado.java | 87 + .../BuscaServicosValorDeclaradoResponse.java | 69 + .../BuscaServicosXServicosAdicionais.java | 87 + ...caServicosXServicosAdicionaisResponse.java | 69 + .../webservice/postagem/BuscaTarifaVale.java | 384 ++ .../postagem/BuscaTarifaValeResponse.java | 62 + .../postagem/CalculaTarifaServico.java | 438 +++ .../CalculaTarifaServicoResponse.java | 62 + .../postagem/CancelarPedidoScol.java | 12 +- .../postagem/CancelarPedidoScolResponse.java | 12 +- .../webservice/postagem/CategoriaServico.java | 8 +- .../webservice/postagem/ChancelaMaster.java | 44 +- .../postagem/{ColetaTO.java => Coleta.java} | 67 +- ...oletaReversaTO.java => ColetaReversa.java} | 34 +- ...imultaneaTO.java => ColetaSimultanea.java} | 12 +- .../correios/webservice/postagem/Conta.java | 141 - .../webservice/postagem/Destinatario.java | 34 - .../webservice/postagem/DimensaoTO.java | 195 + .../webservice/postagem/EnderecoERP.java | 46 - ...enteTO.java => ErroMontagemRelatorio.java} | 32 +- .../ErroMontagemRelatorio_Exception.java | 54 + .../postagem/Exception_Exception.java | 24 +- .../webservice/postagem/MedidaTO.java | 88 + .../postagem/MensagemParametrizadaTO.java | 116 + .../webservice/postagem/ObjectFactory.java | 1206 +++++-- .../postagem/{ObjetoTO.java => Objeto.java} | 8 +- .../webservice/postagem/ObjetoPostal.java | 83 + ...ificadoTO.java => ObjetoSimplificado.java} | 8 +- .../postagem/ObterMensagemParametrizada.java | 60 + .../ObterMensagemParametrizadaResponse.java | 62 + .../postagem/ObterMensagemRetornoPI.java | 32 - .../postagem/PesquisarDimensoesServico.java | 87 + .../PesquisarDimensoesServicoResponse.java | 62 + .../PesquisarEmbalagensPorServico.java | 60 + ...PesquisarEmbalagensPorServicoResponse.java | 71 + .../PesquisarParametrosPorDescricao.java | 60 + ...squisarParametrosPorDescricaoResponse.java | 62 + .../postagem/PesquisarServicosAdicionais.java | 60 + ... PesquisarServicosAdicionaisResponse.java} | 18 +- .../correios/webservice/postagem/Pessoa.java | 64 +- .../webservice/postagem/PessoaTO.java | 361 -- .../webservice/postagem/Postagem.java | 168 - .../webservice/postagem/PreListaPostagem.java | 28 + .../postagem/{ProdutoTO.java => Produto.java} | 44 +- .../webservice/postagem/Remetente.java | 83 +- .../correios/webservice/postagem/Retorno.java | 303 -- ...amentoTO.java => RetornoCancelamento.java} | 20 +- .../postagem/SQLException_Exception.java | 14 +- .../postagem/ServicoAdicionalERP.java | 56 +- ...oPIMaster.java => ServicoAdicionalTO.java} | 65 +- .../postagem/ServicoAdicionalXML.java | 195 + .../webservice/postagem/ServicoSigep.java | 109 + .../postagem/SigepClienteException.java | 13 +- .../correios/webservice/postagem/SimNao.java | 38 + .../webservice/postagem/TipoEmbalagem.java | 40 + .../webservice/postagem/TipoMensagem.java | 40 + .../webservice/postagem/ValePostal.java | 752 ++++ .../postagem/ValidarPostagemReversa.java | 63 +- .../postagem/ValidarPostagemSimultanea.java | 39 +- .../webservice/postagem/ValorDeclarado.java | 87 + ...erificaDisponibilidadeServicoResponse.java | 16 +- .../postagem/VerificaModalTransporte.java | 168 + .../VerificaModalTransporteResponse.java | 62 + .../VerificaSeTodosObjetosCancelados.java | 67 + ...ificaSeTodosObjetosCanceladosResponse.java | 54 + src/main/resources/wsdl/AtendeCliente.wsdl | 3127 +++++++++++++++++ 82 files changed, 9724 insertions(+), 2123 deletions(-) rename src/main/java/br/com/correios/webservice/postagem/{Cliente.java => AtualizaPagamentoNaEntrega.java} (51%) create mode 100644 src/main/java/br/com/correios/webservice/postagem/AtualizaPagamentoNaEntregaResponse.java create mode 100644 src/main/java/br/com/correios/webservice/postagem/AtualizaRemessaAgrupada.java create mode 100644 src/main/java/br/com/correios/webservice/postagem/AtualizaRemessaAgrupadaResponse.java rename src/main/java/br/com/correios/webservice/postagem/{ObterMotivosPI.java => BuscaDataAtual.java} (79%) create mode 100644 src/main/java/br/com/correios/webservice/postagem/BuscaDataAtualResponse.java rename src/main/java/br/com/correios/webservice/postagem/{ConsultaSRO.java => BuscaOpcoes.java} (63%) rename src/main/java/br/com/correios/webservice/postagem/{ConsultaSROResponse.java => BuscaOpcoesResponse.java} (86%) create mode 100644 src/main/java/br/com/correios/webservice/postagem/BuscaServicosAdicionaisAtivos.java rename src/main/java/br/com/correios/webservice/postagem/{RegistrarPedidosInformacaoResponse.java => BuscaServicosAdicionaisAtivosResponse.java} (72%) create mode 100644 src/main/java/br/com/correios/webservice/postagem/BuscaServicosValorDeclarado.java create mode 100644 src/main/java/br/com/correios/webservice/postagem/BuscaServicosValorDeclaradoResponse.java create mode 100644 src/main/java/br/com/correios/webservice/postagem/BuscaServicosXServicosAdicionais.java create mode 100644 src/main/java/br/com/correios/webservice/postagem/BuscaServicosXServicosAdicionaisResponse.java create mode 100644 src/main/java/br/com/correios/webservice/postagem/BuscaTarifaVale.java create mode 100644 src/main/java/br/com/correios/webservice/postagem/BuscaTarifaValeResponse.java create mode 100644 src/main/java/br/com/correios/webservice/postagem/CalculaTarifaServico.java create mode 100644 src/main/java/br/com/correios/webservice/postagem/CalculaTarifaServicoResponse.java rename src/main/java/br/com/correios/webservice/postagem/{ColetaTO.java => Coleta.java} (75%) rename src/main/java/br/com/correios/webservice/postagem/{ColetaReversaTO.java => ColetaReversa.java} (87%) rename src/main/java/br/com/correios/webservice/postagem/{ColetaSimultaneaTO.java => ColetaSimultanea.java} (88%) delete mode 100644 src/main/java/br/com/correios/webservice/postagem/Conta.java delete mode 100644 src/main/java/br/com/correios/webservice/postagem/Destinatario.java create mode 100644 src/main/java/br/com/correios/webservice/postagem/DimensaoTO.java rename src/main/java/br/com/correios/webservice/postagem/{RemetenteTO.java => ErroMontagemRelatorio.java} (50%) create mode 100644 src/main/java/br/com/correios/webservice/postagem/ErroMontagemRelatorio_Exception.java create mode 100644 src/main/java/br/com/correios/webservice/postagem/MedidaTO.java create mode 100644 src/main/java/br/com/correios/webservice/postagem/MensagemParametrizadaTO.java rename src/main/java/br/com/correios/webservice/postagem/{ObjetoTO.java => Objeto.java} (95%) rename src/main/java/br/com/correios/webservice/postagem/{ObjetoSimplificadoTO.java => ObjetoSimplificado.java} (93%) create mode 100644 src/main/java/br/com/correios/webservice/postagem/ObterMensagemParametrizada.java create mode 100644 src/main/java/br/com/correios/webservice/postagem/ObterMensagemParametrizadaResponse.java delete mode 100644 src/main/java/br/com/correios/webservice/postagem/ObterMensagemRetornoPI.java create mode 100644 src/main/java/br/com/correios/webservice/postagem/PesquisarDimensoesServico.java create mode 100644 src/main/java/br/com/correios/webservice/postagem/PesquisarDimensoesServicoResponse.java create mode 100644 src/main/java/br/com/correios/webservice/postagem/PesquisarEmbalagensPorServico.java create mode 100644 src/main/java/br/com/correios/webservice/postagem/PesquisarEmbalagensPorServicoResponse.java create mode 100644 src/main/java/br/com/correios/webservice/postagem/PesquisarParametrosPorDescricao.java create mode 100644 src/main/java/br/com/correios/webservice/postagem/PesquisarParametrosPorDescricaoResponse.java create mode 100644 src/main/java/br/com/correios/webservice/postagem/PesquisarServicosAdicionais.java rename src/main/java/br/com/correios/webservice/postagem/{ConsultarPedidosInformacaoResponse.java => PesquisarServicosAdicionaisResponse.java} (73%) delete mode 100644 src/main/java/br/com/correios/webservice/postagem/PessoaTO.java delete mode 100644 src/main/java/br/com/correios/webservice/postagem/Postagem.java rename src/main/java/br/com/correios/webservice/postagem/{ProdutoTO.java => Produto.java} (71%) delete mode 100644 src/main/java/br/com/correios/webservice/postagem/Retorno.java rename src/main/java/br/com/correios/webservice/postagem/{RetornoCancelamentoTO.java => RetornoCancelamento.java} (89%) rename src/main/java/br/com/correios/webservice/postagem/{AssuntoPIMaster.java => ServicoAdicionalTO.java} (58%) create mode 100644 src/main/java/br/com/correios/webservice/postagem/ServicoAdicionalXML.java create mode 100644 src/main/java/br/com/correios/webservice/postagem/SimNao.java create mode 100644 src/main/java/br/com/correios/webservice/postagem/TipoEmbalagem.java create mode 100644 src/main/java/br/com/correios/webservice/postagem/TipoMensagem.java create mode 100644 src/main/java/br/com/correios/webservice/postagem/ValePostal.java create mode 100644 src/main/java/br/com/correios/webservice/postagem/ValorDeclarado.java create mode 100644 src/main/java/br/com/correios/webservice/postagem/VerificaModalTransporte.java create mode 100644 src/main/java/br/com/correios/webservice/postagem/VerificaModalTransporteResponse.java create mode 100644 src/main/java/br/com/correios/webservice/postagem/VerificaSeTodosObjetosCancelados.java create mode 100644 src/main/java/br/com/correios/webservice/postagem/VerificaSeTodosObjetosCanceladosResponse.java create mode 100644 src/main/resources/wsdl/AtendeCliente.wsdl diff --git a/src/main/java/br/com/correios/api/postagem/SoapCorreiosServicoPostagemAPI.java b/src/main/java/br/com/correios/api/postagem/SoapCorreiosServicoPostagemAPI.java index 63a64ec..3b5af4a 100644 --- a/src/main/java/br/com/correios/api/postagem/SoapCorreiosServicoPostagemAPI.java +++ b/src/main/java/br/com/correios/api/postagem/SoapCorreiosServicoPostagemAPI.java @@ -2,6 +2,8 @@ import static java.lang.String.format; +import javax.xml.ws.BindingProvider; + import com.google.common.base.Optional; import br.com.correios.api.converter.Converter; @@ -14,6 +16,7 @@ import br.com.correios.api.postagem.xml.Correioslog; import br.com.correios.api.postagem.xml.XmlPlpParser; import br.com.correios.credentials.CorreiosCredenciais; +import br.com.correios.webservice.postagem.AtendeCliente; import br.com.correios.webservice.postagem.AutenticacaoException; import br.com.correios.webservice.postagem.ClienteERP; import br.com.correios.webservice.postagem.Exception_Exception; @@ -43,7 +46,12 @@ class SoapCorreiosServicoPostagemAPI implements CorreiosServicoPostagemAPI { @Override public Optional buscaCliente(ContratoEmpresa contratoEmpresa) { try { - ClienteERP clienteRetornadoDosCorreios = clienteApi.getCorreiosWebService().buscaCliente(contratoEmpresa.getContrato(), contratoEmpresa.getCartaoDePostagem(), credenciais.getUsuario(), credenciais.getSenha()); + AtendeCliente atendeCliente = clienteApi.getCorreiosWebService(); + + ((BindingProvider)atendeCliente).getRequestContext().put("javax.xml.ws.client.connectionTimeout", "6000"); + ((BindingProvider)atendeCliente).getRequestContext().put("javax.xml.ws.client.receiveTimeout", "6000"); + + ClienteERP clienteRetornadoDosCorreios = atendeCliente.buscaCliente(contratoEmpresa.getContrato(), contratoEmpresa.getCartaoDePostagem(), credenciais.getUsuario(), credenciais.getSenha()); return Optional.fromNullable(clienteRetornadoDosCorreios) .transform(clienteEmpresaConverter::convert) diff --git a/src/main/java/br/com/correios/api/postagem/contrato/Contrato.java b/src/main/java/br/com/correios/api/postagem/contrato/Contrato.java index f471fe4..aba9dc8 100644 --- a/src/main/java/br/com/correios/api/postagem/contrato/Contrato.java +++ b/src/main/java/br/com/correios/api/postagem/contrato/Contrato.java @@ -10,15 +10,11 @@ import br.com.correios.api.postagem.cartao.CartaoPostagem; import br.com.correios.api.postagem.cartao.StatusDoCartaoDaPostagem; import br.com.correios.api.postagem.common.DataVigencia; -import br.com.correios.webservice.postagem.Cliente; public class Contrato { private List cartoesPostagem; - //TODO Este cliente ja possui um contrato. Ver a possibilidade de remover daqui - private Cliente cliente; - private long codigoCliente; private ContratoDiretoria contratoDiretoria; @@ -43,10 +39,6 @@ public List getCartoesPostagem() { return cartoesPostagem; } - public Cliente getCliente() { - return cliente; - } - public long getCodigoCliente() { return codigoCliente; } @@ -92,11 +84,6 @@ public ContratoBuilder comCartoesDePostagem(List cartoes) { return this; } - public ContratoBuilder doCliente(Cliente cliente) { - this.contrato.cliente = cliente; - return this; - } - public ContratoBuilder comContratoDeDiretoria(ContratoDiretoria contrato) { this.contrato.contratoDiretoria = contrato; return this; @@ -156,7 +143,6 @@ public String toString() { return MoreObjects.toStringHelper(this) .add("contratoDiretoria", this.contratoDiretoria) .add("cartoesPostagem", this.cartoesPostagem) - .add("cliente", this.cliente) .add("codigoCliente", this.codigoCliente) .add("descricaoDiretoriaRegional", this.descricaoDiretoriaRegional) .add("status", this.status) diff --git a/src/main/java/br/com/correios/webservice/postagem/AtendeCliente.java b/src/main/java/br/com/correios/webservice/postagem/AtendeCliente.java index f7107c3..59247ed 100644 --- a/src/main/java/br/com/correios/webservice/postagem/AtendeCliente.java +++ b/src/main/java/br/com/correios/webservice/postagem/AtendeCliente.java @@ -2,7 +2,6 @@ package br.com.correios.webservice.postagem; import java.util.List; - import javax.jws.WebMethod; import javax.jws.WebParam; import javax.jws.WebResult; @@ -17,7 +16,7 @@ * This class was generated by the JAX-WS RI. * JAX-WS RI 2.2.9-b130926.1035 * Generated source version: 2.2 - * + * */ @WebService(name = "AtendeCliente", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/") @XmlSeeAlso({ @@ -27,7 +26,28 @@ public interface AtendeCliente { /** - * + * + * @param senha + * @param usuario + * @return + * returns java.util.List + * @throws SigepClienteException + * @throws SQLException_Exception + */ + @WebMethod + @WebResult(targetNamespace = "") + @RequestWrapper(localName = "buscaServicosAdicionaisAtivos", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.BuscaServicosAdicionaisAtivos") + @ResponseWrapper(localName = "buscaServicosAdicionaisAtivosResponse", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.BuscaServicosAdicionaisAtivosResponse") + public List buscaServicosAdicionaisAtivos( + @WebParam(name = "usuario", targetNamespace = "") + String usuario, + @WebParam(name = "senha", targetNamespace = "") + String senha) + throws SQLException_Exception, SigepClienteException + ; + + /** + * * @param senha * @param xml * @param cartaoPostagem @@ -36,8 +56,8 @@ public interface AtendeCliente { * @param idPlpCliente * @return * returns java.lang.Long - * @throws AutenticacaoException * @throws SigepClienteException + * @throws AutenticacaoException */ @WebMethod @WebResult(targetNamespace = "") @@ -60,52 +80,40 @@ public Long fechaPlp( ; /** - * - * @param idCartaoPostagem - * @param senha - * @param usuario - * @param idContrato - * @return - * returns br.com.correios.webservice.postagem.ClienteERP - * @throws AutenticacaoException - * @throws SigepClienteException - */ - @WebMethod - @WebResult(targetNamespace = "") - @RequestWrapper(localName = "buscaCliente", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.BuscaCliente") - @ResponseWrapper(localName = "buscaClienteResponse", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.BuscaClienteResponse") - public ClienteERP buscaCliente( - @WebParam(name = "idContrato", targetNamespace = "") - String idContrato, - @WebParam(name = "idCartaoPostagem", targetNamespace = "") - String idCartaoPostagem, - @WebParam(name = "usuario", targetNamespace = "") - String usuario, - @WebParam(name = "senha", targetNamespace = "") - String senha) - throws AutenticacaoException, SigepClienteException - ; - - /** - * + * + * @param cliente + * @param unidadePostagem * @param senha + * @param cartao + * @param numero + * @param servicosAdicionais + * @param diretoria * @param usuario - * @param numeroEtiqueta - * @param idPlp + * @param servico * @return * returns boolean - * @throws AutenticacaoException * @throws SigepClienteException + * @throws AutenticacaoException */ @WebMethod @WebResult(targetNamespace = "") - @RequestWrapper(localName = "validaEtiquetaPLP", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.ValidaEtiquetaPLP") - @ResponseWrapper(localName = "validaEtiquetaPLPResponse", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.ValidaEtiquetaPLPResponse") - public boolean validaEtiquetaPLP( - @WebParam(name = "numeroEtiqueta", targetNamespace = "") - String numeroEtiqueta, - @WebParam(name = "idPlp", targetNamespace = "") - Long idPlp, + @RequestWrapper(localName = "validaPlp", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.ValidaPlp") + @ResponseWrapper(localName = "validaPlpResponse", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.ValidaPlpResponse") + public boolean validaPlp( + @WebParam(name = "cliente", targetNamespace = "") + long cliente, + @WebParam(name = "numero", targetNamespace = "") + String numero, + @WebParam(name = "diretoria", targetNamespace = "") + long diretoria, + @WebParam(name = "cartao", targetNamespace = "") + String cartao, + @WebParam(name = "unidadePostagem", targetNamespace = "") + String unidadePostagem, + @WebParam(name = "servico", targetNamespace = "") + Long servico, + @WebParam(name = "servicosAdicionais", targetNamespace = "") + List servicosAdicionais, @WebParam(name = "usuario", targetNamespace = "") String usuario, @WebParam(name = "senha", targetNamespace = "") @@ -114,162 +122,163 @@ public boolean validaEtiquetaPLP( ; /** - * + * + * @param codFormato + * @param codServico + * @param largura + * @param diametro + * @param peso + * @param cepDestino + * @param codAvisoRecebimento * @param senha * @param codAdministrativo + * @param altura * @param cepOrigem + * @param comprimento + * @param valorDeclarado * @param usuario - * @param numeroServico - * @param cepDestino + * @param codMaoPropria * @return - * returns boolean - * @throws AutenticacaoException + * returns java.lang.String * @throws SigepClienteException + * @throws Exception_Exception + * @throws AutenticacaoException */ @WebMethod @WebResult(targetNamespace = "") - @RequestWrapper(localName = "verificaDisponibilidadeServico", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.VerificaDisponibilidadeServico") - @ResponseWrapper(localName = "verificaDisponibilidadeServicoResponse", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.VerificaDisponibilidadeServicoResponse") - public boolean verificaDisponibilidadeServico( + @RequestWrapper(localName = "calculaTarifaServico", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.CalculaTarifaServico") + @ResponseWrapper(localName = "calculaTarifaServicoResponse", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.CalculaTarifaServicoResponse") + public String calculaTarifaServico( @WebParam(name = "codAdministrativo", targetNamespace = "") - Integer codAdministrativo, - @WebParam(name = "numeroServico", targetNamespace = "") - String numeroServico, + String codAdministrativo, + @WebParam(name = "usuario", targetNamespace = "") + String usuario, + @WebParam(name = "senha", targetNamespace = "") + String senha, + @WebParam(name = "codServico", targetNamespace = "") + String codServico, @WebParam(name = "cepOrigem", targetNamespace = "") String cepOrigem, @WebParam(name = "cepDestino", targetNamespace = "") String cepDestino, - @WebParam(name = "usuario", targetNamespace = "") - String usuario, - @WebParam(name = "senha", targetNamespace = "") - String senha) - throws AutenticacaoException, SigepClienteException + @WebParam(name = "peso", targetNamespace = "") + String peso, + @WebParam(name = "codFormato", targetNamespace = "") + Integer codFormato, + @WebParam(name = "comprimento", targetNamespace = "") + Double comprimento, + @WebParam(name = "altura", targetNamespace = "") + Double altura, + @WebParam(name = "largura", targetNamespace = "") + Double largura, + @WebParam(name = "diametro", targetNamespace = "") + Double diametro, + @WebParam(name = "codMaoPropria", targetNamespace = "") + String codMaoPropria, + @WebParam(name = "valorDeclarado", targetNamespace = "") + Double valorDeclarado, + @WebParam(name = "codAvisoRecebimento", targetNamespace = "") + String codAvisoRecebimento) + throws AutenticacaoException, Exception_Exception, SigepClienteException ; /** - * - * @param arg1 + * * @param arg0 * @return - * returns br.com.correios.webservice.postagem.StatusPlp + * returns boolean * @throws SigepClienteException */ - @WebMethod + @WebMethod(operationName = "VerificaSeTodosObjetosCancelados") @WebResult(targetNamespace = "") - @RequestWrapper(localName = "getStatusPLP", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.GetStatusPLP") - @ResponseWrapper(localName = "getStatusPLPResponse", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.GetStatusPLPResponse") - public StatusPlp getStatusPLP( + @RequestWrapper(localName = "VerificaSeTodosObjetosCancelados", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.VerificaSeTodosObjetosCancelados") + @ResponseWrapper(localName = "VerificaSeTodosObjetosCanceladosResponse", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.VerificaSeTodosObjetosCanceladosResponse") + public boolean verificaSeTodosObjetosCancelados( @WebParam(name = "arg0", targetNamespace = "") - List arg0, - @WebParam(name = "arg1", targetNamespace = "") - String arg1) + List arg0) throws SigepClienteException ; /** - * + * * @param senha - * @param tipoBloqueio * @param usuario * @param numeroEtiqueta - * @param acao * @param idPlp * @return - * returns java.lang.String - * @throws AutenticacaoException + * returns java.lang.Boolean * @throws SigepClienteException + * @throws Exception_Exception + * @throws AutenticacaoException */ @WebMethod @WebResult(targetNamespace = "") - @RequestWrapper(localName = "bloquearObjeto", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.BloquearObjeto") - @ResponseWrapper(localName = "bloquearObjetoResponse", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.BloquearObjetoResponse") - public String bloquearObjeto( - @WebParam(name = "numeroEtiqueta", targetNamespace = "") - String numeroEtiqueta, + @RequestWrapper(localName = "cancelarObjeto", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.CancelarObjeto") + @ResponseWrapper(localName = "cancelarObjetoResponse", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.CancelarObjetoResponse") + public Boolean cancelarObjeto( @WebParam(name = "idPlp", targetNamespace = "") Long idPlp, - @WebParam(name = "tipoBloqueio", targetNamespace = "") - TipoBloqueio tipoBloqueio, - @WebParam(name = "acao", targetNamespace = "") - Acao acao, + @WebParam(name = "numeroEtiqueta", targetNamespace = "") + String numeroEtiqueta, @WebParam(name = "usuario", targetNamespace = "") String usuario, @WebParam(name = "senha", targetNamespace = "") String senha) - throws AutenticacaoException, SigepClienteException + throws AutenticacaoException, Exception_Exception, SigepClienteException ; /** - * - * @param senha - * @param idServico - * @param qtdEtiquetas - * @param usuario - * @param tipoDestinatario - * @param identificador + * + * @param prefix * @return - * returns java.lang.String - * @throws AutenticacaoException - * @throws SigepClienteException + * returns br.com.correios.webservice.postagem.DimensaoTO */ @WebMethod @WebResult(targetNamespace = "") - @RequestWrapper(localName = "solicitaEtiquetas", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.SolicitaEtiquetas") - @ResponseWrapper(localName = "solicitaEtiquetasResponse", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.SolicitaEtiquetasResponse") - public String solicitaEtiquetas( - @WebParam(name = "tipoDestinatario", targetNamespace = "") - String tipoDestinatario, - @WebParam(name = "identificador", targetNamespace = "") - String identificador, - @WebParam(name = "idServico", targetNamespace = "") - Long idServico, - @WebParam(name = "qtdEtiquetas", targetNamespace = "") - Integer qtdEtiquetas, - @WebParam(name = "usuario", targetNamespace = "") - String usuario, - @WebParam(name = "senha", targetNamespace = "") - String senha) - throws AutenticacaoException, SigepClienteException - ; + @RequestWrapper(localName = "pesquisarParametrosPorDescricao", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.PesquisarParametrosPorDescricao") + @ResponseWrapper(localName = "pesquisarParametrosPorDescricaoResponse", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.PesquisarParametrosPorDescricaoResponse") + public DimensaoTO pesquisarParametrosPorDescricao( + @WebParam(name = "prefix", targetNamespace = "") + String prefix); /** - * + * * @param senha * @param usuario * @return * returns java.lang.String - * @throws AutenticacaoException * @throws SigepClienteException + * @throws SQLException_Exception */ @WebMethod @WebResult(targetNamespace = "") - @RequestWrapper(localName = "buscaPagamentoEntrega", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.BuscaPagamentoEntrega") - @ResponseWrapper(localName = "buscaPagamentoEntregaResponse", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.BuscaPagamentoEntregaResponse") - public String buscaPagamentoEntrega( + @RequestWrapper(localName = "atualizaPagamentoNaEntrega", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.AtualizaPagamentoNaEntrega") + @ResponseWrapper(localName = "atualizaPagamentoNaEntregaResponse", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.AtualizaPagamentoNaEntregaResponse") + public String atualizaPagamentoNaEntrega( @WebParam(name = "usuario", targetNamespace = "") String usuario, @WebParam(name = "senha", targetNamespace = "") String senha) - throws AutenticacaoException, SigepClienteException + throws SQLException_Exception, SigepClienteException ; /** - * + * * @param senha - * @param etiquetas + * @param cnpjCliente * @param usuario * @return - * returns java.util.List - * @throws AutenticacaoException + * returns javax.xml.datatype.XMLGregorianCalendar * @throws SigepClienteException + * @throws AutenticacaoException */ @WebMethod @WebResult(targetNamespace = "") - @RequestWrapper(localName = "geraDigitoVerificadorEtiquetas", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.GeraDigitoVerificadorEtiquetas") - @ResponseWrapper(localName = "geraDigitoVerificadorEtiquetasResponse", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.GeraDigitoVerificadorEtiquetasResponse") - public List geraDigitoVerificadorEtiquetas( - @WebParam(name = "etiquetas", targetNamespace = "") - List etiquetas, + @RequestWrapper(localName = "obterClienteAtualizacao", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.ObterClienteAtualizacao") + @ResponseWrapper(localName = "obterClienteAtualizacaoResponse", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.ObterClienteAtualizacaoResponse") + public XMLGregorianCalendar obterClienteAtualizacao( + @WebParam(name = "cnpjCliente", targetNamespace = "") + String cnpjCliente, @WebParam(name = "usuario", targetNamespace = "") String usuario, @WebParam(name = "senha", targetNamespace = "") @@ -278,35 +287,40 @@ public List geraDigitoVerificadorEtiquetas( ; /** - * + * * @param senha + * @param codAdministrativo + * @param cepOrigem * @param usuario - * @param numeroEtiqueta - * @param idPlp + * @param numeroServico + * @param cepDestino * @return - * returns java.lang.Boolean - * @throws AutenticacaoException + * returns java.lang.String * @throws SigepClienteException - * @throws Exception_Exception + * @throws AutenticacaoException */ @WebMethod @WebResult(targetNamespace = "") - @RequestWrapper(localName = "cancelarObjeto", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.CancelarObjeto") - @ResponseWrapper(localName = "cancelarObjetoResponse", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.CancelarObjetoResponse") - public Boolean cancelarObjeto( - @WebParam(name = "idPlp", targetNamespace = "") - Long idPlp, - @WebParam(name = "numeroEtiqueta", targetNamespace = "") - String numeroEtiqueta, + @RequestWrapper(localName = "verificaDisponibilidadeServico", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.VerificaDisponibilidadeServico") + @ResponseWrapper(localName = "verificaDisponibilidadeServicoResponse", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.VerificaDisponibilidadeServicoResponse") + public String verificaDisponibilidadeServico( + @WebParam(name = "codAdministrativo", targetNamespace = "") + Integer codAdministrativo, + @WebParam(name = "numeroServico", targetNamespace = "") + String numeroServico, + @WebParam(name = "cepOrigem", targetNamespace = "") + String cepOrigem, + @WebParam(name = "cepDestino", targetNamespace = "") + String cepDestino, @WebParam(name = "usuario", targetNamespace = "") String usuario, @WebParam(name = "senha", targetNamespace = "") String senha) - throws AutenticacaoException, Exception_Exception, SigepClienteException + throws AutenticacaoException, SigepClienteException ; /** - * + * * @param listaEtiquetas * @param senha * @param xml @@ -315,8 +329,8 @@ public Boolean cancelarObjeto( * @param idPlpCliente * @return * returns java.lang.Long - * @throws AutenticacaoException * @throws SigepClienteException + * @throws AutenticacaoException */ @WebMethod @WebResult(targetNamespace = "") @@ -339,31 +353,22 @@ public Long fechaPlpVariosServicos( ; /** - * + * * @param senha - * @param codAdministrativo - * @param codigoServico - * @param cepDestinatario + * @param etiquetas * @param usuario - * @param coleta * @return - * returns java.lang.Boolean - * @throws AutenticacaoException + * returns java.util.List * @throws SigepClienteException + * @throws AutenticacaoException */ @WebMethod @WebResult(targetNamespace = "") - @RequestWrapper(localName = "validarPostagemReversa", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.ValidarPostagemReversa") - @ResponseWrapper(localName = "validarPostagemReversaResponse", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.ValidarPostagemReversaResponse") - public Boolean validarPostagemReversa( - @WebParam(name = "codAdministrativo", targetNamespace = "") - Integer codAdministrativo, - @WebParam(name = "codigoServico", targetNamespace = "") - Integer codigoServico, - @WebParam(name = "cepDestinatario", targetNamespace = "") - String cepDestinatario, - @WebParam(name = "coleta", targetNamespace = "") - ColetaReversaTO coleta, + @RequestWrapper(localName = "geraDigitoVerificadorEtiquetas", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.GeraDigitoVerificadorEtiquetas") + @ResponseWrapper(localName = "geraDigitoVerificadorEtiquetasResponse", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.GeraDigitoVerificadorEtiquetasResponse") + public List geraDigitoVerificadorEtiquetas( + @WebParam(name = "etiquetas", targetNamespace = "") + List etiquetas, @WebParam(name = "usuario", targetNamespace = "") String usuario, @WebParam(name = "senha", targetNamespace = "") @@ -372,40 +377,39 @@ public Boolean validarPostagemReversa( ; /** - * - * @param cliente - * @param unidadePostagem - * @param senha - * @param cartao - * @param numero - * @param servicosAdicionais - * @param diretoria - * @param usuario - * @param servico + * * @return - * returns boolean - * @throws AutenticacaoException + * returns java.util.List * @throws SigepClienteException */ @WebMethod @WebResult(targetNamespace = "") - @RequestWrapper(localName = "validaPlp", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.ValidaPlp") - @ResponseWrapper(localName = "validaPlpResponse", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.ValidaPlpResponse") - public boolean validaPlp( - @WebParam(name = "cliente", targetNamespace = "") - long cliente, - @WebParam(name = "numero", targetNamespace = "") - String numero, - @WebParam(name = "diretoria", targetNamespace = "") - long diretoria, - @WebParam(name = "cartao", targetNamespace = "") - String cartao, - @WebParam(name = "unidadePostagem", targetNamespace = "") - String unidadePostagem, - @WebParam(name = "servico", targetNamespace = "") - Long servico, - @WebParam(name = "servicosAdicionais", targetNamespace = "") - List servicosAdicionais, + @RequestWrapper(localName = "obterEmbalagemLRS", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.ObterEmbalagemLRS") + @ResponseWrapper(localName = "obterEmbalagemLRSResponse", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.ObterEmbalagemLRSResponse") + public List obterEmbalagemLRS() + throws SigepClienteException + ; + + /** + * + * @param senha + * @param usuario + * @param numeroEtiqueta + * @param idPlp + * @return + * returns boolean + * @throws SigepClienteException + * @throws AutenticacaoException + */ + @WebMethod + @WebResult(targetNamespace = "") + @RequestWrapper(localName = "validaEtiquetaPLP", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.ValidaEtiquetaPLP") + @ResponseWrapper(localName = "validaEtiquetaPLPResponse", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.ValidaEtiquetaPLPResponse") + public boolean validaEtiquetaPLP( + @WebParam(name = "numeroEtiqueta", targetNamespace = "") + String numeroEtiqueta, + @WebParam(name = "idPlp", targetNamespace = "") + Long idPlp, @WebParam(name = "usuario", targetNamespace = "") String usuario, @WebParam(name = "senha", targetNamespace = "") @@ -414,28 +418,61 @@ public boolean validaPlp( ; /** - * + * + * @param senha + * @param usuario + * @return + * returns java.util.List + * @throws SigepClienteException + * @throws SQLException_Exception + */ + @WebMethod + @WebResult(targetNamespace = "") + @RequestWrapper(localName = "buscaServicosValorDeclarado", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.BuscaServicosValorDeclarado") + @ResponseWrapper(localName = "buscaServicosValorDeclaradoResponse", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.BuscaServicosValorDeclaradoResponse") + public List buscaServicosValorDeclarado( + @WebParam(name = "usuario", targetNamespace = "") + String usuario, + @WebParam(name = "senha", targetNamespace = "") + String senha) + throws SQLException_Exception, SigepClienteException + ; + + /** + * + * @param cep + * @return + * returns br.com.correios.webservice.postagem.EnderecoERP + * @throws SigepClienteException + * @throws SQLException_Exception + */ + @WebMethod + @WebResult(targetNamespace = "") + @RequestWrapper(localName = "consultaCEP", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.ConsultaCEP") + @ResponseWrapper(localName = "consultaCEPResponse", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.ConsultaCEPResponse") + public EnderecoERP consultaCEP( + @WebParam(name = "cep", targetNamespace = "") + String cep) + throws SQLException_Exception, SigepClienteException + ; + + /** + * * @param senha - * @param tipo - * @param idPostagem * @param codAdministrativo * @param usuario * @return - * returns br.com.correios.webservice.postagem.RetornoCancelamentoTO - * @throws AutenticacaoException + * returns java.lang.Boolean * @throws SigepClienteException + * @throws AutenticacaoException */ @WebMethod @WebResult(targetNamespace = "") - @RequestWrapper(localName = "cancelarPedidoScol", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.CancelarPedidoScol") - @ResponseWrapper(localName = "cancelarPedidoScolResponse", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.CancelarPedidoScolResponse") - public RetornoCancelamentoTO cancelarPedidoScol( + @RequestWrapper(localName = "integrarUsuarioScol", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.IntegrarUsuarioScol") + @ResponseWrapper(localName = "integrarUsuarioScolResponse", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.IntegrarUsuarioScolResponse") + public Boolean integrarUsuarioScol( @WebParam(name = "codAdministrativo", targetNamespace = "") Integer codAdministrativo, - @WebParam(name = "idPostagem", targetNamespace = "") - String idPostagem, - @WebParam(name = "tipo", targetNamespace = "") - String tipo, @WebParam(name = "usuario", targetNamespace = "") String usuario, @WebParam(name = "senha", targetNamespace = "") @@ -444,21 +481,207 @@ public RetornoCancelamentoTO cancelarPedidoScol( ; /** - * + * + * @param codigo + * @param embalagem * @return - * returns java.util.List + * returns br.com.correios.webservice.postagem.DimensaoTO + */ + @WebMethod + @WebResult(targetNamespace = "") + @RequestWrapper(localName = "pesquisarDimensoesServico", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.PesquisarDimensoesServico") + @ResponseWrapper(localName = "pesquisarDimensoesServicoResponse", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.PesquisarDimensoesServicoResponse") + public DimensaoTO pesquisarDimensoesServico( + @WebParam(name = "codigo", targetNamespace = "") + String codigo, + @WebParam(name = "embalagem", targetNamespace = "") + String embalagem); + + /** + * + * @param codigo + * @return + * returns java.util.List + */ + @WebMethod + @WebResult(targetNamespace = "") + @RequestWrapper(localName = "pesquisarEmbalagensPorServico", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.PesquisarEmbalagensPorServico") + @ResponseWrapper(localName = "pesquisarEmbalagensPorServicoResponse", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.PesquisarEmbalagensPorServicoResponse") + public List pesquisarEmbalagensPorServico( + @WebParam(name = "codigo", targetNamespace = "") + String codigo); + + /** + * + * @param senha + * @param usuario + * @return + * returns java.lang.String * @throws SigepClienteException + * @throws SQLException_Exception */ @WebMethod @WebResult(targetNamespace = "") - @RequestWrapper(localName = "obterEmbalagemLRS", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.ObterEmbalagemLRS") - @ResponseWrapper(localName = "obterEmbalagemLRSResponse", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.ObterEmbalagemLRSResponse") - public List obterEmbalagemLRS() - throws SigepClienteException + @RequestWrapper(localName = "atualizaRemessaAgrupada", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.AtualizaRemessaAgrupada") + @ResponseWrapper(localName = "atualizaRemessaAgrupadaResponse", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.AtualizaRemessaAgrupadaResponse") + public String atualizaRemessaAgrupada( + @WebParam(name = "usuario", targetNamespace = "") + String usuario, + @WebParam(name = "senha", targetNamespace = "") + String senha) + throws SQLException_Exception, SigepClienteException ; /** - * + * + * @param idPlpMaster + * @param senha + * @param numEtiqueta + * @param usuario + * @return + * returns java.lang.String + * @throws SigepClienteException + * @throws AutenticacaoException + */ + @WebMethod + @WebResult(targetNamespace = "") + @RequestWrapper(localName = "solicitaPLP", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.SolicitaPLP") + @ResponseWrapper(localName = "solicitaPLPResponse", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.SolicitaPLPResponse") + public String solicitaPLP( + @WebParam(name = "idPlpMaster", targetNamespace = "") + Long idPlpMaster, + @WebParam(name = "numEtiqueta", targetNamespace = "") + String numEtiqueta, + @WebParam(name = "usuario", targetNamespace = "") + String usuario, + @WebParam(name = "senha", targetNamespace = "") + String senha) + throws AutenticacaoException, SigepClienteException + ; + + /** + * + * @param senha + * @param numeroCartaoPostagem + * @param usuario + * @return + * returns br.com.correios.webservice.postagem.StatusCartao + * @throws SigepClienteException + * @throws AutenticacaoException + */ + @WebMethod + @WebResult(targetNamespace = "") + @RequestWrapper(localName = "getStatusCartaoPostagem", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.GetStatusCartaoPostagem") + @ResponseWrapper(localName = "getStatusCartaoPostagemResponse", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.GetStatusCartaoPostagemResponse") + public StatusCartao getStatusCartaoPostagem( + @WebParam(name = "numeroCartaoPostagem", targetNamespace = "") + String numeroCartaoPostagem, + @WebParam(name = "usuario", targetNamespace = "") + String usuario, + @WebParam(name = "senha", targetNamespace = "") + String senha) + throws AutenticacaoException, SigepClienteException + ; + + /** + * + * @param senha + * @param codigoServico + * @param cepOrigem + * @param usuario + * @param cepDestino + * @return + * returns java.lang.String + * @throws SigepClienteException + * @throws AutenticacaoException + */ + @WebMethod + @WebResult(targetNamespace = "") + @RequestWrapper(localName = "verificaModalTransporte", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.VerificaModalTransporte") + @ResponseWrapper(localName = "verificaModalTransporteResponse", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.VerificaModalTransporteResponse") + public String verificaModalTransporte( + @WebParam(name = "codigoServico", targetNamespace = "") + String codigoServico, + @WebParam(name = "cepOrigem", targetNamespace = "") + String cepOrigem, + @WebParam(name = "cepDestino", targetNamespace = "") + String cepDestino, + @WebParam(name = "usuario", targetNamespace = "") + String usuario, + @WebParam(name = "senha", targetNamespace = "") + String senha) + throws AutenticacaoException, SigepClienteException + ; + + /** + * + * @return + * returns javax.xml.datatype.XMLGregorianCalendar + */ + @WebMethod + @WebResult(targetNamespace = "") + @RequestWrapper(localName = "buscaDataAtual", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.BuscaDataAtual") + @ResponseWrapper(localName = "buscaDataAtualResponse", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.BuscaDataAtualResponse") + public XMLGregorianCalendar buscaDataAtual(); + + /** + * + * @param codFormato + * @param servicoAdicional + * @param codServico + * @param largura + * @param peso + * @param cepDestino + * @param senha + * @param codAdministrativo + * @param altura + * @param cepOrigem + * @param comprimento + * @param valorDeclarado + * @param usuario + * @return + * returns br.com.correios.webservice.postagem.ValePostal + * @throws SigepClienteException + * @throws Exception_Exception + * @throws AutenticacaoException + */ + @WebMethod + @WebResult(targetNamespace = "") + @RequestWrapper(localName = "buscaTarifaVale", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.BuscaTarifaVale") + @ResponseWrapper(localName = "buscaTarifaValeResponse", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.BuscaTarifaValeResponse") + public ValePostal buscaTarifaVale( + @WebParam(name = "codAdministrativo", targetNamespace = "") + String codAdministrativo, + @WebParam(name = "usuario", targetNamespace = "") + String usuario, + @WebParam(name = "senha", targetNamespace = "") + String senha, + @WebParam(name = "codServico", targetNamespace = "") + String codServico, + @WebParam(name = "cepOrigem", targetNamespace = "") + String cepOrigem, + @WebParam(name = "cepDestino", targetNamespace = "") + String cepDestino, + @WebParam(name = "peso", targetNamespace = "") + String peso, + @WebParam(name = "codFormato", targetNamespace = "") + Integer codFormato, + @WebParam(name = "comprimento", targetNamespace = "") + Double comprimento, + @WebParam(name = "altura", targetNamespace = "") + Double altura, + @WebParam(name = "largura", targetNamespace = "") + Double largura, + @WebParam(name = "valorDeclarado", targetNamespace = "") + Double valorDeclarado, + @WebParam(name = "servicoAdicional", targetNamespace = "") + String servicoAdicional) + throws AutenticacaoException, Exception_Exception, SigepClienteException + ; + + /** + * + * @param idCartaoPostagem * @param senha * @param codAdministrativo * @param codigoServico @@ -467,8 +690,8 @@ public List obterEmbalagemLRS() * @param coleta * @return * returns java.lang.Boolean - * @throws AutenticacaoException * @throws SigepClienteException + * @throws AutenticacaoException */ @WebMethod @WebResult(targetNamespace = "") @@ -479,10 +702,12 @@ public Boolean validarPostagemSimultanea( Integer codAdministrativo, @WebParam(name = "codigoServico", targetNamespace = "") Integer codigoServico, + @WebParam(name = "idCartaoPostagem", targetNamespace = "") + String idCartaoPostagem, @WebParam(name = "cepDestinatario", targetNamespace = "") String cepDestinatario, @WebParam(name = "coleta", targetNamespace = "") - ColetaSimultaneaTO coleta, + ColetaSimultanea coleta, @WebParam(name = "usuario", targetNamespace = "") String usuario, @WebParam(name = "senha", targetNamespace = "") @@ -491,52 +716,83 @@ public Boolean validarPostagemSimultanea( ; /** - * - * @param idCartaoPostagem + * + * @param arg1 + * @param arg0 + * @return + * returns br.com.correios.webservice.postagem.StatusPlp + * @throws SigepClienteException + */ + @WebMethod + @WebResult(targetNamespace = "") + @RequestWrapper(localName = "getStatusPLP", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.GetStatusPLP") + @ResponseWrapper(localName = "getStatusPLPResponse", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.GetStatusPLPResponse") + public StatusPlp getStatusPLP( + @WebParam(name = "arg0", targetNamespace = "") + List arg0, + @WebParam(name = "arg1", targetNamespace = "") + String arg1) + throws SigepClienteException + ; + + /** + * + * @param codigo + * @return + * returns java.util.List + */ + @WebMethod + @WebResult(targetNamespace = "") + @RequestWrapper(localName = "pesquisarServicosAdicionais", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.PesquisarServicosAdicionais") + @ResponseWrapper(localName = "pesquisarServicosAdicionaisResponse", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.PesquisarServicosAdicionaisResponse") + public List pesquisarServicosAdicionais( + @WebParam(name = "codigo", targetNamespace = "") + String codigo); + + /** + * * @param senha * @param usuario - * @param idContrato * @return - * returns java.util.List - * @throws AutenticacaoException + * returns java.util.List * @throws SigepClienteException + * @throws SQLException_Exception */ @WebMethod @WebResult(targetNamespace = "") - @RequestWrapper(localName = "buscaServicos", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.BuscaServicos") - @ResponseWrapper(localName = "buscaServicosResponse", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.BuscaServicosResponse") - public List buscaServicos( - @WebParam(name = "idContrato", targetNamespace = "") - String idContrato, - @WebParam(name = "idCartaoPostagem", targetNamespace = "") - String idCartaoPostagem, + @RequestWrapper(localName = "buscaServicosXServicosAdicionais", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.BuscaServicosXServicosAdicionais") + @ResponseWrapper(localName = "buscaServicosXServicosAdicionaisResponse", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.BuscaServicosXServicosAdicionaisResponse") + public List buscaServicosXServicosAdicionais( @WebParam(name = "usuario", targetNamespace = "") String usuario, @WebParam(name = "senha", targetNamespace = "") String senha) - throws AutenticacaoException, SigepClienteException + throws SQLException_Exception, SigepClienteException ; /** - * + * * @param senha + * @param tipo + * @param idPostagem * @param codAdministrativo - * @param xml * @param usuario * @return - * returns java.lang.String - * @throws AutenticacaoException + * returns br.com.correios.webservice.postagem.RetornoCancelamento * @throws SigepClienteException + * @throws AutenticacaoException */ @WebMethod @WebResult(targetNamespace = "") - @RequestWrapper(localName = "solicitarPostagemScol", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.SolicitarPostagemScol") - @ResponseWrapper(localName = "solicitarPostagemScolResponse", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.SolicitarPostagemScolResponse") - public String solicitarPostagemScol( + @RequestWrapper(localName = "cancelarPedidoScol", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.CancelarPedidoScol") + @ResponseWrapper(localName = "cancelarPedidoScolResponse", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.CancelarPedidoScolResponse") + public RetornoCancelamento cancelarPedidoScol( @WebParam(name = "codAdministrativo", targetNamespace = "") - Integer codAdministrativo, - @WebParam(name = "xml", targetNamespace = "") - String xml, + String codAdministrativo, + @WebParam(name = "idPostagem", targetNamespace = "") + String idPostagem, + @WebParam(name = "tipo", targetNamespace = "") + String tipo, @WebParam(name = "usuario", targetNamespace = "") String usuario, @WebParam(name = "senha", targetNamespace = "") @@ -545,22 +801,58 @@ public String solicitarPostagemScol( ; /** - * + * * @param senha - * @param numeroCartaoPostagem + * @param tipoBloqueio * @param usuario + * @param numeroEtiqueta + * @param acao + * @param idPlp * @return - * returns br.com.correios.webservice.postagem.StatusCartao + * returns java.lang.String + * @throws SigepClienteException * @throws AutenticacaoException + */ + @WebMethod + @WebResult(targetNamespace = "") + @RequestWrapper(localName = "bloquearObjeto", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.BloquearObjeto") + @ResponseWrapper(localName = "bloquearObjetoResponse", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.BloquearObjetoResponse") + public String bloquearObjeto( + @WebParam(name = "numeroEtiqueta", targetNamespace = "") + String numeroEtiqueta, + @WebParam(name = "idPlp", targetNamespace = "") + Long idPlp, + @WebParam(name = "tipoBloqueio", targetNamespace = "") + TipoBloqueio tipoBloqueio, + @WebParam(name = "acao", targetNamespace = "") + Acao acao, + @WebParam(name = "usuario", targetNamespace = "") + String usuario, + @WebParam(name = "senha", targetNamespace = "") + String senha) + throws AutenticacaoException, SigepClienteException + ; + + /** + * + * @param senha + * @param numero + * @param diretoria + * @param usuario + * @return + * returns br.com.correios.webservice.postagem.ContratoERP * @throws SigepClienteException + * @throws AutenticacaoException */ @WebMethod @WebResult(targetNamespace = "") - @RequestWrapper(localName = "getStatusCartaoPostagem", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.GetStatusCartaoPostagem") - @ResponseWrapper(localName = "getStatusCartaoPostagemResponse", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.GetStatusCartaoPostagemResponse") - public StatusCartao getStatusCartaoPostagem( - @WebParam(name = "numeroCartaoPostagem", targetNamespace = "") - String numeroCartaoPostagem, + @RequestWrapper(localName = "buscaContrato", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.BuscaContrato") + @ResponseWrapper(localName = "buscaContratoResponse", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.BuscaContratoResponse") + public ContratoERP buscaContrato( + @WebParam(name = "numero", targetNamespace = "") + String numero, + @WebParam(name = "diretoria", targetNamespace = "") + long diretoria, @WebParam(name = "usuario", targetNamespace = "") String usuario, @WebParam(name = "senha", targetNamespace = "") @@ -569,25 +861,31 @@ public StatusCartao getStatusCartaoPostagem( ; /** - * - * @param idPlpMaster + * * @param senha - * @param numEtiqueta + * @param idServico + * @param qtdEtiquetas * @param usuario + * @param tipoDestinatario + * @param identificador * @return * returns java.lang.String - * @throws AutenticacaoException * @throws SigepClienteException + * @throws AutenticacaoException */ @WebMethod @WebResult(targetNamespace = "") - @RequestWrapper(localName = "solicitaPLP", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.SolicitaPLP") - @ResponseWrapper(localName = "solicitaPLPResponse", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.SolicitaPLPResponse") - public String solicitaPLP( - @WebParam(name = "idPlpMaster", targetNamespace = "") - Long idPlpMaster, - @WebParam(name = "numEtiqueta", targetNamespace = "") - String numEtiqueta, + @RequestWrapper(localName = "solicitaEtiquetas", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.SolicitaEtiquetas") + @ResponseWrapper(localName = "solicitaEtiquetasResponse", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.SolicitaEtiquetasResponse") + public String solicitaEtiquetas( + @WebParam(name = "tipoDestinatario", targetNamespace = "") + String tipoDestinatario, + @WebParam(name = "identificador", targetNamespace = "") + String identificador, + @WebParam(name = "idServico", targetNamespace = "") + Long idServico, + @WebParam(name = "qtdEtiquetas", targetNamespace = "") + Integer qtdEtiquetas, @WebParam(name = "usuario", targetNamespace = "") String usuario, @WebParam(name = "senha", targetNamespace = "") @@ -596,14 +894,14 @@ public String solicitaPLP( ; /** - * + * * @param idPlpMaster * @param senha * @param usuario * @return * returns java.lang.String - * @throws AutenticacaoException * @throws SigepClienteException + * @throws AutenticacaoException */ @WebMethod @WebResult(targetNamespace = "") @@ -620,25 +918,61 @@ public String solicitaXmlPlp( ; /** - * + * + * @param idCartaoPostagem * @param senha - * @param numero - * @param diretoria + * @param codAdministrativo + * @param codigoServico + * @param cepDestinatario * @param usuario + * @param coleta * @return - * returns br.com.correios.webservice.postagem.ContratoERP + * returns java.lang.Boolean + * @throws SigepClienteException * @throws AutenticacaoException + */ + @WebMethod + @WebResult(targetNamespace = "") + @RequestWrapper(localName = "validarPostagemReversa", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.ValidarPostagemReversa") + @ResponseWrapper(localName = "validarPostagemReversaResponse", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.ValidarPostagemReversaResponse") + public Boolean validarPostagemReversa( + @WebParam(name = "codAdministrativo", targetNamespace = "") + String codAdministrativo, + @WebParam(name = "codigoServico", targetNamespace = "") + String codigoServico, + @WebParam(name = "cepDestinatario", targetNamespace = "") + String cepDestinatario, + @WebParam(name = "idCartaoPostagem", targetNamespace = "") + String idCartaoPostagem, + @WebParam(name = "coleta", targetNamespace = "") + ColetaReversa coleta, + @WebParam(name = "usuario", targetNamespace = "") + String usuario, + @WebParam(name = "senha", targetNamespace = "") + String senha) + throws AutenticacaoException, SigepClienteException + ; + + /** + * + * @param idCartaoPostagem + * @param senha + * @param usuario + * @param idContrato + * @return + * returns br.com.correios.webservice.postagem.ClienteERP * @throws SigepClienteException + * @throws AutenticacaoException */ @WebMethod @WebResult(targetNamespace = "") - @RequestWrapper(localName = "buscaContrato", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.BuscaContrato") - @ResponseWrapper(localName = "buscaContratoResponse", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.BuscaContratoResponse") - public ContratoERP buscaContrato( - @WebParam(name = "numero", targetNamespace = "") - String numero, - @WebParam(name = "diretoria", targetNamespace = "") - long diretoria, + @RequestWrapper(localName = "buscaCliente", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.BuscaCliente") + @ResponseWrapper(localName = "buscaClienteResponse", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.BuscaClienteResponse") + public ClienteERP buscaCliente( + @WebParam(name = "idContrato", targetNamespace = "") + String idContrato, + @WebParam(name = "idCartaoPostagem", targetNamespace = "") + String idCartaoPostagem, @WebParam(name = "usuario", targetNamespace = "") String usuario, @WebParam(name = "senha", targetNamespace = "") @@ -647,51 +981,59 @@ public ContratoERP buscaContrato( ; /** - * - * @param senhaSro - * @param tipoConsulta - * @param listaObjetos - * @param usuarioSro - * @param tipoResultado + * + * @param senha + * @param etiqueta + * @param dataFim + * @param contrato + * @param usuario + * @param dataInicio * @return * returns java.lang.String * @throws SigepClienteException + * @throws AutenticacaoException + * @throws ErroMontagemRelatorio_Exception */ @WebMethod @WebResult(targetNamespace = "") - @RequestWrapper(localName = "consultaSRO", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.ConsultaSRO") - @ResponseWrapper(localName = "consultaSROResponse", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.ConsultaSROResponse") - public String consultaSRO( - @WebParam(name = "listaObjetos", targetNamespace = "") - List listaObjetos, - @WebParam(name = "tipoConsulta", targetNamespace = "") - String tipoConsulta, - @WebParam(name = "tipoResultado", targetNamespace = "") - String tipoResultado, - @WebParam(name = "usuarioSro", targetNamespace = "") - String usuarioSro, - @WebParam(name = "senhaSro", targetNamespace = "") - String senhaSro) - throws SigepClienteException + @RequestWrapper(localName = "buscaPagamentoEntrega", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.BuscaPagamentoEntrega") + @ResponseWrapper(localName = "buscaPagamentoEntregaResponse", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.BuscaPagamentoEntregaResponse") + public String buscaPagamentoEntrega( + @WebParam(name = "usuario", targetNamespace = "") + String usuario, + @WebParam(name = "senha", targetNamespace = "") + String senha, + @WebParam(name = "contrato", targetNamespace = "") + String contrato, + @WebParam(name = "dataInicio", targetNamespace = "") + String dataInicio, + @WebParam(name = "dataFim", targetNamespace = "") + String dataFim, + @WebParam(name = "etiqueta", targetNamespace = "") + String etiqueta) + throws AutenticacaoException, ErroMontagemRelatorio_Exception, SigepClienteException ; /** - * + * * @param senha - * @param cnpjCliente + * @param codAdministrativo + * @param xml * @param usuario * @return - * returns javax.xml.datatype.XMLGregorianCalendar - * @throws AutenticacaoException + * returns java.lang.String * @throws SigepClienteException + * @throws AutenticacaoException */ @WebMethod @WebResult(targetNamespace = "") - @RequestWrapper(localName = "obterClienteAtualizacao", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.ObterClienteAtualizacao") - @ResponseWrapper(localName = "obterClienteAtualizacaoResponse", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.ObterClienteAtualizacaoResponse") - public XMLGregorianCalendar obterClienteAtualizacao( - @WebParam(name = "cnpjCliente", targetNamespace = "") - String cnpjCliente, + @RequestWrapper(localName = "solicitarPostagemScol", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.SolicitarPostagemScol") + @ResponseWrapper(localName = "solicitarPostagemScolResponse", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.SolicitarPostagemScolResponse") + public String solicitarPostagemScol( + @WebParam(name = "codAdministrativo", targetNamespace = "") + Integer codAdministrativo, + @WebParam(name = "xml", targetNamespace = "") + String xml, @WebParam(name = "usuario", targetNamespace = "") String usuario, @WebParam(name = "senha", targetNamespace = "") @@ -700,22 +1042,25 @@ public XMLGregorianCalendar obterClienteAtualizacao( ; /** - * + * + * @param idCartaoPostagem * @param senha - * @param codAdministrativo * @param usuario + * @param idContrato * @return - * returns java.lang.Boolean - * @throws AutenticacaoException + * returns java.util.List * @throws SigepClienteException + * @throws AutenticacaoException */ @WebMethod @WebResult(targetNamespace = "") - @RequestWrapper(localName = "integrarUsuarioScol", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.IntegrarUsuarioScol") - @ResponseWrapper(localName = "integrarUsuarioScolResponse", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.IntegrarUsuarioScolResponse") - public Boolean integrarUsuarioScol( - @WebParam(name = "codAdministrativo", targetNamespace = "") - Integer codAdministrativo, + @RequestWrapper(localName = "buscaServicos", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.BuscaServicos") + @ResponseWrapper(localName = "buscaServicosResponse", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.BuscaServicosResponse") + public List buscaServicos( + @WebParam(name = "idContrato", targetNamespace = "") + String idContrato, + @WebParam(name = "idCartaoPostagem", targetNamespace = "") + String idCartaoPostagem, @WebParam(name = "usuario", targetNamespace = "") String usuario, @WebParam(name = "senha", targetNamespace = "") @@ -724,21 +1069,43 @@ public Boolean integrarUsuarioScol( ; /** - * - * @param cep + * + * @param id * @return - * returns br.com.correios.webservice.postagem.EnderecoERP + * returns br.com.correios.webservice.postagem.MensagemParametrizadaTO + */ + @WebMethod + @WebResult(targetNamespace = "") + @RequestWrapper(localName = "obterMensagemParametrizada", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.ObterMensagemParametrizada") + @ResponseWrapper(localName = "obterMensagemParametrizadaResponse", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.ObterMensagemParametrizadaResponse") + public MensagemParametrizadaTO obterMensagemParametrizada( + @WebParam(name = "id", targetNamespace = "") + Short id); + + /** + * + * @param senha + * @param listaObjetos + * @param usuario + * @param tipoResultado + * @return + * returns java.lang.String * @throws SigepClienteException - * @throws SQLException_Exception */ @WebMethod @WebResult(targetNamespace = "") - @RequestWrapper(localName = "consultaCEP", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.ConsultaCEP") - @ResponseWrapper(localName = "consultaCEPResponse", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.ConsultaCEPResponse") - public EnderecoERP consultaCEP( - @WebParam(name = "cep", targetNamespace = "") - String cep) - throws SQLException_Exception, SigepClienteException + @RequestWrapper(localName = "buscaOpcoes", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.BuscaOpcoes") + @ResponseWrapper(localName = "buscaOpcoesResponse", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", className = "br.com.correios.webservice.postagem.BuscaOpcoesResponse") + public String buscaOpcoes( + @WebParam(name = "listaObjetos", targetNamespace = "") + List listaObjetos, + @WebParam(name = "tipoResultado", targetNamespace = "") + String tipoResultado, + @WebParam(name = "usuario", targetNamespace = "") + String usuario, + @WebParam(name = "senha", targetNamespace = "") + String senha) + throws SigepClienteException ; } diff --git a/src/main/java/br/com/correios/webservice/postagem/AtendeClienteService.java b/src/main/java/br/com/correios/webservice/postagem/AtendeClienteService.java index fb6e522..a0228ad 100644 --- a/src/main/java/br/com/correios/webservice/postagem/AtendeClienteService.java +++ b/src/main/java/br/com/correios/webservice/postagem/AtendeClienteService.java @@ -17,7 +17,7 @@ * Generated source version: 2.2 * */ -@WebServiceClient(name = "AtendeClienteService", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", wsdlLocation = "https://apps.correios.com.br/SigepMasterJPA/AtendeClienteService/AtendeCliente?wsdl") +@WebServiceClient(name = "AtendeClienteService", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", wsdlLocation = "file:/home/developer/dev/correios-java-sdk/src/main/resources/wsdl/AtendeCliente.wsdl") public class AtendeClienteService extends Service { @@ -30,7 +30,7 @@ public class AtendeClienteService URL url = null; WebServiceException e = null; try { - url = new URL("https://apps.correios.com.br/SigepMasterJPA/AtendeClienteService/AtendeCliente?wsdl"); + url = new URL("file:/home/developer/dev/correios-java-sdk/src/main/resources/wsdl/AtendeCliente.wsdl"); } catch (MalformedURLException ex) { e = new WebServiceException(ex); } diff --git a/src/main/java/br/com/correios/webservice/postagem/Cliente.java b/src/main/java/br/com/correios/webservice/postagem/AtualizaPagamentoNaEntrega.java similarity index 51% rename from src/main/java/br/com/correios/webservice/postagem/Cliente.java rename to src/main/java/br/com/correios/webservice/postagem/AtualizaPagamentoNaEntrega.java index b49259d..46f0ab3 100644 --- a/src/main/java/br/com/correios/webservice/postagem/Cliente.java +++ b/src/main/java/br/com/correios/webservice/postagem/AtualizaPagamentoNaEntrega.java @@ -7,17 +7,17 @@ /** - *

Java class for cliente complex type. + *

Java class for atualizaPagamentoNaEntrega complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

- * <complexType name="cliente">
+ * <complexType name="atualizaPagamentoNaEntrega">
  *   <complexContent>
  *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  *       <sequence>
- *         <element name="numeroContrato" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- *         <element name="possuiContrato" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="usuario" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="senha" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
  *       </sequence>
  *     </restriction>
  *   </complexContent>
@@ -27,61 +27,61 @@
  * 
  */
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "cliente", propOrder = {
-    "numeroContrato",
-    "possuiContrato"
+@XmlType(name = "atualizaPagamentoNaEntrega", propOrder = {
+    "usuario",
+    "senha"
 })
-public class Cliente {
+public class AtualizaPagamentoNaEntrega {
 
-    protected String numeroContrato;
-    protected String possuiContrato;
+    protected String usuario;
+    protected String senha;
 
     /**
-     * Gets the value of the numeroContrato property.
+     * Gets the value of the usuario property.
      * 
      * @return
      *     possible object is
      *     {@link String }
      *     
      */
-    public String getNumeroContrato() {
-        return numeroContrato;
+    public String getUsuario() {
+        return usuario;
     }
 
     /**
-     * Sets the value of the numeroContrato property.
+     * Sets the value of the usuario property.
      * 
      * @param value
      *     allowed object is
      *     {@link String }
      *     
      */
-    public void setNumeroContrato(String value) {
-        this.numeroContrato = value;
+    public void setUsuario(String value) {
+        this.usuario = value;
     }
 
     /**
-     * Gets the value of the possuiContrato property.
+     * Gets the value of the senha property.
      * 
      * @return
      *     possible object is
      *     {@link String }
      *     
      */
-    public String getPossuiContrato() {
-        return possuiContrato;
+    public String getSenha() {
+        return senha;
     }
 
     /**
-     * Sets the value of the possuiContrato property.
+     * Sets the value of the senha property.
      * 
      * @param value
      *     allowed object is
      *     {@link String }
      *     
      */
-    public void setPossuiContrato(String value) {
-        this.possuiContrato = value;
+    public void setSenha(String value) {
+        this.senha = value;
     }
 
 }
diff --git a/src/main/java/br/com/correios/webservice/postagem/AtualizaPagamentoNaEntregaResponse.java b/src/main/java/br/com/correios/webservice/postagem/AtualizaPagamentoNaEntregaResponse.java
new file mode 100644
index 0000000..6837dc6
--- /dev/null
+++ b/src/main/java/br/com/correios/webservice/postagem/AtualizaPagamentoNaEntregaResponse.java
@@ -0,0 +1,62 @@
+
+package br.com.correios.webservice.postagem;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * 

Java class for atualizaPagamentoNaEntregaResponse complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="atualizaPagamentoNaEntregaResponse">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="return" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "atualizaPagamentoNaEntregaResponse", propOrder = { + "_return" +}) +public class AtualizaPagamentoNaEntregaResponse { + + @XmlElement(name = "return") + protected String _return; + + /** + * Gets the value of the return property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getReturn() { + return _return; + } + + /** + * Sets the value of the return property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setReturn(String value) { + this._return = value; + } + +} diff --git a/src/main/java/br/com/correios/webservice/postagem/AtualizaRemessaAgrupada.java b/src/main/java/br/com/correios/webservice/postagem/AtualizaRemessaAgrupada.java new file mode 100644 index 0000000..cc509b0 --- /dev/null +++ b/src/main/java/br/com/correios/webservice/postagem/AtualizaRemessaAgrupada.java @@ -0,0 +1,87 @@ + +package br.com.correios.webservice.postagem; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for atualizaRemessaAgrupada complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="atualizaRemessaAgrupada">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="usuario" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="senha" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "atualizaRemessaAgrupada", propOrder = { + "usuario", + "senha" +}) +public class AtualizaRemessaAgrupada { + + protected String usuario; + protected String senha; + + /** + * Gets the value of the usuario property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getUsuario() { + return usuario; + } + + /** + * Sets the value of the usuario property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setUsuario(String value) { + this.usuario = value; + } + + /** + * Gets the value of the senha property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSenha() { + return senha; + } + + /** + * Sets the value of the senha property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSenha(String value) { + this.senha = value; + } + +} diff --git a/src/main/java/br/com/correios/webservice/postagem/AtualizaRemessaAgrupadaResponse.java b/src/main/java/br/com/correios/webservice/postagem/AtualizaRemessaAgrupadaResponse.java new file mode 100644 index 0000000..36759bf --- /dev/null +++ b/src/main/java/br/com/correios/webservice/postagem/AtualizaRemessaAgrupadaResponse.java @@ -0,0 +1,62 @@ + +package br.com.correios.webservice.postagem; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for atualizaRemessaAgrupadaResponse complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="atualizaRemessaAgrupadaResponse">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="return" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "atualizaRemessaAgrupadaResponse", propOrder = { + "_return" +}) +public class AtualizaRemessaAgrupadaResponse { + + @XmlElement(name = "return") + protected String _return; + + /** + * Gets the value of the return property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getReturn() { + return _return; + } + + /** + * Sets the value of the return property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setReturn(String value) { + this._return = value; + } + +} diff --git a/src/main/java/br/com/correios/webservice/postagem/AutenticacaoException.java b/src/main/java/br/com/correios/webservice/postagem/AutenticacaoException.java index 3d4fecf..322ea5c 100644 --- a/src/main/java/br/com/correios/webservice/postagem/AutenticacaoException.java +++ b/src/main/java/br/com/correios/webservice/postagem/AutenticacaoException.java @@ -8,23 +8,21 @@ * This class was generated by the JAX-WS RI. * JAX-WS RI 2.2.9-b130926.1035 * Generated source version: 2.2 - * + * */ @WebFault(name = "AutenticacaoException", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/") public class AutenticacaoException extends java.lang.Exception { - private static final long serialVersionUID = 3326572261225626410L; - - /** + /** * Java type that goes as soapenv:Fault detail element. - * + * */ private String faultInfo; /** - * + * * @param faultInfo * @param message */ @@ -34,7 +32,7 @@ public AutenticacaoException(String message, String faultInfo) { } /** - * + * * @param faultInfo * @param cause * @param message @@ -45,7 +43,7 @@ public AutenticacaoException(String message, String faultInfo, Throwable cause) } /** - * + * * @return * returns fault bean: java.lang.String */ diff --git a/src/main/java/br/com/correios/webservice/postagem/ObterMotivosPI.java b/src/main/java/br/com/correios/webservice/postagem/BuscaDataAtual.java similarity index 79% rename from src/main/java/br/com/correios/webservice/postagem/ObterMotivosPI.java rename to src/main/java/br/com/correios/webservice/postagem/BuscaDataAtual.java index f62eb58..d6fa339 100644 --- a/src/main/java/br/com/correios/webservice/postagem/ObterMotivosPI.java +++ b/src/main/java/br/com/correios/webservice/postagem/BuscaDataAtual.java @@ -7,12 +7,12 @@ /** - *

Java class for obterMotivosPI complex type. + *

Java class for buscaDataAtual complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

- * <complexType name="obterMotivosPI">
+ * <complexType name="buscaDataAtual">
  *   <complexContent>
  *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  *       <sequence>
@@ -25,8 +25,8 @@
  * 
  */
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "obterMotivosPI")
-public class ObterMotivosPI {
+@XmlType(name = "buscaDataAtual")
+public class BuscaDataAtual {
 
 
 }
diff --git a/src/main/java/br/com/correios/webservice/postagem/BuscaDataAtualResponse.java b/src/main/java/br/com/correios/webservice/postagem/BuscaDataAtualResponse.java
new file mode 100644
index 0000000..f473d2f
--- /dev/null
+++ b/src/main/java/br/com/correios/webservice/postagem/BuscaDataAtualResponse.java
@@ -0,0 +1,65 @@
+
+package br.com.correios.webservice.postagem;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.datatype.XMLGregorianCalendar;
+
+
+/**
+ * 

Java class for buscaDataAtualResponse complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="buscaDataAtualResponse">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="return" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "buscaDataAtualResponse", propOrder = { + "_return" +}) +public class BuscaDataAtualResponse { + + @XmlElement(name = "return") + @XmlSchemaType(name = "dateTime") + protected XMLGregorianCalendar _return; + + /** + * Gets the value of the return property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getReturn() { + return _return; + } + + /** + * Sets the value of the return property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setReturn(XMLGregorianCalendar value) { + this._return = value; + } + +} diff --git a/src/main/java/br/com/correios/webservice/postagem/ConsultaSRO.java b/src/main/java/br/com/correios/webservice/postagem/BuscaOpcoes.java similarity index 63% rename from src/main/java/br/com/correios/webservice/postagem/ConsultaSRO.java rename to src/main/java/br/com/correios/webservice/postagem/BuscaOpcoes.java index 6a10b1b..8441ebc 100644 --- a/src/main/java/br/com/correios/webservice/postagem/ConsultaSRO.java +++ b/src/main/java/br/com/correios/webservice/postagem/BuscaOpcoes.java @@ -9,20 +9,19 @@ /** - *

Java class for consultaSRO complex type. + *

Java class for buscaOpcoes complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

- * <complexType name="consultaSRO">
+ * <complexType name="buscaOpcoes">
  *   <complexContent>
  *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  *       <sequence>
  *         <element name="listaObjetos" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="tipoConsulta" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
  *         <element name="tipoResultado" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- *         <element name="usuarioSro" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- *         <element name="senhaSro" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="usuario" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="senha" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
  *       </sequence>
  *     </restriction>
  *   </complexContent>
@@ -32,20 +31,18 @@
  * 
  */
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "consultaSRO", propOrder = {
+@XmlType(name = "buscaOpcoes", propOrder = {
     "listaObjetos",
-    "tipoConsulta",
     "tipoResultado",
-    "usuarioSro",
-    "senhaSro"
+    "usuario",
+    "senha"
 })
-public class ConsultaSRO {
+public class BuscaOpcoes {
 
     protected List listaObjetos;
-    protected String tipoConsulta;
     protected String tipoResultado;
-    protected String usuarioSro;
-    protected String senhaSro;
+    protected String usuario;
+    protected String senha;
 
     /**
      * Gets the value of the listaObjetos property.
@@ -76,30 +73,6 @@ public List getListaObjetos() {
         return this.listaObjetos;
     }
 
-    /**
-     * Gets the value of the tipoConsulta property.
-     * 
-     * @return
-     *     possible object is
-     *     {@link String }
-     *     
-     */
-    public String getTipoConsulta() {
-        return tipoConsulta;
-    }
-
-    /**
-     * Sets the value of the tipoConsulta property.
-     * 
-     * @param value
-     *     allowed object is
-     *     {@link String }
-     *     
-     */
-    public void setTipoConsulta(String value) {
-        this.tipoConsulta = value;
-    }
-
     /**
      * Gets the value of the tipoResultado property.
      * 
@@ -125,51 +98,51 @@ public void setTipoResultado(String value) {
     }
 
     /**
-     * Gets the value of the usuarioSro property.
+     * Gets the value of the usuario property.
      * 
      * @return
      *     possible object is
      *     {@link String }
      *     
      */
-    public String getUsuarioSro() {
-        return usuarioSro;
+    public String getUsuario() {
+        return usuario;
     }
 
     /**
-     * Sets the value of the usuarioSro property.
+     * Sets the value of the usuario property.
      * 
      * @param value
      *     allowed object is
      *     {@link String }
      *     
      */
-    public void setUsuarioSro(String value) {
-        this.usuarioSro = value;
+    public void setUsuario(String value) {
+        this.usuario = value;
     }
 
     /**
-     * Gets the value of the senhaSro property.
+     * Gets the value of the senha property.
      * 
      * @return
      *     possible object is
      *     {@link String }
      *     
      */
-    public String getSenhaSro() {
-        return senhaSro;
+    public String getSenha() {
+        return senha;
     }
 
     /**
-     * Sets the value of the senhaSro property.
+     * Sets the value of the senha property.
      * 
      * @param value
      *     allowed object is
      *     {@link String }
      *     
      */
-    public void setSenhaSro(String value) {
-        this.senhaSro = value;
+    public void setSenha(String value) {
+        this.senha = value;
     }
 
 }
diff --git a/src/main/java/br/com/correios/webservice/postagem/ConsultaSROResponse.java b/src/main/java/br/com/correios/webservice/postagem/BuscaOpcoesResponse.java
similarity index 86%
rename from src/main/java/br/com/correios/webservice/postagem/ConsultaSROResponse.java
rename to src/main/java/br/com/correios/webservice/postagem/BuscaOpcoesResponse.java
index 8161136..3bab8d2 100644
--- a/src/main/java/br/com/correios/webservice/postagem/ConsultaSROResponse.java
+++ b/src/main/java/br/com/correios/webservice/postagem/BuscaOpcoesResponse.java
@@ -8,12 +8,12 @@
 
 
 /**
- * 

Java class for consultaSROResponse complex type. + *

Java class for buscaOpcoesResponse complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

- * <complexType name="consultaSROResponse">
+ * <complexType name="buscaOpcoesResponse">
  *   <complexContent>
  *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  *       <sequence>
@@ -27,10 +27,10 @@
  * 
  */
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "consultaSROResponse", propOrder = {
+@XmlType(name = "buscaOpcoesResponse", propOrder = {
     "_return"
 })
-public class ConsultaSROResponse {
+public class BuscaOpcoesResponse {
 
     @XmlElement(name = "return")
     protected String _return;
diff --git a/src/main/java/br/com/correios/webservice/postagem/BuscaPagamentoEntrega.java b/src/main/java/br/com/correios/webservice/postagem/BuscaPagamentoEntrega.java
index 9f661db..da08324 100644
--- a/src/main/java/br/com/correios/webservice/postagem/BuscaPagamentoEntrega.java
+++ b/src/main/java/br/com/correios/webservice/postagem/BuscaPagamentoEntrega.java
@@ -18,6 +18,10 @@
  *       <sequence>
  *         <element name="usuario" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
  *         <element name="senha" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="contrato" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="dataInicio" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="dataFim" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="etiqueta" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
  *       </sequence>
  *     </restriction>
  *   </complexContent>
@@ -29,12 +33,20 @@
 @XmlAccessorType(XmlAccessType.FIELD)
 @XmlType(name = "buscaPagamentoEntrega", propOrder = {
     "usuario",
-    "senha"
+    "senha",
+    "contrato",
+    "dataInicio",
+    "dataFim",
+    "etiqueta"
 })
 public class BuscaPagamentoEntrega {
 
     protected String usuario;
     protected String senha;
+    protected String contrato;
+    protected String dataInicio;
+    protected String dataFim;
+    protected String etiqueta;
 
     /**
      * Gets the value of the usuario property.
@@ -84,4 +96,100 @@ public void setSenha(String value) {
         this.senha = value;
     }
 
+    /**
+     * Gets the value of the contrato property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getContrato() {
+        return contrato;
+    }
+
+    /**
+     * Sets the value of the contrato property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setContrato(String value) {
+        this.contrato = value;
+    }
+
+    /**
+     * Gets the value of the dataInicio property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getDataInicio() {
+        return dataInicio;
+    }
+
+    /**
+     * Sets the value of the dataInicio property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setDataInicio(String value) {
+        this.dataInicio = value;
+    }
+
+    /**
+     * Gets the value of the dataFim property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getDataFim() {
+        return dataFim;
+    }
+
+    /**
+     * Sets the value of the dataFim property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setDataFim(String value) {
+        this.dataFim = value;
+    }
+
+    /**
+     * Gets the value of the etiqueta property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getEtiqueta() {
+        return etiqueta;
+    }
+
+    /**
+     * Sets the value of the etiqueta property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setEtiqueta(String value) {
+        this.etiqueta = value;
+    }
+
 }
diff --git a/src/main/java/br/com/correios/webservice/postagem/BuscaServicosAdicionaisAtivos.java b/src/main/java/br/com/correios/webservice/postagem/BuscaServicosAdicionaisAtivos.java
new file mode 100644
index 0000000..65de5a6
--- /dev/null
+++ b/src/main/java/br/com/correios/webservice/postagem/BuscaServicosAdicionaisAtivos.java
@@ -0,0 +1,87 @@
+
+package br.com.correios.webservice.postagem;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * 

Java class for buscaServicosAdicionaisAtivos complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="buscaServicosAdicionaisAtivos">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="usuario" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="senha" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "buscaServicosAdicionaisAtivos", propOrder = { + "usuario", + "senha" +}) +public class BuscaServicosAdicionaisAtivos { + + protected String usuario; + protected String senha; + + /** + * Gets the value of the usuario property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getUsuario() { + return usuario; + } + + /** + * Sets the value of the usuario property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setUsuario(String value) { + this.usuario = value; + } + + /** + * Gets the value of the senha property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSenha() { + return senha; + } + + /** + * Sets the value of the senha property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSenha(String value) { + this.senha = value; + } + +} diff --git a/src/main/java/br/com/correios/webservice/postagem/RegistrarPedidosInformacaoResponse.java b/src/main/java/br/com/correios/webservice/postagem/BuscaServicosAdicionaisAtivosResponse.java similarity index 72% rename from src/main/java/br/com/correios/webservice/postagem/RegistrarPedidosInformacaoResponse.java rename to src/main/java/br/com/correios/webservice/postagem/BuscaServicosAdicionaisAtivosResponse.java index 9f129e0..c6dae9b 100644 --- a/src/main/java/br/com/correios/webservice/postagem/RegistrarPedidosInformacaoResponse.java +++ b/src/main/java/br/com/correios/webservice/postagem/BuscaServicosAdicionaisAtivosResponse.java @@ -10,16 +10,16 @@ /** - *

Java class for registrarPedidosInformacaoResponse complex type. + *

Java class for buscaServicosAdicionaisAtivosResponse complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

- * <complexType name="registrarPedidosInformacaoResponse">
+ * <complexType name="buscaServicosAdicionaisAtivosResponse">
  *   <complexContent>
  *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  *       <sequence>
- *         <element name="return" type="{http://cliente.bean.master.sigep.bsb.correios.com.br/}retorno" maxOccurs="unbounded" minOccurs="0"/>
+ *         <element name="return" type="{http://cliente.bean.master.sigep.bsb.correios.com.br/}servicoAdicionalXML" maxOccurs="unbounded" minOccurs="0"/>
  *       </sequence>
  *     </restriction>
  *   </complexContent>
@@ -29,13 +29,13 @@
  * 
  */
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "registrarPedidosInformacaoResponse", propOrder = {
+@XmlType(name = "buscaServicosAdicionaisAtivosResponse", propOrder = {
     "_return"
 })
-public class RegistrarPedidosInformacaoResponse {
+public class BuscaServicosAdicionaisAtivosResponse {
 
     @XmlElement(name = "return")
-    protected List _return;
+    protected List _return;
 
     /**
      * Gets the value of the return property.
@@ -55,13 +55,13 @@ public class RegistrarPedidosInformacaoResponse {
      * 
      * 

* Objects of the following type(s) are allowed in the list - * {@link Retorno } + * {@link ServicoAdicionalXML } * * */ - public List getReturn() { + public List getReturn() { if (_return == null) { - _return = new ArrayList(); + _return = new ArrayList(); } return this._return; } diff --git a/src/main/java/br/com/correios/webservice/postagem/BuscaServicosValorDeclarado.java b/src/main/java/br/com/correios/webservice/postagem/BuscaServicosValorDeclarado.java new file mode 100644 index 0000000..5604c79 --- /dev/null +++ b/src/main/java/br/com/correios/webservice/postagem/BuscaServicosValorDeclarado.java @@ -0,0 +1,87 @@ + +package br.com.correios.webservice.postagem; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for buscaServicosValorDeclarado complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="buscaServicosValorDeclarado">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="usuario" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="senha" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "buscaServicosValorDeclarado", propOrder = { + "usuario", + "senha" +}) +public class BuscaServicosValorDeclarado { + + protected String usuario; + protected String senha; + + /** + * Gets the value of the usuario property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getUsuario() { + return usuario; + } + + /** + * Sets the value of the usuario property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setUsuario(String value) { + this.usuario = value; + } + + /** + * Gets the value of the senha property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSenha() { + return senha; + } + + /** + * Sets the value of the senha property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSenha(String value) { + this.senha = value; + } + +} diff --git a/src/main/java/br/com/correios/webservice/postagem/BuscaServicosValorDeclaradoResponse.java b/src/main/java/br/com/correios/webservice/postagem/BuscaServicosValorDeclaradoResponse.java new file mode 100644 index 0000000..4074838 --- /dev/null +++ b/src/main/java/br/com/correios/webservice/postagem/BuscaServicosValorDeclaradoResponse.java @@ -0,0 +1,69 @@ + +package br.com.correios.webservice.postagem; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for buscaServicosValorDeclaradoResponse complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="buscaServicosValorDeclaradoResponse">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="return" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "buscaServicosValorDeclaradoResponse", propOrder = { + "_return" +}) +public class BuscaServicosValorDeclaradoResponse { + + @XmlElement(name = "return") + protected List _return; + + /** + * Gets the value of the return property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the return property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getReturn().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List getReturn() { + if (_return == null) { + _return = new ArrayList(); + } + return this._return; + } + +} diff --git a/src/main/java/br/com/correios/webservice/postagem/BuscaServicosXServicosAdicionais.java b/src/main/java/br/com/correios/webservice/postagem/BuscaServicosXServicosAdicionais.java new file mode 100644 index 0000000..78aad54 --- /dev/null +++ b/src/main/java/br/com/correios/webservice/postagem/BuscaServicosXServicosAdicionais.java @@ -0,0 +1,87 @@ + +package br.com.correios.webservice.postagem; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for buscaServicosXServicosAdicionais complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="buscaServicosXServicosAdicionais">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="usuario" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="senha" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "buscaServicosXServicosAdicionais", propOrder = { + "usuario", + "senha" +}) +public class BuscaServicosXServicosAdicionais { + + protected String usuario; + protected String senha; + + /** + * Gets the value of the usuario property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getUsuario() { + return usuario; + } + + /** + * Sets the value of the usuario property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setUsuario(String value) { + this.usuario = value; + } + + /** + * Gets the value of the senha property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSenha() { + return senha; + } + + /** + * Sets the value of the senha property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSenha(String value) { + this.senha = value; + } + +} diff --git a/src/main/java/br/com/correios/webservice/postagem/BuscaServicosXServicosAdicionaisResponse.java b/src/main/java/br/com/correios/webservice/postagem/BuscaServicosXServicosAdicionaisResponse.java new file mode 100644 index 0000000..825aaa9 --- /dev/null +++ b/src/main/java/br/com/correios/webservice/postagem/BuscaServicosXServicosAdicionaisResponse.java @@ -0,0 +1,69 @@ + +package br.com.correios.webservice.postagem; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for buscaServicosXServicosAdicionaisResponse complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="buscaServicosXServicosAdicionaisResponse">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="return" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "buscaServicosXServicosAdicionaisResponse", propOrder = { + "_return" +}) +public class BuscaServicosXServicosAdicionaisResponse { + + @XmlElement(name = "return") + protected List _return; + + /** + * Gets the value of the return property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the return property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getReturn().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List getReturn() { + if (_return == null) { + _return = new ArrayList(); + } + return this._return; + } + +} diff --git a/src/main/java/br/com/correios/webservice/postagem/BuscaTarifaVale.java b/src/main/java/br/com/correios/webservice/postagem/BuscaTarifaVale.java new file mode 100644 index 0000000..de593b9 --- /dev/null +++ b/src/main/java/br/com/correios/webservice/postagem/BuscaTarifaVale.java @@ -0,0 +1,384 @@ + +package br.com.correios.webservice.postagem; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for buscaTarifaVale complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="buscaTarifaVale">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="codAdministrativo" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="usuario" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="senha" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="codServico" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="cepOrigem" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="cepDestino" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="peso" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="codFormato" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
+ *         <element name="comprimento" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
+ *         <element name="altura" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
+ *         <element name="largura" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
+ *         <element name="valorDeclarado" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
+ *         <element name="servicoAdicional" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "buscaTarifaVale", propOrder = { + "codAdministrativo", + "usuario", + "senha", + "codServico", + "cepOrigem", + "cepDestino", + "peso", + "codFormato", + "comprimento", + "altura", + "largura", + "valorDeclarado", + "servicoAdicional" +}) +public class BuscaTarifaVale { + + protected String codAdministrativo; + protected String usuario; + protected String senha; + protected String codServico; + protected String cepOrigem; + protected String cepDestino; + protected String peso; + protected Integer codFormato; + protected Double comprimento; + protected Double altura; + protected Double largura; + protected Double valorDeclarado; + protected String servicoAdicional; + + /** + * Gets the value of the codAdministrativo property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCodAdministrativo() { + return codAdministrativo; + } + + /** + * Sets the value of the codAdministrativo property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCodAdministrativo(String value) { + this.codAdministrativo = value; + } + + /** + * Gets the value of the usuario property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getUsuario() { + return usuario; + } + + /** + * Sets the value of the usuario property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setUsuario(String value) { + this.usuario = value; + } + + /** + * Gets the value of the senha property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSenha() { + return senha; + } + + /** + * Sets the value of the senha property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSenha(String value) { + this.senha = value; + } + + /** + * Gets the value of the codServico property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCodServico() { + return codServico; + } + + /** + * Sets the value of the codServico property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCodServico(String value) { + this.codServico = value; + } + + /** + * Gets the value of the cepOrigem property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCepOrigem() { + return cepOrigem; + } + + /** + * Sets the value of the cepOrigem property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCepOrigem(String value) { + this.cepOrigem = value; + } + + /** + * Gets the value of the cepDestino property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCepDestino() { + return cepDestino; + } + + /** + * Sets the value of the cepDestino property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCepDestino(String value) { + this.cepDestino = value; + } + + /** + * Gets the value of the peso property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPeso() { + return peso; + } + + /** + * Sets the value of the peso property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPeso(String value) { + this.peso = value; + } + + /** + * Gets the value of the codFormato property. + * + * @return + * possible object is + * {@link Integer } + * + */ + public Integer getCodFormato() { + return codFormato; + } + + /** + * Sets the value of the codFormato property. + * + * @param value + * allowed object is + * {@link Integer } + * + */ + public void setCodFormato(Integer value) { + this.codFormato = value; + } + + /** + * Gets the value of the comprimento property. + * + * @return + * possible object is + * {@link Double } + * + */ + public Double getComprimento() { + return comprimento; + } + + /** + * Sets the value of the comprimento property. + * + * @param value + * allowed object is + * {@link Double } + * + */ + public void setComprimento(Double value) { + this.comprimento = value; + } + + /** + * Gets the value of the altura property. + * + * @return + * possible object is + * {@link Double } + * + */ + public Double getAltura() { + return altura; + } + + /** + * Sets the value of the altura property. + * + * @param value + * allowed object is + * {@link Double } + * + */ + public void setAltura(Double value) { + this.altura = value; + } + + /** + * Gets the value of the largura property. + * + * @return + * possible object is + * {@link Double } + * + */ + public Double getLargura() { + return largura; + } + + /** + * Sets the value of the largura property. + * + * @param value + * allowed object is + * {@link Double } + * + */ + public void setLargura(Double value) { + this.largura = value; + } + + /** + * Gets the value of the valorDeclarado property. + * + * @return + * possible object is + * {@link Double } + * + */ + public Double getValorDeclarado() { + return valorDeclarado; + } + + /** + * Sets the value of the valorDeclarado property. + * + * @param value + * allowed object is + * {@link Double } + * + */ + public void setValorDeclarado(Double value) { + this.valorDeclarado = value; + } + + /** + * Gets the value of the servicoAdicional property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getServicoAdicional() { + return servicoAdicional; + } + + /** + * Sets the value of the servicoAdicional property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setServicoAdicional(String value) { + this.servicoAdicional = value; + } + +} diff --git a/src/main/java/br/com/correios/webservice/postagem/BuscaTarifaValeResponse.java b/src/main/java/br/com/correios/webservice/postagem/BuscaTarifaValeResponse.java new file mode 100644 index 0000000..28659e5 --- /dev/null +++ b/src/main/java/br/com/correios/webservice/postagem/BuscaTarifaValeResponse.java @@ -0,0 +1,62 @@ + +package br.com.correios.webservice.postagem; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for buscaTarifaValeResponse complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="buscaTarifaValeResponse">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="return" type="{http://cliente.bean.master.sigep.bsb.correios.com.br/}valePostal" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "buscaTarifaValeResponse", propOrder = { + "_return" +}) +public class BuscaTarifaValeResponse { + + @XmlElement(name = "return") + protected ValePostal _return; + + /** + * Gets the value of the return property. + * + * @return + * possible object is + * {@link ValePostal } + * + */ + public ValePostal getReturn() { + return _return; + } + + /** + * Sets the value of the return property. + * + * @param value + * allowed object is + * {@link ValePostal } + * + */ + public void setReturn(ValePostal value) { + this._return = value; + } + +} diff --git a/src/main/java/br/com/correios/webservice/postagem/CalculaTarifaServico.java b/src/main/java/br/com/correios/webservice/postagem/CalculaTarifaServico.java new file mode 100644 index 0000000..ba3c85d --- /dev/null +++ b/src/main/java/br/com/correios/webservice/postagem/CalculaTarifaServico.java @@ -0,0 +1,438 @@ + +package br.com.correios.webservice.postagem; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for calculaTarifaServico complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="calculaTarifaServico">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="codAdministrativo" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="usuario" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="senha" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="codServico" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="cepOrigem" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="cepDestino" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="peso" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="codFormato" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
+ *         <element name="comprimento" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
+ *         <element name="altura" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
+ *         <element name="largura" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
+ *         <element name="diametro" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
+ *         <element name="codMaoPropria" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="valorDeclarado" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
+ *         <element name="codAvisoRecebimento" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "calculaTarifaServico", propOrder = { + "codAdministrativo", + "usuario", + "senha", + "codServico", + "cepOrigem", + "cepDestino", + "peso", + "codFormato", + "comprimento", + "altura", + "largura", + "diametro", + "codMaoPropria", + "valorDeclarado", + "codAvisoRecebimento" +}) +public class CalculaTarifaServico { + + protected String codAdministrativo; + protected String usuario; + protected String senha; + protected String codServico; + protected String cepOrigem; + protected String cepDestino; + protected String peso; + protected Integer codFormato; + protected Double comprimento; + protected Double altura; + protected Double largura; + protected Double diametro; + protected String codMaoPropria; + protected Double valorDeclarado; + protected String codAvisoRecebimento; + + /** + * Gets the value of the codAdministrativo property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCodAdministrativo() { + return codAdministrativo; + } + + /** + * Sets the value of the codAdministrativo property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCodAdministrativo(String value) { + this.codAdministrativo = value; + } + + /** + * Gets the value of the usuario property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getUsuario() { + return usuario; + } + + /** + * Sets the value of the usuario property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setUsuario(String value) { + this.usuario = value; + } + + /** + * Gets the value of the senha property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSenha() { + return senha; + } + + /** + * Sets the value of the senha property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSenha(String value) { + this.senha = value; + } + + /** + * Gets the value of the codServico property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCodServico() { + return codServico; + } + + /** + * Sets the value of the codServico property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCodServico(String value) { + this.codServico = value; + } + + /** + * Gets the value of the cepOrigem property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCepOrigem() { + return cepOrigem; + } + + /** + * Sets the value of the cepOrigem property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCepOrigem(String value) { + this.cepOrigem = value; + } + + /** + * Gets the value of the cepDestino property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCepDestino() { + return cepDestino; + } + + /** + * Sets the value of the cepDestino property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCepDestino(String value) { + this.cepDestino = value; + } + + /** + * Gets the value of the peso property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPeso() { + return peso; + } + + /** + * Sets the value of the peso property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPeso(String value) { + this.peso = value; + } + + /** + * Gets the value of the codFormato property. + * + * @return + * possible object is + * {@link Integer } + * + */ + public Integer getCodFormato() { + return codFormato; + } + + /** + * Sets the value of the codFormato property. + * + * @param value + * allowed object is + * {@link Integer } + * + */ + public void setCodFormato(Integer value) { + this.codFormato = value; + } + + /** + * Gets the value of the comprimento property. + * + * @return + * possible object is + * {@link Double } + * + */ + public Double getComprimento() { + return comprimento; + } + + /** + * Sets the value of the comprimento property. + * + * @param value + * allowed object is + * {@link Double } + * + */ + public void setComprimento(Double value) { + this.comprimento = value; + } + + /** + * Gets the value of the altura property. + * + * @return + * possible object is + * {@link Double } + * + */ + public Double getAltura() { + return altura; + } + + /** + * Sets the value of the altura property. + * + * @param value + * allowed object is + * {@link Double } + * + */ + public void setAltura(Double value) { + this.altura = value; + } + + /** + * Gets the value of the largura property. + * + * @return + * possible object is + * {@link Double } + * + */ + public Double getLargura() { + return largura; + } + + /** + * Sets the value of the largura property. + * + * @param value + * allowed object is + * {@link Double } + * + */ + public void setLargura(Double value) { + this.largura = value; + } + + /** + * Gets the value of the diametro property. + * + * @return + * possible object is + * {@link Double } + * + */ + public Double getDiametro() { + return diametro; + } + + /** + * Sets the value of the diametro property. + * + * @param value + * allowed object is + * {@link Double } + * + */ + public void setDiametro(Double value) { + this.diametro = value; + } + + /** + * Gets the value of the codMaoPropria property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCodMaoPropria() { + return codMaoPropria; + } + + /** + * Sets the value of the codMaoPropria property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCodMaoPropria(String value) { + this.codMaoPropria = value; + } + + /** + * Gets the value of the valorDeclarado property. + * + * @return + * possible object is + * {@link Double } + * + */ + public Double getValorDeclarado() { + return valorDeclarado; + } + + /** + * Sets the value of the valorDeclarado property. + * + * @param value + * allowed object is + * {@link Double } + * + */ + public void setValorDeclarado(Double value) { + this.valorDeclarado = value; + } + + /** + * Gets the value of the codAvisoRecebimento property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCodAvisoRecebimento() { + return codAvisoRecebimento; + } + + /** + * Sets the value of the codAvisoRecebimento property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCodAvisoRecebimento(String value) { + this.codAvisoRecebimento = value; + } + +} diff --git a/src/main/java/br/com/correios/webservice/postagem/CalculaTarifaServicoResponse.java b/src/main/java/br/com/correios/webservice/postagem/CalculaTarifaServicoResponse.java new file mode 100644 index 0000000..71eea32 --- /dev/null +++ b/src/main/java/br/com/correios/webservice/postagem/CalculaTarifaServicoResponse.java @@ -0,0 +1,62 @@ + +package br.com.correios.webservice.postagem; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for calculaTarifaServicoResponse complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="calculaTarifaServicoResponse">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="return" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "calculaTarifaServicoResponse", propOrder = { + "_return" +}) +public class CalculaTarifaServicoResponse { + + @XmlElement(name = "return") + protected String _return; + + /** + * Gets the value of the return property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getReturn() { + return _return; + } + + /** + * Sets the value of the return property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setReturn(String value) { + this._return = value; + } + +} diff --git a/src/main/java/br/com/correios/webservice/postagem/CancelarPedidoScol.java b/src/main/java/br/com/correios/webservice/postagem/CancelarPedidoScol.java index 0ee01d3..53a7cad 100644 --- a/src/main/java/br/com/correios/webservice/postagem/CancelarPedidoScol.java +++ b/src/main/java/br/com/correios/webservice/postagem/CancelarPedidoScol.java @@ -16,7 +16,7 @@ * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> - * <element name="codAdministrativo" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> + * <element name="codAdministrativo" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="idPostagem" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="tipo" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="usuario" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> @@ -39,7 +39,7 @@ }) public class CancelarPedidoScol { - protected Integer codAdministrativo; + protected String codAdministrativo; protected String idPostagem; protected String tipo; protected String usuario; @@ -50,10 +50,10 @@ public class CancelarPedidoScol { * * @return * possible object is - * {@link Integer } + * {@link String } * */ - public Integer getCodAdministrativo() { + public String getCodAdministrativo() { return codAdministrativo; } @@ -62,10 +62,10 @@ public Integer getCodAdministrativo() { * * @param value * allowed object is - * {@link Integer } + * {@link String } * */ - public void setCodAdministrativo(Integer value) { + public void setCodAdministrativo(String value) { this.codAdministrativo = value; } diff --git a/src/main/java/br/com/correios/webservice/postagem/CancelarPedidoScolResponse.java b/src/main/java/br/com/correios/webservice/postagem/CancelarPedidoScolResponse.java index 1ad04d7..6b7642a 100644 --- a/src/main/java/br/com/correios/webservice/postagem/CancelarPedidoScolResponse.java +++ b/src/main/java/br/com/correios/webservice/postagem/CancelarPedidoScolResponse.java @@ -17,7 +17,7 @@ * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> - * <element name="return" type="{http://cliente.bean.master.sigep.bsb.correios.com.br/}retornoCancelamentoTO" minOccurs="0"/> + * <element name="return" type="{http://cliente.bean.master.sigep.bsb.correios.com.br/}retornoCancelamento" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -33,17 +33,17 @@ public class CancelarPedidoScolResponse { @XmlElement(name = "return") - protected RetornoCancelamentoTO _return; + protected RetornoCancelamento _return; /** * Gets the value of the return property. * * @return * possible object is - * {@link RetornoCancelamentoTO } + * {@link RetornoCancelamento } * */ - public RetornoCancelamentoTO getReturn() { + public RetornoCancelamento getReturn() { return _return; } @@ -52,10 +52,10 @@ public RetornoCancelamentoTO getReturn() { * * @param value * allowed object is - * {@link RetornoCancelamentoTO } + * {@link RetornoCancelamento } * */ - public void setReturn(RetornoCancelamentoTO value) { + public void setReturn(RetornoCancelamento value) { this._return = value; } diff --git a/src/main/java/br/com/correios/webservice/postagem/CategoriaServico.java b/src/main/java/br/com/correios/webservice/postagem/CategoriaServico.java index d47edf2..5ee5153 100644 --- a/src/main/java/br/com/correios/webservice/postagem/CategoriaServico.java +++ b/src/main/java/br/com/correios/webservice/postagem/CategoriaServico.java @@ -16,8 +16,8 @@ * <enumeration value="SEM_CATEGORIA"/> * <enumeration value="PAC"/> * <enumeration value="SEDEX"/> - * <enumeration value="CARTA_REGISTRADA"/> - * <enumeration value="SERVICO_COM_RESTRICAO"/> + * <enumeration value="CARTA"/> + * <enumeration value="GRANDES_FORMATOS"/> * <enumeration value="REVERSO"/> * </restriction> * </simpleType> @@ -31,8 +31,8 @@ public enum CategoriaServico { SEM_CATEGORIA, PAC, SEDEX, - CARTA_REGISTRADA, - SERVICO_COM_RESTRICAO, + CARTA, + GRANDES_FORMATOS, REVERSO; public String value() { diff --git a/src/main/java/br/com/correios/webservice/postagem/ChancelaMaster.java b/src/main/java/br/com/correios/webservice/postagem/ChancelaMaster.java index e27bbbc..fd51f20 100644 --- a/src/main/java/br/com/correios/webservice/postagem/ChancelaMaster.java +++ b/src/main/java/br/com/correios/webservice/postagem/ChancelaMaster.java @@ -21,10 +21,11 @@ * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> + * <element name="ativo" type="{http://cliente.bean.master.sigep.bsb.correios.com.br/}simNao" minOccurs="0"/> * <element name="chancela" type="{http://www.w3.org/2001/XMLSchema}base64Binary" minOccurs="0"/> * <element name="dataAtualizacao" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> * <element name="descricao" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * <element name="id" type="{http://www.w3.org/2001/XMLSchema}long"/> + * <element name="id" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/> * <element name="servicosSigep" type="{http://cliente.bean.master.sigep.bsb.correios.com.br/}servicoSigep" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * </restriction> @@ -36,6 +37,7 @@ */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "chancelaMaster", propOrder = { + "ativo", "chancela", "dataAtualizacao", "descricao", @@ -44,14 +46,40 @@ }) public class ChancelaMaster { + @XmlSchemaType(name = "string") + protected SimNao ativo; protected byte[] chancela; @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar dataAtualizacao; protected String descricao; - protected long id; + protected Long id; @XmlElement(nillable = true) protected List servicosSigep; + /** + * Gets the value of the ativo property. + * + * @return + * possible object is + * {@link SimNao } + * + */ + public SimNao getAtivo() { + return ativo; + } + + /** + * Sets the value of the ativo property. + * + * @param value + * allowed object is + * {@link SimNao } + * + */ + public void setAtivo(SimNao value) { + this.ativo = value; + } + /** * Gets the value of the chancela property. * @@ -125,16 +153,24 @@ public void setDescricao(String value) { /** * Gets the value of the id property. * + * @return + * possible object is + * {@link Long } + * */ - public long getId() { + public Long getId() { return id; } /** * Sets the value of the id property. * + * @param value + * allowed object is + * {@link Long } + * */ - public void setId(long value) { + public void setId(Long value) { this.id = value; } diff --git a/src/main/java/br/com/correios/webservice/postagem/ColetaTO.java b/src/main/java/br/com/correios/webservice/postagem/Coleta.java similarity index 75% rename from src/main/java/br/com/correios/webservice/postagem/ColetaTO.java rename to src/main/java/br/com/correios/webservice/postagem/Coleta.java index 9bdd5f4..092692b 100644 --- a/src/main/java/br/com/correios/webservice/postagem/ColetaTO.java +++ b/src/main/java/br/com/correios/webservice/postagem/Coleta.java @@ -11,20 +11,21 @@ /** - *

Java class for coletaTO complex type. + *

Java class for coleta complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

- * <complexType name="coletaTO">
+ * <complexType name="coleta">
  *   <complexContent>
  *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  *       <sequence>
  *         <element name="cklist" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
  *         <element name="descricao" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="documento" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
  *         <element name="id_cliente" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- *         <element name="produto" type="{http://cliente.bean.master.sigep.bsb.correios.com.br/}produtoTO" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="remetente" type="{http://cliente.bean.master.sigep.bsb.correios.com.br/}remetenteTO" minOccurs="0"/>
+ *         <element name="produto" type="{http://cliente.bean.master.sigep.bsb.correios.com.br/}produto" maxOccurs="unbounded" minOccurs="0"/>
+ *         <element name="remetente" type="{http://cliente.bean.master.sigep.bsb.correios.com.br/}remetente" minOccurs="0"/>
  *         <element name="tipo" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
  *         <element name="valor_declarado" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
  *       </sequence>
@@ -36,9 +37,10 @@
  * 
  */
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "coletaTO", propOrder = {
+@XmlType(name = "coleta", propOrder = {
     "cklist",
     "descricao",
+    "documento",
     "idCliente",
     "produto",
     "remetente",
@@ -46,18 +48,20 @@
     "valorDeclarado"
 })
 @XmlSeeAlso({
-    ColetaReversaTO.class,
-    ColetaSimultaneaTO.class
+    ColetaSimultanea.class,
+    ColetaReversa.class
 })
-public class ColetaTO {
+public class Coleta {
 
     protected String cklist;
     protected String descricao;
+    @XmlElement(nillable = true)
+    protected List documento;
     @XmlElement(name = "id_cliente")
     protected String idCliente;
     @XmlElement(nillable = true)
-    protected List produto;
-    protected RemetenteTO remetente;
+    protected List produto;
+    protected Remetente remetente;
     protected String tipo;
     @XmlElement(name = "valor_declarado")
     protected String valorDeclarado;
@@ -110,6 +114,35 @@ public void setDescricao(String value) {
         this.descricao = value;
     }
 
+    /**
+     * Gets the value of the documento property.
+     * 
+     * 

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the documento property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getDocumento().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List getDocumento() { + if (documento == null) { + documento = new ArrayList(); + } + return this.documento; + } + /** * Gets the value of the idCliente property. * @@ -152,13 +185,13 @@ public void setIdCliente(String value) { * *

* Objects of the following type(s) are allowed in the list - * {@link ProdutoTO } + * {@link Produto } * * */ - public List getProduto() { + public List getProduto() { if (produto == null) { - produto = new ArrayList(); + produto = new ArrayList(); } return this.produto; } @@ -168,10 +201,10 @@ public List getProduto() { * * @return * possible object is - * {@link RemetenteTO } + * {@link Remetente } * */ - public RemetenteTO getRemetente() { + public Remetente getRemetente() { return remetente; } @@ -180,10 +213,10 @@ public RemetenteTO getRemetente() { * * @param value * allowed object is - * {@link RemetenteTO } + * {@link Remetente } * */ - public void setRemetente(RemetenteTO value) { + public void setRemetente(Remetente value) { this.remetente = value; } diff --git a/src/main/java/br/com/correios/webservice/postagem/ColetaReversaTO.java b/src/main/java/br/com/correios/webservice/postagem/ColetaReversa.java similarity index 87% rename from src/main/java/br/com/correios/webservice/postagem/ColetaReversaTO.java rename to src/main/java/br/com/correios/webservice/postagem/ColetaReversa.java index 0bacfa2..c376287 100644 --- a/src/main/java/br/com/correios/webservice/postagem/ColetaReversaTO.java +++ b/src/main/java/br/com/correios/webservice/postagem/ColetaReversa.java @@ -10,20 +10,20 @@ /** - *

Java class for coletaReversaTO complex type. + *

Java class for coletaReversa complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

- * <complexType name="coletaReversaTO">
+ * <complexType name="coletaReversa">
  *   <complexContent>
- *     <extension base="{http://cliente.bean.master.sigep.bsb.correios.com.br/}coletaTO">
+ *     <extension base="{http://cliente.bean.master.sigep.bsb.correios.com.br/}coleta">
  *       <sequence>
  *         <element name="ag" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
  *         <element name="ar" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
- *         <element name="cartao" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
+ *         <element name="cartao" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
  *         <element name="numero" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
- *         <element name="obj_col" type="{http://cliente.bean.master.sigep.bsb.correios.com.br/}objetoTO" maxOccurs="unbounded" minOccurs="0"/>
+ *         <element name="obj_col" type="{http://cliente.bean.master.sigep.bsb.correios.com.br/}objeto" maxOccurs="unbounded" minOccurs="0"/>
  *         <element name="servico_adicional" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
  *       </sequence>
  *     </extension>
@@ -34,7 +34,7 @@
  * 
  */
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "coletaReversaTO", propOrder = {
+@XmlType(name = "coletaReversa", propOrder = {
     "ag",
     "ar",
     "cartao",
@@ -42,16 +42,16 @@
     "objCol",
     "servicoAdicional"
 })
-public class ColetaReversaTO
-    extends ColetaTO
+public class ColetaReversa
+    extends Coleta
 {
 
     protected String ag;
     protected Integer ar;
-    protected Long cartao;
+    protected String cartao;
     protected Integer numero;
     @XmlElement(name = "obj_col", nillable = true)
-    protected List objCol;
+    protected List objCol;
     @XmlElement(name = "servico_adicional")
     protected String servicoAdicional;
 
@@ -108,10 +108,10 @@ public void setAr(Integer value) {
      * 
      * @return
      *     possible object is
-     *     {@link Long }
+     *     {@link String }
      *     
      */
-    public Long getCartao() {
+    public String getCartao() {
         return cartao;
     }
 
@@ -120,10 +120,10 @@ public Long getCartao() {
      * 
      * @param value
      *     allowed object is
-     *     {@link Long }
+     *     {@link String }
      *     
      */
-    public void setCartao(Long value) {
+    public void setCartao(String value) {
         this.cartao = value;
     }
 
@@ -169,13 +169,13 @@ public void setNumero(Integer value) {
      * 
      * 

* Objects of the following type(s) are allowed in the list - * {@link ObjetoTO } + * {@link Objeto } * * */ - public List getObjCol() { + public List getObjCol() { if (objCol == null) { - objCol = new ArrayList(); + objCol = new ArrayList(); } return this.objCol; } diff --git a/src/main/java/br/com/correios/webservice/postagem/ColetaSimultaneaTO.java b/src/main/java/br/com/correios/webservice/postagem/ColetaSimultanea.java similarity index 88% rename from src/main/java/br/com/correios/webservice/postagem/ColetaSimultaneaTO.java rename to src/main/java/br/com/correios/webservice/postagem/ColetaSimultanea.java index 8b758f5..acd99e4 100644 --- a/src/main/java/br/com/correios/webservice/postagem/ColetaSimultaneaTO.java +++ b/src/main/java/br/com/correios/webservice/postagem/ColetaSimultanea.java @@ -7,14 +7,14 @@ /** - *

Java class for coletaSimultaneaTO complex type. + *

Java class for coletaSimultanea complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

- * <complexType name="coletaSimultaneaTO">
+ * <complexType name="coletaSimultanea">
  *   <complexContent>
- *     <extension base="{http://cliente.bean.master.sigep.bsb.correios.com.br/}coletaTO">
+ *     <extension base="{http://cliente.bean.master.sigep.bsb.correios.com.br/}coleta">
  *       <sequence>
  *         <element name="obj" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
  *         <element name="obs" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
@@ -27,12 +27,12 @@
  * 
  */
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "coletaSimultaneaTO", propOrder = {
+@XmlType(name = "coletaSimultanea", propOrder = {
     "obj",
     "obs"
 })
-public class ColetaSimultaneaTO
-    extends ColetaTO
+public class ColetaSimultanea
+    extends Coleta
 {
 
     protected String obj;
diff --git a/src/main/java/br/com/correios/webservice/postagem/Conta.java b/src/main/java/br/com/correios/webservice/postagem/Conta.java
deleted file mode 100644
index 9e6226a..0000000
--- a/src/main/java/br/com/correios/webservice/postagem/Conta.java
+++ /dev/null
@@ -1,141 +0,0 @@
-
-package br.com.correios.webservice.postagem;
-
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlType;
-
-
-/**
- * 

Java class for conta complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

- * <complexType name="conta">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="codigoBanco" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- *         <element name="nomeBanco" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- *         <element name="numeroAgencia" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- *         <element name="numeroConta" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "conta", propOrder = { - "codigoBanco", - "nomeBanco", - "numeroAgencia", - "numeroConta" -}) -public class Conta { - - protected String codigoBanco; - protected String nomeBanco; - protected String numeroAgencia; - protected String numeroConta; - - /** - * Gets the value of the codigoBanco property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getCodigoBanco() { - return codigoBanco; - } - - /** - * Sets the value of the codigoBanco property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setCodigoBanco(String value) { - this.codigoBanco = value; - } - - /** - * Gets the value of the nomeBanco property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getNomeBanco() { - return nomeBanco; - } - - /** - * Sets the value of the nomeBanco property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setNomeBanco(String value) { - this.nomeBanco = value; - } - - /** - * Gets the value of the numeroAgencia property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getNumeroAgencia() { - return numeroAgencia; - } - - /** - * Sets the value of the numeroAgencia property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setNumeroAgencia(String value) { - this.numeroAgencia = value; - } - - /** - * Gets the value of the numeroConta property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getNumeroConta() { - return numeroConta; - } - - /** - * Sets the value of the numeroConta property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setNumeroConta(String value) { - this.numeroConta = value; - } - -} diff --git a/src/main/java/br/com/correios/webservice/postagem/Destinatario.java b/src/main/java/br/com/correios/webservice/postagem/Destinatario.java deleted file mode 100644 index 64f2d93..0000000 --- a/src/main/java/br/com/correios/webservice/postagem/Destinatario.java +++ /dev/null @@ -1,34 +0,0 @@ - -package br.com.correios.webservice.postagem; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Java class for destinatario complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

- * <complexType name="destinatario">
- *   <complexContent>
- *     <extension base="{http://cliente.bean.master.sigep.bsb.correios.com.br/}pessoa">
- *       <sequence>
- *       </sequence>
- *     </extension>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "destinatario") -public class Destinatario - extends Pessoa -{ - - -} diff --git a/src/main/java/br/com/correios/webservice/postagem/DimensaoTO.java b/src/main/java/br/com/correios/webservice/postagem/DimensaoTO.java new file mode 100644 index 0000000..e5fb202 --- /dev/null +++ b/src/main/java/br/com/correios/webservice/postagem/DimensaoTO.java @@ -0,0 +1,195 @@ + +package br.com.correios.webservice.postagem; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for dimensaoTO complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="dimensaoTO">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="altura" type="{http://cliente.bean.master.sigep.bsb.correios.com.br/}medidaTO" minOccurs="0"/>
+ *         <element name="comprimento" type="{http://cliente.bean.master.sigep.bsb.correios.com.br/}medidaTO" minOccurs="0"/>
+ *         <element name="diametro" type="{http://cliente.bean.master.sigep.bsb.correios.com.br/}medidaTO" minOccurs="0"/>
+ *         <element name="largura" type="{http://cliente.bean.master.sigep.bsb.correios.com.br/}medidaTO" minOccurs="0"/>
+ *         <element name="peso" type="{http://cliente.bean.master.sigep.bsb.correios.com.br/}medidaTO" minOccurs="0"/>
+ *         <element name="soma" type="{http://cliente.bean.master.sigep.bsb.correios.com.br/}medidaTO" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "dimensaoTO", propOrder = { + "altura", + "comprimento", + "diametro", + "largura", + "peso", + "soma" +}) +public class DimensaoTO { + + protected MedidaTO altura; + protected MedidaTO comprimento; + protected MedidaTO diametro; + protected MedidaTO largura; + protected MedidaTO peso; + protected MedidaTO soma; + + /** + * Gets the value of the altura property. + * + * @return + * possible object is + * {@link MedidaTO } + * + */ + public MedidaTO getAltura() { + return altura; + } + + /** + * Sets the value of the altura property. + * + * @param value + * allowed object is + * {@link MedidaTO } + * + */ + public void setAltura(MedidaTO value) { + this.altura = value; + } + + /** + * Gets the value of the comprimento property. + * + * @return + * possible object is + * {@link MedidaTO } + * + */ + public MedidaTO getComprimento() { + return comprimento; + } + + /** + * Sets the value of the comprimento property. + * + * @param value + * allowed object is + * {@link MedidaTO } + * + */ + public void setComprimento(MedidaTO value) { + this.comprimento = value; + } + + /** + * Gets the value of the diametro property. + * + * @return + * possible object is + * {@link MedidaTO } + * + */ + public MedidaTO getDiametro() { + return diametro; + } + + /** + * Sets the value of the diametro property. + * + * @param value + * allowed object is + * {@link MedidaTO } + * + */ + public void setDiametro(MedidaTO value) { + this.diametro = value; + } + + /** + * Gets the value of the largura property. + * + * @return + * possible object is + * {@link MedidaTO } + * + */ + public MedidaTO getLargura() { + return largura; + } + + /** + * Sets the value of the largura property. + * + * @param value + * allowed object is + * {@link MedidaTO } + * + */ + public void setLargura(MedidaTO value) { + this.largura = value; + } + + /** + * Gets the value of the peso property. + * + * @return + * possible object is + * {@link MedidaTO } + * + */ + public MedidaTO getPeso() { + return peso; + } + + /** + * Sets the value of the peso property. + * + * @param value + * allowed object is + * {@link MedidaTO } + * + */ + public void setPeso(MedidaTO value) { + this.peso = value; + } + + /** + * Gets the value of the soma property. + * + * @return + * possible object is + * {@link MedidaTO } + * + */ + public MedidaTO getSoma() { + return soma; + } + + /** + * Sets the value of the soma property. + * + * @param value + * allowed object is + * {@link MedidaTO } + * + */ + public void setSoma(MedidaTO value) { + this.soma = value; + } + +} diff --git a/src/main/java/br/com/correios/webservice/postagem/EnderecoERP.java b/src/main/java/br/com/correios/webservice/postagem/EnderecoERP.java index a799560..8e76534 100644 --- a/src/main/java/br/com/correios/webservice/postagem/EnderecoERP.java +++ b/src/main/java/br/com/correios/webservice/postagem/EnderecoERP.java @@ -22,10 +22,8 @@ * <element name="bairro" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="cep" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="cidade" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * <element name="complemento" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="complemento2" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="end" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * <element name="id" type="{http://www.w3.org/2001/XMLSchema}long"/> * <element name="uf" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="unidadesPostagem" type="{http://cliente.bean.master.sigep.bsb.correios.com.br/}unidadePostagemERP" maxOccurs="unbounded" minOccurs="0"/> * </sequence> @@ -41,10 +39,8 @@ "bairro", "cep", "cidade", - "complemento", "complemento2", "end", - "id", "uf", "unidadesPostagem" }) @@ -53,10 +49,8 @@ public class EnderecoERP { protected String bairro; protected String cep; protected String cidade; - protected String complemento; protected String complemento2; protected String end; - protected long id; protected String uf; @XmlElement(nillable = true) protected List unidadesPostagem; @@ -133,30 +127,6 @@ public void setCidade(String value) { this.cidade = value; } - /** - * Gets the value of the complemento property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getComplemento() { - return complemento; - } - - /** - * Sets the value of the complemento property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setComplemento(String value) { - this.complemento = value; - } - /** * Gets the value of the complemento2 property. * @@ -205,22 +175,6 @@ public void setEnd(String value) { this.end = value; } - /** - * Gets the value of the id property. - * - */ - public long getId() { - return id; - } - - /** - * Sets the value of the id property. - * - */ - public void setId(long value) { - this.id = value; - } - /** * Gets the value of the uf property. * diff --git a/src/main/java/br/com/correios/webservice/postagem/RemetenteTO.java b/src/main/java/br/com/correios/webservice/postagem/ErroMontagemRelatorio.java similarity index 50% rename from src/main/java/br/com/correios/webservice/postagem/RemetenteTO.java rename to src/main/java/br/com/correios/webservice/postagem/ErroMontagemRelatorio.java index d7b8aec..8f3227e 100644 --- a/src/main/java/br/com/correios/webservice/postagem/RemetenteTO.java +++ b/src/main/java/br/com/correios/webservice/postagem/ErroMontagemRelatorio.java @@ -7,18 +7,18 @@ /** - *

Java class for remetenteTO complex type. + *

Java class for ErroMontagemRelatorio complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

- * <complexType name="remetenteTO">
+ * <complexType name="ErroMontagemRelatorio">
  *   <complexContent>
- *     <extension base="{http://cliente.bean.master.sigep.bsb.correios.com.br/}pessoaTO">
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  *       <sequence>
- *         <element name="identificacao" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="message" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
  *       </sequence>
- *     </extension>
+ *     </restriction>
  *   </complexContent>
  * </complexType>
  * 
@@ -26,37 +26,35 @@ * */ @XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "remetenteTO", propOrder = { - "identificacao" +@XmlType(name = "ErroMontagemRelatorio", propOrder = { + "message" }) -public class RemetenteTO - extends PessoaTO -{ +public class ErroMontagemRelatorio { - protected String identificacao; + protected String message; /** - * Gets the value of the identificacao property. + * Gets the value of the message property. * * @return * possible object is * {@link String } * */ - public String getIdentificacao() { - return identificacao; + public String getMessage() { + return message; } /** - * Sets the value of the identificacao property. + * Sets the value of the message property. * * @param value * allowed object is * {@link String } * */ - public void setIdentificacao(String value) { - this.identificacao = value; + public void setMessage(String value) { + this.message = value; } } diff --git a/src/main/java/br/com/correios/webservice/postagem/ErroMontagemRelatorio_Exception.java b/src/main/java/br/com/correios/webservice/postagem/ErroMontagemRelatorio_Exception.java new file mode 100644 index 0000000..8604b33 --- /dev/null +++ b/src/main/java/br/com/correios/webservice/postagem/ErroMontagemRelatorio_Exception.java @@ -0,0 +1,54 @@ + +package br.com.correios.webservice.postagem; + +import javax.xml.ws.WebFault; + + +/** + * This class was generated by the JAX-WS RI. + * JAX-WS RI 2.2.9-b130926.1035 + * Generated source version: 2.2 + * + */ +@WebFault(name = "ErroMontagemRelatorio", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/") +public class ErroMontagemRelatorio_Exception + extends java.lang.Exception +{ + + /** + * Java type that goes as soapenv:Fault detail element. + * + */ + private ErroMontagemRelatorio faultInfo; + + /** + * + * @param faultInfo + * @param message + */ + public ErroMontagemRelatorio_Exception(String message, ErroMontagemRelatorio faultInfo) { + super(message); + this.faultInfo = faultInfo; + } + + /** + * + * @param faultInfo + * @param cause + * @param message + */ + public ErroMontagemRelatorio_Exception(String message, ErroMontagemRelatorio faultInfo, Throwable cause) { + super(message, cause); + this.faultInfo = faultInfo; + } + + /** + * + * @return + * returns fault bean: br.com.correios.webservice.postagem.ErroMontagemRelatorio + */ + public ErroMontagemRelatorio getFaultInfo() { + return faultInfo; + } + +} diff --git a/src/main/java/br/com/correios/webservice/postagem/Exception_Exception.java b/src/main/java/br/com/correios/webservice/postagem/Exception_Exception.java index 33464fd..24f36fc 100644 --- a/src/main/java/br/com/correios/webservice/postagem/Exception_Exception.java +++ b/src/main/java/br/com/correios/webservice/postagem/Exception_Exception.java @@ -8,48 +8,46 @@ * This class was generated by the JAX-WS RI. * JAX-WS RI 2.2.9-b130926.1035 * Generated source version: 2.2 - * + * */ @WebFault(name = "Exception", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/") public class Exception_Exception extends java.lang.Exception { - private static final long serialVersionUID = -7991977127301372277L; - - /** + /** * Java type that goes as soapenv:Fault detail element. - * + * */ - private Exception faultInfo; + private br.com.correios.webservice.postagem.Exception faultInfo; /** - * + * * @param faultInfo * @param message */ - public Exception_Exception(String message, Exception faultInfo) { + public Exception_Exception(String message, br.com.correios.webservice.postagem.Exception faultInfo) { super(message); this.faultInfo = faultInfo; } /** - * + * * @param faultInfo * @param cause * @param message */ - public Exception_Exception(String message, Exception faultInfo, Throwable cause) { + public Exception_Exception(String message, br.com.correios.webservice.postagem.Exception faultInfo, Throwable cause) { super(message, cause); this.faultInfo = faultInfo; } /** - * + * * @return - * returns fault bean: Exception + * returns fault bean: br.com.correios.webservice.postagem.Exception */ - public Exception getFaultInfo() { + public br.com.correios.webservice.postagem.Exception getFaultInfo() { return faultInfo; } diff --git a/src/main/java/br/com/correios/webservice/postagem/MedidaTO.java b/src/main/java/br/com/correios/webservice/postagem/MedidaTO.java new file mode 100644 index 0000000..6dcb6a3 --- /dev/null +++ b/src/main/java/br/com/correios/webservice/postagem/MedidaTO.java @@ -0,0 +1,88 @@ + +package br.com.correios.webservice.postagem; + +import java.math.BigDecimal; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for medidaTO complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="medidaTO">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="maximo" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
+ *         <element name="minimo" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "medidaTO", propOrder = { + "maximo", + "minimo" +}) +public class MedidaTO { + + protected BigDecimal maximo; + protected BigDecimal minimo; + + /** + * Gets the value of the maximo property. + * + * @return + * possible object is + * {@link BigDecimal } + * + */ + public BigDecimal getMaximo() { + return maximo; + } + + /** + * Sets the value of the maximo property. + * + * @param value + * allowed object is + * {@link BigDecimal } + * + */ + public void setMaximo(BigDecimal value) { + this.maximo = value; + } + + /** + * Gets the value of the minimo property. + * + * @return + * possible object is + * {@link BigDecimal } + * + */ + public BigDecimal getMinimo() { + return minimo; + } + + /** + * Sets the value of the minimo property. + * + * @param value + * allowed object is + * {@link BigDecimal } + * + */ + public void setMinimo(BigDecimal value) { + this.minimo = value; + } + +} diff --git a/src/main/java/br/com/correios/webservice/postagem/MensagemParametrizadaTO.java b/src/main/java/br/com/correios/webservice/postagem/MensagemParametrizadaTO.java new file mode 100644 index 0000000..d2087f8 --- /dev/null +++ b/src/main/java/br/com/correios/webservice/postagem/MensagemParametrizadaTO.java @@ -0,0 +1,116 @@ + +package br.com.correios.webservice.postagem; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for mensagemParametrizadaTO complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="mensagemParametrizadaTO">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="mensagem" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="tipo" type="{http://cliente.bean.master.sigep.bsb.correios.com.br/}tipoMensagem" minOccurs="0"/>
+ *         <element name="titulo" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "mensagemParametrizadaTO", propOrder = { + "mensagem", + "tipo", + "titulo" +}) +public class MensagemParametrizadaTO { + + protected String mensagem; + @XmlSchemaType(name = "string") + protected TipoMensagem tipo; + protected String titulo; + + /** + * Gets the value of the mensagem property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMensagem() { + return mensagem; + } + + /** + * Sets the value of the mensagem property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMensagem(String value) { + this.mensagem = value; + } + + /** + * Gets the value of the tipo property. + * + * @return + * possible object is + * {@link TipoMensagem } + * + */ + public TipoMensagem getTipo() { + return tipo; + } + + /** + * Sets the value of the tipo property. + * + * @param value + * allowed object is + * {@link TipoMensagem } + * + */ + public void setTipo(TipoMensagem value) { + this.tipo = value; + } + + /** + * Gets the value of the titulo property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTitulo() { + return titulo; + } + + /** + * Sets the value of the titulo property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTitulo(String value) { + this.titulo = value; + } + +} diff --git a/src/main/java/br/com/correios/webservice/postagem/ObjectFactory.java b/src/main/java/br/com/correios/webservice/postagem/ObjectFactory.java index 199a09c..4e8a163 100644 --- a/src/main/java/br/com/correios/webservice/postagem/ObjectFactory.java +++ b/src/main/java/br/com/correios/webservice/postagem/ObjectFactory.java @@ -8,25 +8,28 @@ /** - * This object contains factory methods for each - * Java content interface and Java element interface - * generated in the br.com.correios.webservice.postagem package. - *

An ObjectFactory allows you to programatically - * construct new instances of the Java representation - * for XML content. The Java representation of XML - * content can consist of schema derived interfaces - * and classes representing the binding of schema - * type definitions, element declarations and model - * groups. Factory methods for each of these are + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the br.com.correios.webservice.postagem package. + *

An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are * provided in this class. - * + * */ @XmlRegistry public class ObjectFactory { + private final static QName _BuscaServicosAdicionaisAtivos_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "buscaServicosAdicionaisAtivos"); private final static QName _FechaPlp_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "fechaPlp"); - private final static QName _ConsultaSRO_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "consultaSRO"); + private final static QName _PesquisarDimensoesServicoResponse_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "pesquisarDimensoesServicoResponse"); + private final static QName _VerificaSeTodosObjetosCancelados_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "VerificaSeTodosObjetosCancelados"); private final static QName _ObterClienteAtualizacaoResponse_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "obterClienteAtualizacaoResponse"); + private final static QName _ObterMensagemParametrizadaResponse_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "obterMensagemParametrizadaResponse"); private final static QName _BuscaClienteResponse_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "buscaClienteResponse"); private final static QName _GetStatusCartaoPostagemResponse_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "getStatusCartaoPostagemResponse"); private final static QName _SolicitaEtiquetasResponse_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "solicitaEtiquetasResponse"); @@ -40,14 +43,21 @@ public class ObjectFactory { private final static QName _GeraDigitoVerificadorEtiquetasResponse_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "geraDigitoVerificadorEtiquetasResponse"); private final static QName _SolicitaXmlPlpResponse_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "solicitaXmlPlpResponse"); private final static QName _ObterEmbalagemLRSResponse_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "obterEmbalagemLRSResponse"); + private final static QName _VerificaModalTransporteResponse_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "verificaModalTransporteResponse"); private final static QName _SigepClienteException_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "SigepClienteException"); + private final static QName _BuscaServicosValorDeclarado_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "buscaServicosValorDeclarado"); + private final static QName _BuscaServicosValorDeclaradoResponse_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "buscaServicosValorDeclaradoResponse"); private final static QName _ConsultaCEP_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "consultaCEP"); + private final static QName _PesquisarDimensoesServico_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "pesquisarDimensoesServico"); + private final static QName _BuscaOpcoesResponse_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "buscaOpcoesResponse"); private final static QName _FechaPlpVariosServicosResponse_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "fechaPlpVariosServicosResponse"); private final static QName _GetStatusCartaoPostagem_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "getStatusCartaoPostagem"); + private final static QName _CalculaTarifaServicoResponse_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "calculaTarifaServicoResponse"); private final static QName _CancelarPedidoScolResponse_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "cancelarPedidoScolResponse"); - private final static QName _ConsultarPedidosInformacaoResponse_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "consultarPedidosInformacaoResponse"); + private final static QName _AtualizaRemessaAgrupadaResponse_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "atualizaRemessaAgrupadaResponse"); + private final static QName _BuscaDataAtual_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "buscaDataAtual"); + private final static QName _BuscaTarifaVale_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "buscaTarifaVale"); private final static QName _ValidarPostagemSimultanea_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "validarPostagemSimultanea"); - private final static QName _ObterMotivosPI_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "obterMotivosPI"); private final static QName _GetStatusPLP_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "getStatusPLP"); private final static QName _BuscaContratoResponse_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "buscaContratoResponse"); private final static QName _CancelarPedidoScol_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "cancelarPedidoScol"); @@ -55,54 +65,79 @@ public class ObjectFactory { private final static QName _BuscaContrato_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "buscaContrato"); private final static QName _SolicitaEtiquetas_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "solicitaEtiquetas"); private final static QName _SolicitaXmlPlp_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "solicitaXmlPlp"); + private final static QName _BuscaServicosAdicionaisAtivosResponse_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "buscaServicosAdicionaisAtivosResponse"); private final static QName _BuscaCliente_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "buscaCliente"); private final static QName _BuscaPagamentoEntrega_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "buscaPagamentoEntrega"); private final static QName _FechaPlpResponse_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "fechaPlpResponse"); private final static QName _Exception_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "Exception"); private final static QName _BuscaServicos_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "buscaServicos"); private final static QName _GetStatusPLPResponse_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "getStatusPLPResponse"); + private final static QName _PesquisarEmbalagensPorServicoResponse_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "pesquisarEmbalagensPorServicoResponse"); + private final static QName _PesquisarServicosAdicionaisResponse_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "pesquisarServicosAdicionaisResponse"); + private final static QName _CalculaTarifaServico_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "calculaTarifaServico"); private final static QName _ValidaPlp_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "validaPlp"); - private final static QName _ConsultaSROResponse_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "consultaSROResponse"); private final static QName _CancelarObjeto_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "cancelarObjeto"); + private final static QName _PesquisarParametrosPorDescricao_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "pesquisarParametrosPorDescricao"); + private final static QName _AtualizaPagamentoNaEntrega_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "atualizaPagamentoNaEntrega"); private final static QName _ObterClienteAtualizacao_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "obterClienteAtualizacao"); private final static QName _VerificaDisponibilidadeServicoResponse_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "verificaDisponibilidadeServicoResponse"); private final static QName _ValidaEtiquetaPLPResponse_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "validaEtiquetaPLPResponse"); + private final static QName _VerificaSeTodosObjetosCanceladosResponse_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "VerificaSeTodosObjetosCanceladosResponse"); private final static QName _ValidaEtiquetaPLP_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "validaEtiquetaPLP"); private final static QName _CancelarObjetoResponse_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "cancelarObjetoResponse"); - private final static QName _RegistrarPedidosInformacaoResponse_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "registrarPedidosInformacaoResponse"); + private final static QName _AtualizaPagamentoNaEntregaResponse_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "atualizaPagamentoNaEntregaResponse"); + private final static QName _BuscaServicosXServicosAdicionaisResponse_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "buscaServicosXServicosAdicionaisResponse"); + private final static QName _PesquisarParametrosPorDescricaoResponse_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "pesquisarParametrosPorDescricaoResponse"); private final static QName _SolicitarPostagemScolResponse_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "solicitarPostagemScolResponse"); + private final static QName _BuscaTarifaValeResponse_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "buscaTarifaValeResponse"); private final static QName _SolicitaPLPResponse_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "solicitaPLPResponse"); private final static QName _BuscaPagamentoEntregaResponse_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "buscaPagamentoEntregaResponse"); private final static QName _ValidarPostagemSimultaneaResponse_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "validarPostagemSimultaneaResponse"); private final static QName _ValidarPostagemReversaResponse_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "validarPostagemReversaResponse"); private final static QName _IntegrarUsuarioScol_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "integrarUsuarioScol"); - private final static QName _ObterMensagemRetornoPI_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "obterMensagemRetornoPI"); private final static QName _IntegrarUsuarioScolResponse_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "integrarUsuarioScolResponse"); + private final static QName _PesquisarEmbalagensPorServico_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "pesquisarEmbalagensPorServico"); + private final static QName _AtualizaRemessaAgrupada_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "atualizaRemessaAgrupada"); private final static QName _ConsultaCEPResponse_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "consultaCEPResponse"); private final static QName _ValidaPlpResponse_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "validaPlpResponse"); private final static QName _SolicitaPLP_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "solicitaPLP"); + private final static QName _ErroMontagemRelatorio_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "ErroMontagemRelatorio"); + private final static QName _VerificaModalTransporte_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "verificaModalTransporte"); + private final static QName _BuscaDataAtualResponse_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "buscaDataAtualResponse"); + private final static QName _PesquisarServicosAdicionais_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "pesquisarServicosAdicionais"); + private final static QName _BuscaServicosXServicosAdicionais_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "buscaServicosXServicosAdicionais"); private final static QName _BuscaServicosResponse_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "buscaServicosResponse"); private final static QName _ValidarPostagemReversa_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "validarPostagemReversa"); private final static QName _SolicitarPostagemScol_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "solicitarPostagemScol"); + private final static QName _ObterMensagemParametrizada_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "obterMensagemParametrizada"); + private final static QName _BuscaOpcoes_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "buscaOpcoes"); /** * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: br.com.correios.webservice.postagem - * + * */ public ObjectFactory() { } /** - * Create an instance of {@link RegistrarPedidosInformacaoResponse } - * + * Create an instance of {@link AtualizaPagamentoNaEntregaResponse } + * */ - public RegistrarPedidosInformacaoResponse createRegistrarPedidosInformacaoResponse() { - return new RegistrarPedidosInformacaoResponse(); + public AtualizaPagamentoNaEntregaResponse createAtualizaPagamentoNaEntregaResponse() { + return new AtualizaPagamentoNaEntregaResponse(); + } + + /** + * Create an instance of {@link VerificaSeTodosObjetosCanceladosResponse } + * + */ + public VerificaSeTodosObjetosCanceladosResponse createVerificaSeTodosObjetosCanceladosResponse() { + return new VerificaSeTodosObjetosCanceladosResponse(); } /** * Create an instance of {@link ValidaEtiquetaPLPResponse } - * + * */ public ValidaEtiquetaPLPResponse createValidaEtiquetaPLPResponse() { return new ValidaEtiquetaPLPResponse(); @@ -110,7 +145,7 @@ public ValidaEtiquetaPLPResponse createValidaEtiquetaPLPResponse() { /** * Create an instance of {@link CancelarObjetoResponse } - * + * */ public CancelarObjetoResponse createCancelarObjetoResponse() { return new CancelarObjetoResponse(); @@ -118,47 +153,95 @@ public CancelarObjetoResponse createCancelarObjetoResponse() { /** * Create an instance of {@link ValidaEtiquetaPLP } - * + * */ public ValidaEtiquetaPLP createValidaEtiquetaPLP() { return new ValidaEtiquetaPLP(); } + /** + * Create an instance of {@link BuscaTarifaValeResponse } + * + */ + public BuscaTarifaValeResponse createBuscaTarifaValeResponse() { + return new BuscaTarifaValeResponse(); + } + /** * Create an instance of {@link SolicitaPLPResponse } - * + * */ public SolicitaPLPResponse createSolicitaPLPResponse() { return new SolicitaPLPResponse(); } + /** + * Create an instance of {@link BuscaServicosXServicosAdicionaisResponse } + * + */ + public BuscaServicosXServicosAdicionaisResponse createBuscaServicosXServicosAdicionaisResponse() { + return new BuscaServicosXServicosAdicionaisResponse(); + } + + /** + * Create an instance of {@link PesquisarParametrosPorDescricaoResponse } + * + */ + public PesquisarParametrosPorDescricaoResponse createPesquisarParametrosPorDescricaoResponse() { + return new PesquisarParametrosPorDescricaoResponse(); + } + /** * Create an instance of {@link SolicitarPostagemScolResponse } - * + * */ public SolicitarPostagemScolResponse createSolicitarPostagemScolResponse() { return new SolicitarPostagemScolResponse(); } /** - * Create an instance of {@link ConsultaSROResponse } - * + * Create an instance of {@link AtualizaPagamentoNaEntrega } + * */ - public ConsultaSROResponse createConsultaSROResponse() { - return new ConsultaSROResponse(); + public AtualizaPagamentoNaEntrega createAtualizaPagamentoNaEntrega() { + return new AtualizaPagamentoNaEntrega(); } /** * Create an instance of {@link CancelarObjeto } - * + * */ public CancelarObjeto createCancelarObjeto() { return new CancelarObjeto(); } + /** + * Create an instance of {@link PesquisarParametrosPorDescricao } + * + */ + public PesquisarParametrosPorDescricao createPesquisarParametrosPorDescricao() { + return new PesquisarParametrosPorDescricao(); + } + + /** + * Create an instance of {@link PesquisarServicosAdicionaisResponse } + * + */ + public PesquisarServicosAdicionaisResponse createPesquisarServicosAdicionaisResponse() { + return new PesquisarServicosAdicionaisResponse(); + } + + /** + * Create an instance of {@link CalculaTarifaServico } + * + */ + public CalculaTarifaServico createCalculaTarifaServico() { + return new CalculaTarifaServico(); + } + /** * Create an instance of {@link ValidaPlp } - * + * */ public ValidaPlp createValidaPlp() { return new ValidaPlp(); @@ -166,7 +249,7 @@ public ValidaPlp createValidaPlp() { /** * Create an instance of {@link VerificaDisponibilidadeServicoResponse } - * + * */ public VerificaDisponibilidadeServicoResponse createVerificaDisponibilidadeServicoResponse() { return new VerificaDisponibilidadeServicoResponse(); @@ -174,7 +257,7 @@ public VerificaDisponibilidadeServicoResponse createVerificaDisponibilidadeServi /** * Create an instance of {@link ObterClienteAtualizacao } - * + * */ public ObterClienteAtualizacao createObterClienteAtualizacao() { return new ObterClienteAtualizacao(); @@ -182,7 +265,7 @@ public ObterClienteAtualizacao createObterClienteAtualizacao() { /** * Create an instance of {@link ValidarPostagemReversa } - * + * */ public ValidarPostagemReversa createValidarPostagemReversa() { return new ValidarPostagemReversa(); @@ -190,23 +273,63 @@ public ValidarPostagemReversa createValidarPostagemReversa() { /** * Create an instance of {@link BuscaServicosResponse } - * + * */ public BuscaServicosResponse createBuscaServicosResponse() { return new BuscaServicosResponse(); } + /** + * Create an instance of {@link PesquisarServicosAdicionais } + * + */ + public PesquisarServicosAdicionais createPesquisarServicosAdicionais() { + return new PesquisarServicosAdicionais(); + } + + /** + * Create an instance of {@link BuscaServicosXServicosAdicionais } + * + */ + public BuscaServicosXServicosAdicionais createBuscaServicosXServicosAdicionais() { + return new BuscaServicosXServicosAdicionais(); + } + + /** + * Create an instance of {@link BuscaOpcoes } + * + */ + public BuscaOpcoes createBuscaOpcoes() { + return new BuscaOpcoes(); + } + + /** + * Create an instance of {@link ObterMensagemParametrizada } + * + */ + public ObterMensagemParametrizada createObterMensagemParametrizada() { + return new ObterMensagemParametrizada(); + } + /** * Create an instance of {@link SolicitarPostagemScol } - * + * */ public SolicitarPostagemScol createSolicitarPostagemScol() { return new SolicitarPostagemScol(); } + /** + * Create an instance of {@link AtualizaRemessaAgrupada } + * + */ + public AtualizaRemessaAgrupada createAtualizaRemessaAgrupada() { + return new AtualizaRemessaAgrupada(); + } + /** * Create an instance of {@link ConsultaCEPResponse } - * + * */ public ConsultaCEPResponse createConsultaCEPResponse() { return new ConsultaCEPResponse(); @@ -214,15 +337,23 @@ public ConsultaCEPResponse createConsultaCEPResponse() { /** * Create an instance of {@link IntegrarUsuarioScolResponse } - * + * */ public IntegrarUsuarioScolResponse createIntegrarUsuarioScolResponse() { return new IntegrarUsuarioScolResponse(); } + /** + * Create an instance of {@link PesquisarEmbalagensPorServico } + * + */ + public PesquisarEmbalagensPorServico createPesquisarEmbalagensPorServico() { + return new PesquisarEmbalagensPorServico(); + } + /** * Create an instance of {@link ValidarPostagemReversaResponse } - * + * */ public ValidarPostagemReversaResponse createValidarPostagemReversaResponse() { return new ValidarPostagemReversaResponse(); @@ -230,7 +361,7 @@ public ValidarPostagemReversaResponse createValidarPostagemReversaResponse() { /** * Create an instance of {@link BuscaPagamentoEntregaResponse } - * + * */ public BuscaPagamentoEntregaResponse createBuscaPagamentoEntregaResponse() { return new BuscaPagamentoEntregaResponse(); @@ -238,7 +369,7 @@ public BuscaPagamentoEntregaResponse createBuscaPagamentoEntregaResponse() { /** * Create an instance of {@link ValidarPostagemSimultaneaResponse } - * + * */ public ValidarPostagemSimultaneaResponse createValidarPostagemSimultaneaResponse() { return new ValidarPostagemSimultaneaResponse(); @@ -246,39 +377,55 @@ public ValidarPostagemSimultaneaResponse createValidarPostagemSimultaneaResponse /** * Create an instance of {@link IntegrarUsuarioScol } - * + * */ public IntegrarUsuarioScol createIntegrarUsuarioScol() { return new IntegrarUsuarioScol(); } /** - * Create an instance of {@link ObterMensagemRetornoPI } - * + * Create an instance of {@link BuscaDataAtualResponse } + * */ - public ObterMensagemRetornoPI createObterMensagemRetornoPI() { - return new ObterMensagemRetornoPI(); + public BuscaDataAtualResponse createBuscaDataAtualResponse() { + return new BuscaDataAtualResponse(); } /** * Create an instance of {@link SolicitaPLP } - * + * */ public SolicitaPLP createSolicitaPLP() { return new SolicitaPLP(); } + /** + * Create an instance of {@link ErroMontagemRelatorio } + * + */ + public ErroMontagemRelatorio createErroMontagemRelatorio() { + return new ErroMontagemRelatorio(); + } + /** * Create an instance of {@link ValidaPlpResponse } - * + * */ public ValidaPlpResponse createValidaPlpResponse() { return new ValidaPlpResponse(); } + /** + * Create an instance of {@link VerificaModalTransporte } + * + */ + public VerificaModalTransporte createVerificaModalTransporte() { + return new VerificaModalTransporte(); + } + /** * Create an instance of {@link GeraDigitoVerificadorEtiquetasResponse } - * + * */ public GeraDigitoVerificadorEtiquetasResponse createGeraDigitoVerificadorEtiquetasResponse() { return new GeraDigitoVerificadorEtiquetasResponse(); @@ -286,7 +433,7 @@ public GeraDigitoVerificadorEtiquetasResponse createGeraDigitoVerificadorEtiquet /** * Create an instance of {@link SolicitaXmlPlpResponse } - * + * */ public SolicitaXmlPlpResponse createSolicitaXmlPlpResponse() { return new SolicitaXmlPlpResponse(); @@ -294,47 +441,95 @@ public SolicitaXmlPlpResponse createSolicitaXmlPlpResponse() { /** * Create an instance of {@link SQLException } - * + * */ public SQLException createSQLException() { return new SQLException(); } + /** + * Create an instance of {@link VerificaModalTransporteResponse } + * + */ + public VerificaModalTransporteResponse createVerificaModalTransporteResponse() { + return new VerificaModalTransporteResponse(); + } + /** * Create an instance of {@link ObterEmbalagemLRSResponse } - * + * */ public ObterEmbalagemLRSResponse createObterEmbalagemLRSResponse() { return new ObterEmbalagemLRSResponse(); } + /** + * Create an instance of {@link BuscaServicosValorDeclaradoResponse } + * + */ + public BuscaServicosValorDeclaradoResponse createBuscaServicosValorDeclaradoResponse() { + return new BuscaServicosValorDeclaradoResponse(); + } + + /** + * Create an instance of {@link BuscaServicosValorDeclarado } + * + */ + public BuscaServicosValorDeclarado createBuscaServicosValorDeclarado() { + return new BuscaServicosValorDeclarado(); + } + /** * Create an instance of {@link ObterClienteAtualizacaoResponse } - * + * */ public ObterClienteAtualizacaoResponse createObterClienteAtualizacaoResponse() { return new ObterClienteAtualizacaoResponse(); } + /** + * Create an instance of {@link VerificaSeTodosObjetosCancelados } + * + */ + public VerificaSeTodosObjetosCancelados createVerificaSeTodosObjetosCancelados() { + return new VerificaSeTodosObjetosCancelados(); + } + + /** + * Create an instance of {@link ObterMensagemParametrizadaResponse } + * + */ + public ObterMensagemParametrizadaResponse createObterMensagemParametrizadaResponse() { + return new ObterMensagemParametrizadaResponse(); + } + + /** + * Create an instance of {@link BuscaServicosAdicionaisAtivos } + * + */ + public BuscaServicosAdicionaisAtivos createBuscaServicosAdicionaisAtivos() { + return new BuscaServicosAdicionaisAtivos(); + } + /** * Create an instance of {@link FechaPlp } - * + * */ public FechaPlp createFechaPlp() { return new FechaPlp(); } /** - * Create an instance of {@link ConsultaSRO } - * + * Create an instance of {@link PesquisarDimensoesServicoResponse } + * */ - public ConsultaSRO createConsultaSRO() { - return new ConsultaSRO(); + public PesquisarDimensoesServicoResponse createPesquisarDimensoesServicoResponse() { + return new PesquisarDimensoesServicoResponse(); } /** * Create an instance of {@link FechaPlpVariosServicos } - * + * */ public FechaPlpVariosServicos createFechaPlpVariosServicos() { return new FechaPlpVariosServicos(); @@ -342,7 +537,7 @@ public FechaPlpVariosServicos createFechaPlpVariosServicos() { /** * Create an instance of {@link GeraDigitoVerificadorEtiquetas } - * + * */ public GeraDigitoVerificadorEtiquetas createGeraDigitoVerificadorEtiquetas() { return new GeraDigitoVerificadorEtiquetas(); @@ -350,7 +545,7 @@ public GeraDigitoVerificadorEtiquetas createGeraDigitoVerificadorEtiquetas() { /** * Create an instance of {@link ObterEmbalagemLRS } - * + * */ public ObterEmbalagemLRS createObterEmbalagemLRS() { return new ObterEmbalagemLRS(); @@ -358,7 +553,7 @@ public ObterEmbalagemLRS createObterEmbalagemLRS() { /** * Create an instance of {@link BloquearObjetoResponse } - * + * */ public BloquearObjetoResponse createBloquearObjetoResponse() { return new BloquearObjetoResponse(); @@ -366,7 +561,7 @@ public BloquearObjetoResponse createBloquearObjetoResponse() { /** * Create an instance of {@link GetStatusCartaoPostagemResponse } - * + * */ public GetStatusCartaoPostagemResponse createGetStatusCartaoPostagemResponse() { return new GetStatusCartaoPostagemResponse(); @@ -374,7 +569,7 @@ public GetStatusCartaoPostagemResponse createGetStatusCartaoPostagemResponse() { /** * Create an instance of {@link BuscaClienteResponse } - * + * */ public BuscaClienteResponse createBuscaClienteResponse() { return new BuscaClienteResponse(); @@ -382,7 +577,7 @@ public BuscaClienteResponse createBuscaClienteResponse() { /** * Create an instance of {@link SolicitaEtiquetasResponse } - * + * */ public SolicitaEtiquetasResponse createSolicitaEtiquetasResponse() { return new SolicitaEtiquetasResponse(); @@ -390,7 +585,7 @@ public SolicitaEtiquetasResponse createSolicitaEtiquetasResponse() { /** * Create an instance of {@link VerificaDisponibilidadeServico } - * + * */ public VerificaDisponibilidadeServico createVerificaDisponibilidadeServico() { return new VerificaDisponibilidadeServico(); @@ -398,7 +593,7 @@ public VerificaDisponibilidadeServico createVerificaDisponibilidadeServico() { /** * Create an instance of {@link BuscaContratoResponse } - * + * */ public BuscaContratoResponse createBuscaContratoResponse() { return new BuscaContratoResponse(); @@ -406,15 +601,23 @@ public BuscaContratoResponse createBuscaContratoResponse() { /** * Create an instance of {@link CancelarPedidoScol } - * + * */ public CancelarPedidoScol createCancelarPedidoScol() { return new CancelarPedidoScol(); } + /** + * Create an instance of {@link BuscaServicosAdicionaisAtivosResponse } + * + */ + public BuscaServicosAdicionaisAtivosResponse createBuscaServicosAdicionaisAtivosResponse() { + return new BuscaServicosAdicionaisAtivosResponse(); + } + /** * Create an instance of {@link BloquearObjeto } - * + * */ public BloquearObjeto createBloquearObjeto() { return new BloquearObjeto(); @@ -422,7 +625,7 @@ public BloquearObjeto createBloquearObjeto() { /** * Create an instance of {@link BuscaContrato } - * + * */ public BuscaContrato createBuscaContrato() { return new BuscaContrato(); @@ -430,7 +633,7 @@ public BuscaContrato createBuscaContrato() { /** * Create an instance of {@link SolicitaEtiquetas } - * + * */ public SolicitaEtiquetas createSolicitaEtiquetas() { return new SolicitaEtiquetas(); @@ -438,7 +641,7 @@ public SolicitaEtiquetas createSolicitaEtiquetas() { /** * Create an instance of {@link SolicitaXmlPlp } - * + * */ public SolicitaXmlPlp createSolicitaXmlPlp() { return new SolicitaXmlPlp(); @@ -446,31 +649,31 @@ public SolicitaXmlPlp createSolicitaXmlPlp() { /** * Create an instance of {@link GetStatusPLP } - * + * */ public GetStatusPLP createGetStatusPLP() { return new GetStatusPLP(); } /** - * Create an instance of {@link ObterMotivosPI } - * + * Create an instance of {@link GetStatusPLPResponse } + * */ - public ObterMotivosPI createObterMotivosPI() { - return new ObterMotivosPI(); + public GetStatusPLPResponse createGetStatusPLPResponse() { + return new GetStatusPLPResponse(); } /** - * Create an instance of {@link GetStatusPLPResponse } - * + * Create an instance of {@link PesquisarEmbalagensPorServicoResponse } + * */ - public GetStatusPLPResponse createGetStatusPLPResponse() { - return new GetStatusPLPResponse(); + public PesquisarEmbalagensPorServicoResponse createPesquisarEmbalagensPorServicoResponse() { + return new PesquisarEmbalagensPorServicoResponse(); } /** * Create an instance of {@link BuscaServicos } - * + * */ public BuscaServicos createBuscaServicos() { return new BuscaServicos(); @@ -478,7 +681,7 @@ public BuscaServicos createBuscaServicos() { /** * Create an instance of {@link BuscaPagamentoEntrega } - * + * */ public BuscaPagamentoEntrega createBuscaPagamentoEntrega() { return new BuscaPagamentoEntrega(); @@ -486,7 +689,7 @@ public BuscaPagamentoEntrega createBuscaPagamentoEntrega() { /** * Create an instance of {@link FechaPlpResponse } - * + * */ public FechaPlpResponse createFechaPlpResponse() { return new FechaPlpResponse(); @@ -494,7 +697,7 @@ public FechaPlpResponse createFechaPlpResponse() { /** * Create an instance of {@link BuscaCliente } - * + * */ public BuscaCliente createBuscaCliente() { return new BuscaCliente(); @@ -502,15 +705,23 @@ public BuscaCliente createBuscaCliente() { /** * Create an instance of {@link Exception } - * + * */ public Exception createException() { return new Exception(); } + /** + * Create an instance of {@link BuscaOpcoesResponse } + * + */ + public BuscaOpcoesResponse createBuscaOpcoesResponse() { + return new BuscaOpcoesResponse(); + } + /** * Create an instance of {@link FechaPlpVariosServicosResponse } - * + * */ public FechaPlpVariosServicosResponse createFechaPlpVariosServicosResponse() { return new FechaPlpVariosServicosResponse(); @@ -518,55 +729,111 @@ public FechaPlpVariosServicosResponse createFechaPlpVariosServicosResponse() { /** * Create an instance of {@link ConsultaCEP } - * + * */ public ConsultaCEP createConsultaCEP() { return new ConsultaCEP(); } + /** + * Create an instance of {@link PesquisarDimensoesServico } + * + */ + public PesquisarDimensoesServico createPesquisarDimensoesServico() { + return new PesquisarDimensoesServico(); + } + + /** + * Create an instance of {@link CalculaTarifaServicoResponse } + * + */ + public CalculaTarifaServicoResponse createCalculaTarifaServicoResponse() { + return new CalculaTarifaServicoResponse(); + } + /** * Create an instance of {@link CancelarPedidoScolResponse } - * + * */ public CancelarPedidoScolResponse createCancelarPedidoScolResponse() { return new CancelarPedidoScolResponse(); } /** - * Create an instance of {@link ConsultarPedidosInformacaoResponse } - * + * Create an instance of {@link BuscaTarifaVale } + * */ - public ConsultarPedidosInformacaoResponse createConsultarPedidosInformacaoResponse() { - return new ConsultarPedidosInformacaoResponse(); + public BuscaTarifaVale createBuscaTarifaVale() { + return new BuscaTarifaVale(); } /** * Create an instance of {@link ValidarPostagemSimultanea } - * + * */ public ValidarPostagemSimultanea createValidarPostagemSimultanea() { return new ValidarPostagemSimultanea(); } + /** + * Create an instance of {@link AtualizaRemessaAgrupadaResponse } + * + */ + public AtualizaRemessaAgrupadaResponse createAtualizaRemessaAgrupadaResponse() { + return new AtualizaRemessaAgrupadaResponse(); + } + + /** + * Create an instance of {@link BuscaDataAtual } + * + */ + public BuscaDataAtual createBuscaDataAtual() { + return new BuscaDataAtual(); + } + /** * Create an instance of {@link GetStatusCartaoPostagem } - * + * */ public GetStatusCartaoPostagem createGetStatusCartaoPostagem() { return new GetStatusCartaoPostagem(); } + /** + * Create an instance of {@link MedidaTO } + * + */ + public MedidaTO createMedidaTO() { + return new MedidaTO(); + } + + /** + * Create an instance of {@link ColetaSimultanea } + * + */ + public ColetaSimultanea createColetaSimultanea() { + return new ColetaSimultanea(); + } + /** * Create an instance of {@link ServicoAdicionalERP } - * + * */ public ServicoAdicionalERP createServicoAdicionalERP() { return new ServicoAdicionalERP(); } + /** + * Create an instance of {@link MensagemParametrizadaTO } + * + */ + public MensagemParametrizadaTO createMensagemParametrizadaTO() { + return new MensagemParametrizadaTO(); + } + /** * Create an instance of {@link ServicoERP } - * + * */ public ServicoERP createServicoERP() { return new ServicoERP(); @@ -574,7 +841,7 @@ public ServicoERP createServicoERP() { /** * Create an instance of {@link PreListaPostagem } - * + * */ public PreListaPostagem createPreListaPostagem() { return new PreListaPostagem(); @@ -582,87 +849,119 @@ public PreListaPostagem createPreListaPostagem() { /** * Create an instance of {@link VigenciaERP } - * + * */ public VigenciaERP createVigenciaERP() { return new VigenciaERP(); } /** - * Create an instance of {@link Destinatario } - * + * Create an instance of {@link DimensaoTO } + * + */ + public DimensaoTO createDimensaoTO() { + return new DimensaoTO(); + } + + /** + * Create an instance of {@link Coleta } + * + */ + public Coleta createColeta() { + return new Coleta(); + } + + /** + * Create an instance of {@link ColetaReversa } + * */ - public Destinatario createDestinatario() { - return new Destinatario(); + public ColetaReversa createColetaReversa() { + return new ColetaReversa(); } /** * Create an instance of {@link EnderecoERP } - * + * */ public EnderecoERP createEnderecoERP() { return new EnderecoERP(); } /** - * Create an instance of {@link RetornoCancelamentoTO } - * + * Create an instance of {@link ValePostal } + * */ - public RetornoCancelamentoTO createRetornoCancelamentoTO() { - return new RetornoCancelamentoTO(); + public ValePostal createValePostal() { + return new ValePostal(); + } + + /** + * Create an instance of {@link ChancelaMaster } + * + */ + public ChancelaMaster createChancelaMaster() { + return new ChancelaMaster(); } /** * Create an instance of {@link Pessoa } - * + * */ public Pessoa createPessoa() { return new Pessoa(); } /** - * Create an instance of {@link ChancelaMaster } - * + * Create an instance of {@link Objeto } + * */ - public ChancelaMaster createChancelaMaster() { - return new ChancelaMaster(); + public Objeto createObjeto() { + return new Objeto(); } /** - * Create an instance of {@link ContratoERPPK } - * + * Create an instance of {@link ObjetoSimplificado } + * */ - public ContratoERPPK createContratoERPPK() { - return new ContratoERPPK(); + public ObjetoSimplificado createObjetoSimplificado() { + return new ObjetoSimplificado(); } /** * Create an instance of {@link GerenteConta } - * + * */ public GerenteConta createGerenteConta() { return new GerenteConta(); } /** - * Create an instance of {@link UnidadePostagemERP } - * + * Create an instance of {@link ContratoERPPK } + * */ - public UnidadePostagemERP createUnidadePostagemERP() { - return new UnidadePostagemERP(); + public ContratoERPPK createContratoERPPK() { + return new ContratoERPPK(); } /** * Create an instance of {@link UsuarioInstalacao } - * + * */ public UsuarioInstalacao createUsuarioInstalacao() { return new UsuarioInstalacao(); } + /** + * Create an instance of {@link UnidadePostagemERP } + * + */ + public UnidadePostagemERP createUnidadePostagemERP() { + return new UnidadePostagemERP(); + } + /** * Create an instance of {@link Remetente } - * + * */ public Remetente createRemetente() { return new Remetente(); @@ -670,135 +969,79 @@ public Remetente createRemetente() { /** * Create an instance of {@link ObjetoPostalPK } - * + * */ public ObjetoPostalPK createObjetoPostalPK() { return new ObjetoPostalPK(); } - /** - * Create an instance of {@link ProdutoTO } - * - */ - public ProdutoTO createProdutoTO() { - return new ProdutoTO(); - } - /** * Create an instance of {@link ServicoSigep } - * + * */ public ServicoSigep createServicoSigep() { return new ServicoSigep(); } - /** - * Create an instance of {@link RemetenteTO } - * - */ - public RemetenteTO createRemetenteTO() { - return new RemetenteTO(); - } - /** * Create an instance of {@link EmbalagemLRSMaster } - * + * */ public EmbalagemLRSMaster createEmbalagemLRSMaster() { return new EmbalagemLRSMaster(); } /** - * Create an instance of {@link ColetaReversaTO } - * - */ - public ColetaReversaTO createColetaReversaTO() { - return new ColetaReversaTO(); - } - - /** - * Create an instance of {@link Retorno } - * - */ - public Retorno createRetorno() { - return new Retorno(); - } - - /** - * Create an instance of {@link PessoaTO } - * - */ - public PessoaTO createPessoaTO() { - return new PessoaTO(); - } - - /** - * Create an instance of {@link ObjetoSimplificadoTO } - * - */ - public ObjetoSimplificadoTO createObjetoSimplificadoTO() { - return new ObjetoSimplificadoTO(); - } - - /** - * Create an instance of {@link AssuntoPIMaster } - * - */ - public AssuntoPIMaster createAssuntoPIMaster() { - return new AssuntoPIMaster(); - } - - /** - * Create an instance of {@link ColetaSimultaneaTO } - * + * Create an instance of {@link Produto } + * */ - public ColetaSimultaneaTO createColetaSimultaneaTO() { - return new ColetaSimultaneaTO(); + public Produto createProduto() { + return new Produto(); } /** - * Create an instance of {@link Cliente } - * + * Create an instance of {@link ValorDeclarado } + * */ - public Cliente createCliente() { - return new Cliente(); + public ValorDeclarado createValorDeclarado() { + return new ValorDeclarado(); } /** * Create an instance of {@link ClienteERP } - * + * */ public ClienteERP createClienteERP() { return new ClienteERP(); } /** - * Create an instance of {@link Conta } - * + * Create an instance of {@link ServicoAdicionalXML } + * */ - public Conta createConta() { - return new Conta(); + public ServicoAdicionalXML createServicoAdicionalXML() { + return new ServicoAdicionalXML(); } /** * Create an instance of {@link CartaoPostagemERP } - * + * */ public CartaoPostagemERP createCartaoPostagemERP() { return new CartaoPostagemERP(); } /** - * Create an instance of {@link Postagem } - * + * Create an instance of {@link ServicoAdicionalTO } + * */ - public Postagem createPostagem() { - return new Postagem(); + public ServicoAdicionalTO createServicoAdicionalTO() { + return new ServicoAdicionalTO(); } /** * Create an instance of {@link ObjetoPostal } - * + * */ public ObjetoPostal createObjetoPostal() { return new ObjetoPostal(); @@ -806,574 +1049,809 @@ public ObjetoPostal createObjetoPostal() { /** * Create an instance of {@link ParametroMaster } - * + * */ public ParametroMaster createParametroMaster() { return new ParametroMaster(); } /** - * Create an instance of {@link ObjetoTO } - * + * Create an instance of {@link ContratoERP } + * */ - public ObjetoTO createObjetoTO() { - return new ObjetoTO(); + public ContratoERP createContratoERP() { + return new ContratoERP(); } /** - * Create an instance of {@link ColetaTO } - * + * Create an instance of {@link RetornoCancelamento } + * */ - public ColetaTO createColetaTO() { - return new ColetaTO(); + public RetornoCancelamento createRetornoCancelamento() { + return new RetornoCancelamento(); } /** - * Create an instance of {@link ContratoERP } - * + * Create an instance of {@link JAXBElement }{@code <}{@link BuscaServicosAdicionaisAtivos }{@code >}} + * */ - public ContratoERP createContratoERP() { - return new ContratoERP(); + @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "buscaServicosAdicionaisAtivos") + public JAXBElement createBuscaServicosAdicionaisAtivos(BuscaServicosAdicionaisAtivos value) { + return new JAXBElement(_BuscaServicosAdicionaisAtivos_QNAME, BuscaServicosAdicionaisAtivos.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link FechaPlp }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "fechaPlp") public JAXBElement createFechaPlp(FechaPlp value) { - return new JAXBElement<>(_FechaPlp_QNAME, FechaPlp.class, null, value); + return new JAXBElement(_FechaPlp_QNAME, FechaPlp.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link PesquisarDimensoesServicoResponse }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "pesquisarDimensoesServicoResponse") + public JAXBElement createPesquisarDimensoesServicoResponse(PesquisarDimensoesServicoResponse value) { + return new JAXBElement(_PesquisarDimensoesServicoResponse_QNAME, PesquisarDimensoesServicoResponse.class, null, value); } /** - * Create an instance of {@link JAXBElement }{@code <}{@link ConsultaSRO }{@code >}} - * + * Create an instance of {@link JAXBElement }{@code <}{@link VerificaSeTodosObjetosCancelados }{@code >}} + * */ - @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "consultaSRO") - public JAXBElement createConsultaSRO(ConsultaSRO value) { - return new JAXBElement<>(_ConsultaSRO_QNAME, ConsultaSRO.class, null, value); + @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "VerificaSeTodosObjetosCancelados") + public JAXBElement createVerificaSeTodosObjetosCancelados(VerificaSeTodosObjetosCancelados value) { + return new JAXBElement(_VerificaSeTodosObjetosCancelados_QNAME, VerificaSeTodosObjetosCancelados.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link ObterClienteAtualizacaoResponse }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "obterClienteAtualizacaoResponse") public JAXBElement createObterClienteAtualizacaoResponse(ObterClienteAtualizacaoResponse value) { - return new JAXBElement<>(_ObterClienteAtualizacaoResponse_QNAME, ObterClienteAtualizacaoResponse.class, null, value); + return new JAXBElement(_ObterClienteAtualizacaoResponse_QNAME, ObterClienteAtualizacaoResponse.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ObterMensagemParametrizadaResponse }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "obterMensagemParametrizadaResponse") + public JAXBElement createObterMensagemParametrizadaResponse(ObterMensagemParametrizadaResponse value) { + return new JAXBElement(_ObterMensagemParametrizadaResponse_QNAME, ObterMensagemParametrizadaResponse.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link BuscaClienteResponse }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "buscaClienteResponse") public JAXBElement createBuscaClienteResponse(BuscaClienteResponse value) { - return new JAXBElement<>(_BuscaClienteResponse_QNAME, BuscaClienteResponse.class, null, value); + return new JAXBElement(_BuscaClienteResponse_QNAME, BuscaClienteResponse.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link GetStatusCartaoPostagemResponse }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "getStatusCartaoPostagemResponse") public JAXBElement createGetStatusCartaoPostagemResponse(GetStatusCartaoPostagemResponse value) { - return new JAXBElement<>(_GetStatusCartaoPostagemResponse_QNAME, GetStatusCartaoPostagemResponse.class, null, value); + return new JAXBElement(_GetStatusCartaoPostagemResponse_QNAME, GetStatusCartaoPostagemResponse.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link SolicitaEtiquetasResponse }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "solicitaEtiquetasResponse") public JAXBElement createSolicitaEtiquetasResponse(SolicitaEtiquetasResponse value) { - return new JAXBElement<>(_SolicitaEtiquetasResponse_QNAME, SolicitaEtiquetasResponse.class, null, value); + return new JAXBElement(_SolicitaEtiquetasResponse_QNAME, SolicitaEtiquetasResponse.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link VerificaDisponibilidadeServico }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "verificaDisponibilidadeServico") public JAXBElement createVerificaDisponibilidadeServico(VerificaDisponibilidadeServico value) { - return new JAXBElement<>(_VerificaDisponibilidadeServico_QNAME, VerificaDisponibilidadeServico.class, null, value); + return new JAXBElement(_VerificaDisponibilidadeServico_QNAME, VerificaDisponibilidadeServico.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link FechaPlpVariosServicos }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "fechaPlpVariosServicos") public JAXBElement createFechaPlpVariosServicos(FechaPlpVariosServicos value) { - return new JAXBElement<>(_FechaPlpVariosServicos_QNAME, FechaPlpVariosServicos.class, null, value); + return new JAXBElement(_FechaPlpVariosServicos_QNAME, FechaPlpVariosServicos.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link GeraDigitoVerificadorEtiquetas }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "geraDigitoVerificadorEtiquetas") public JAXBElement createGeraDigitoVerificadorEtiquetas(GeraDigitoVerificadorEtiquetas value) { - return new JAXBElement<>(_GeraDigitoVerificadorEtiquetas_QNAME, GeraDigitoVerificadorEtiquetas.class, null, value); + return new JAXBElement(_GeraDigitoVerificadorEtiquetas_QNAME, GeraDigitoVerificadorEtiquetas.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link ObterEmbalagemLRS }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "obterEmbalagemLRS") public JAXBElement createObterEmbalagemLRS(ObterEmbalagemLRS value) { - return new JAXBElement<>(_ObterEmbalagemLRS_QNAME, ObterEmbalagemLRS.class, null, value); + return new JAXBElement(_ObterEmbalagemLRS_QNAME, ObterEmbalagemLRS.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "AutenticacaoException") public JAXBElement createAutenticacaoException(String value) { - return new JAXBElement<>(_AutenticacaoException_QNAME, String.class, null, value); + return new JAXBElement(_AutenticacaoException_QNAME, String.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link BloquearObjetoResponse }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "bloquearObjetoResponse") public JAXBElement createBloquearObjetoResponse(BloquearObjetoResponse value) { - return new JAXBElement<>(_BloquearObjetoResponse_QNAME, BloquearObjetoResponse.class, null, value); + return new JAXBElement(_BloquearObjetoResponse_QNAME, BloquearObjetoResponse.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link SQLException }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "SQLException") public JAXBElement createSQLException(SQLException value) { - return new JAXBElement<>(_SQLException_QNAME, SQLException.class, null, value); + return new JAXBElement(_SQLException_QNAME, SQLException.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link GeraDigitoVerificadorEtiquetasResponse }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "geraDigitoVerificadorEtiquetasResponse") public JAXBElement createGeraDigitoVerificadorEtiquetasResponse(GeraDigitoVerificadorEtiquetasResponse value) { - return new JAXBElement<>(_GeraDigitoVerificadorEtiquetasResponse_QNAME, GeraDigitoVerificadorEtiquetasResponse.class, null, value); + return new JAXBElement(_GeraDigitoVerificadorEtiquetasResponse_QNAME, GeraDigitoVerificadorEtiquetasResponse.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link SolicitaXmlPlpResponse }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "solicitaXmlPlpResponse") public JAXBElement createSolicitaXmlPlpResponse(SolicitaXmlPlpResponse value) { - return new JAXBElement<>(_SolicitaXmlPlpResponse_QNAME, SolicitaXmlPlpResponse.class, null, value); + return new JAXBElement(_SolicitaXmlPlpResponse_QNAME, SolicitaXmlPlpResponse.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link ObterEmbalagemLRSResponse }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "obterEmbalagemLRSResponse") public JAXBElement createObterEmbalagemLRSResponse(ObterEmbalagemLRSResponse value) { - return new JAXBElement<>(_ObterEmbalagemLRSResponse_QNAME, ObterEmbalagemLRSResponse.class, null, value); + return new JAXBElement(_ObterEmbalagemLRSResponse_QNAME, ObterEmbalagemLRSResponse.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link VerificaModalTransporteResponse }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "verificaModalTransporteResponse") + public JAXBElement createVerificaModalTransporteResponse(VerificaModalTransporteResponse value) { + return new JAXBElement(_VerificaModalTransporteResponse_QNAME, VerificaModalTransporteResponse.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "SigepClienteException") public JAXBElement createSigepClienteException(String value) { - return new JAXBElement<>(_SigepClienteException_QNAME, String.class, null, value); + return new JAXBElement(_SigepClienteException_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link BuscaServicosValorDeclarado }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "buscaServicosValorDeclarado") + public JAXBElement createBuscaServicosValorDeclarado(BuscaServicosValorDeclarado value) { + return new JAXBElement(_BuscaServicosValorDeclarado_QNAME, BuscaServicosValorDeclarado.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link BuscaServicosValorDeclaradoResponse }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "buscaServicosValorDeclaradoResponse") + public JAXBElement createBuscaServicosValorDeclaradoResponse(BuscaServicosValorDeclaradoResponse value) { + return new JAXBElement(_BuscaServicosValorDeclaradoResponse_QNAME, BuscaServicosValorDeclaradoResponse.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link ConsultaCEP }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "consultaCEP") public JAXBElement createConsultaCEP(ConsultaCEP value) { - return new JAXBElement<>(_ConsultaCEP_QNAME, ConsultaCEP.class, null, value); + return new JAXBElement(_ConsultaCEP_QNAME, ConsultaCEP.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link PesquisarDimensoesServico }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "pesquisarDimensoesServico") + public JAXBElement createPesquisarDimensoesServico(PesquisarDimensoesServico value) { + return new JAXBElement(_PesquisarDimensoesServico_QNAME, PesquisarDimensoesServico.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link BuscaOpcoesResponse }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "buscaOpcoesResponse") + public JAXBElement createBuscaOpcoesResponse(BuscaOpcoesResponse value) { + return new JAXBElement(_BuscaOpcoesResponse_QNAME, BuscaOpcoesResponse.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link FechaPlpVariosServicosResponse }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "fechaPlpVariosServicosResponse") public JAXBElement createFechaPlpVariosServicosResponse(FechaPlpVariosServicosResponse value) { - return new JAXBElement<>(_FechaPlpVariosServicosResponse_QNAME, FechaPlpVariosServicosResponse.class, null, value); + return new JAXBElement(_FechaPlpVariosServicosResponse_QNAME, FechaPlpVariosServicosResponse.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link GetStatusCartaoPostagem }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "getStatusCartaoPostagem") public JAXBElement createGetStatusCartaoPostagem(GetStatusCartaoPostagem value) { - return new JAXBElement<>(_GetStatusCartaoPostagem_QNAME, GetStatusCartaoPostagem.class, null, value); + return new JAXBElement(_GetStatusCartaoPostagem_QNAME, GetStatusCartaoPostagem.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CalculaTarifaServicoResponse }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "calculaTarifaServicoResponse") + public JAXBElement createCalculaTarifaServicoResponse(CalculaTarifaServicoResponse value) { + return new JAXBElement(_CalculaTarifaServicoResponse_QNAME, CalculaTarifaServicoResponse.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link CancelarPedidoScolResponse }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "cancelarPedidoScolResponse") public JAXBElement createCancelarPedidoScolResponse(CancelarPedidoScolResponse value) { - return new JAXBElement<>(_CancelarPedidoScolResponse_QNAME, CancelarPedidoScolResponse.class, null, value); + return new JAXBElement(_CancelarPedidoScolResponse_QNAME, CancelarPedidoScolResponse.class, null, value); } /** - * Create an instance of {@link JAXBElement }{@code <}{@link ConsultarPedidosInformacaoResponse }{@code >}} - * + * Create an instance of {@link JAXBElement }{@code <}{@link AtualizaRemessaAgrupadaResponse }{@code >}} + * */ - @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "consultarPedidosInformacaoResponse") - public JAXBElement createConsultarPedidosInformacaoResponse(ConsultarPedidosInformacaoResponse value) { - return new JAXBElement<>(_ConsultarPedidosInformacaoResponse_QNAME, ConsultarPedidosInformacaoResponse.class, null, value); + @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "atualizaRemessaAgrupadaResponse") + public JAXBElement createAtualizaRemessaAgrupadaResponse(AtualizaRemessaAgrupadaResponse value) { + return new JAXBElement(_AtualizaRemessaAgrupadaResponse_QNAME, AtualizaRemessaAgrupadaResponse.class, null, value); } /** - * Create an instance of {@link JAXBElement }{@code <}{@link ValidarPostagemSimultanea }{@code >}} - * + * Create an instance of {@link JAXBElement }{@code <}{@link BuscaDataAtual }{@code >}} + * */ - @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "validarPostagemSimultanea") - public JAXBElement createValidarPostagemSimultanea(ValidarPostagemSimultanea value) { - return new JAXBElement<>(_ValidarPostagemSimultanea_QNAME, ValidarPostagemSimultanea.class, null, value); + @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "buscaDataAtual") + public JAXBElement createBuscaDataAtual(BuscaDataAtual value) { + return new JAXBElement(_BuscaDataAtual_QNAME, BuscaDataAtual.class, null, value); } /** - * Create an instance of {@link JAXBElement }{@code <}{@link ObterMotivosPI }{@code >}} - * + * Create an instance of {@link JAXBElement }{@code <}{@link BuscaTarifaVale }{@code >}} + * */ - @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "obterMotivosPI") - public JAXBElement createObterMotivosPI(ObterMotivosPI value) { - return new JAXBElement<>(_ObterMotivosPI_QNAME, ObterMotivosPI.class, null, value); + @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "buscaTarifaVale") + public JAXBElement createBuscaTarifaVale(BuscaTarifaVale value) { + return new JAXBElement(_BuscaTarifaVale_QNAME, BuscaTarifaVale.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ValidarPostagemSimultanea }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "validarPostagemSimultanea") + public JAXBElement createValidarPostagemSimultanea(ValidarPostagemSimultanea value) { + return new JAXBElement(_ValidarPostagemSimultanea_QNAME, ValidarPostagemSimultanea.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link GetStatusPLP }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "getStatusPLP") public JAXBElement createGetStatusPLP(GetStatusPLP value) { - return new JAXBElement<>(_GetStatusPLP_QNAME, GetStatusPLP.class, null, value); + return new JAXBElement(_GetStatusPLP_QNAME, GetStatusPLP.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link BuscaContratoResponse }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "buscaContratoResponse") public JAXBElement createBuscaContratoResponse(BuscaContratoResponse value) { - return new JAXBElement<>(_BuscaContratoResponse_QNAME, BuscaContratoResponse.class, null, value); + return new JAXBElement(_BuscaContratoResponse_QNAME, BuscaContratoResponse.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link CancelarPedidoScol }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "cancelarPedidoScol") public JAXBElement createCancelarPedidoScol(CancelarPedidoScol value) { - return new JAXBElement<>(_CancelarPedidoScol_QNAME, CancelarPedidoScol.class, null, value); + return new JAXBElement(_CancelarPedidoScol_QNAME, CancelarPedidoScol.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link BloquearObjeto }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "bloquearObjeto") public JAXBElement createBloquearObjeto(BloquearObjeto value) { - return new JAXBElement<>(_BloquearObjeto_QNAME, BloquearObjeto.class, null, value); + return new JAXBElement(_BloquearObjeto_QNAME, BloquearObjeto.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link BuscaContrato }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "buscaContrato") public JAXBElement createBuscaContrato(BuscaContrato value) { - return new JAXBElement<>(_BuscaContrato_QNAME, BuscaContrato.class, null, value); + return new JAXBElement(_BuscaContrato_QNAME, BuscaContrato.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link SolicitaEtiquetas }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "solicitaEtiquetas") public JAXBElement createSolicitaEtiquetas(SolicitaEtiquetas value) { - return new JAXBElement<>(_SolicitaEtiquetas_QNAME, SolicitaEtiquetas.class, null, value); + return new JAXBElement(_SolicitaEtiquetas_QNAME, SolicitaEtiquetas.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link SolicitaXmlPlp }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "solicitaXmlPlp") public JAXBElement createSolicitaXmlPlp(SolicitaXmlPlp value) { - return new JAXBElement<>(_SolicitaXmlPlp_QNAME, SolicitaXmlPlp.class, null, value); + return new JAXBElement(_SolicitaXmlPlp_QNAME, SolicitaXmlPlp.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link BuscaServicosAdicionaisAtivosResponse }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "buscaServicosAdicionaisAtivosResponse") + public JAXBElement createBuscaServicosAdicionaisAtivosResponse(BuscaServicosAdicionaisAtivosResponse value) { + return new JAXBElement(_BuscaServicosAdicionaisAtivosResponse_QNAME, BuscaServicosAdicionaisAtivosResponse.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link BuscaCliente }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "buscaCliente") public JAXBElement createBuscaCliente(BuscaCliente value) { - return new JAXBElement<>(_BuscaCliente_QNAME, BuscaCliente.class, null, value); + return new JAXBElement(_BuscaCliente_QNAME, BuscaCliente.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link BuscaPagamentoEntrega }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "buscaPagamentoEntrega") public JAXBElement createBuscaPagamentoEntrega(BuscaPagamentoEntrega value) { - return new JAXBElement<>(_BuscaPagamentoEntrega_QNAME, BuscaPagamentoEntrega.class, null, value); + return new JAXBElement(_BuscaPagamentoEntrega_QNAME, BuscaPagamentoEntrega.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link FechaPlpResponse }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "fechaPlpResponse") public JAXBElement createFechaPlpResponse(FechaPlpResponse value) { - return new JAXBElement<>(_FechaPlpResponse_QNAME, FechaPlpResponse.class, null, value); + return new JAXBElement(_FechaPlpResponse_QNAME, FechaPlpResponse.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link Exception }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "Exception") public JAXBElement createException(Exception value) { - return new JAXBElement<>(_Exception_QNAME, Exception.class, null, value); + return new JAXBElement(_Exception_QNAME, Exception.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link BuscaServicos }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "buscaServicos") public JAXBElement createBuscaServicos(BuscaServicos value) { - return new JAXBElement<>(_BuscaServicos_QNAME, BuscaServicos.class, null, value); + return new JAXBElement(_BuscaServicos_QNAME, BuscaServicos.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link GetStatusPLPResponse }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "getStatusPLPResponse") public JAXBElement createGetStatusPLPResponse(GetStatusPLPResponse value) { - return new JAXBElement<>(_GetStatusPLPResponse_QNAME, GetStatusPLPResponse.class, null, value); + return new JAXBElement(_GetStatusPLPResponse_QNAME, GetStatusPLPResponse.class, null, value); } /** - * Create an instance of {@link JAXBElement }{@code <}{@link ValidaPlp }{@code >}} - * + * Create an instance of {@link JAXBElement }{@code <}{@link PesquisarEmbalagensPorServicoResponse }{@code >}} + * */ - @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "validaPlp") - public JAXBElement createValidaPlp(ValidaPlp value) { - return new JAXBElement<>(_ValidaPlp_QNAME, ValidaPlp.class, null, value); + @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "pesquisarEmbalagensPorServicoResponse") + public JAXBElement createPesquisarEmbalagensPorServicoResponse(PesquisarEmbalagensPorServicoResponse value) { + return new JAXBElement(_PesquisarEmbalagensPorServicoResponse_QNAME, PesquisarEmbalagensPorServicoResponse.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link PesquisarServicosAdicionaisResponse }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "pesquisarServicosAdicionaisResponse") + public JAXBElement createPesquisarServicosAdicionaisResponse(PesquisarServicosAdicionaisResponse value) { + return new JAXBElement(_PesquisarServicosAdicionaisResponse_QNAME, PesquisarServicosAdicionaisResponse.class, null, value); } /** - * Create an instance of {@link JAXBElement }{@code <}{@link ConsultaSROResponse }{@code >}} - * + * Create an instance of {@link JAXBElement }{@code <}{@link CalculaTarifaServico }{@code >}} + * */ - @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "consultaSROResponse") - public JAXBElement createConsultaSROResponse(ConsultaSROResponse value) { - return new JAXBElement<>(_ConsultaSROResponse_QNAME, ConsultaSROResponse.class, null, value); + @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "calculaTarifaServico") + public JAXBElement createCalculaTarifaServico(CalculaTarifaServico value) { + return new JAXBElement(_CalculaTarifaServico_QNAME, CalculaTarifaServico.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ValidaPlp }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "validaPlp") + public JAXBElement createValidaPlp(ValidaPlp value) { + return new JAXBElement(_ValidaPlp_QNAME, ValidaPlp.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link CancelarObjeto }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "cancelarObjeto") public JAXBElement createCancelarObjeto(CancelarObjeto value) { - return new JAXBElement<>(_CancelarObjeto_QNAME, CancelarObjeto.class, null, value); + return new JAXBElement(_CancelarObjeto_QNAME, CancelarObjeto.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link PesquisarParametrosPorDescricao }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "pesquisarParametrosPorDescricao") + public JAXBElement createPesquisarParametrosPorDescricao(PesquisarParametrosPorDescricao value) { + return new JAXBElement(_PesquisarParametrosPorDescricao_QNAME, PesquisarParametrosPorDescricao.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link AtualizaPagamentoNaEntrega }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "atualizaPagamentoNaEntrega") + public JAXBElement createAtualizaPagamentoNaEntrega(AtualizaPagamentoNaEntrega value) { + return new JAXBElement(_AtualizaPagamentoNaEntrega_QNAME, AtualizaPagamentoNaEntrega.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link ObterClienteAtualizacao }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "obterClienteAtualizacao") public JAXBElement createObterClienteAtualizacao(ObterClienteAtualizacao value) { - return new JAXBElement<>(_ObterClienteAtualizacao_QNAME, ObterClienteAtualizacao.class, null, value); + return new JAXBElement(_ObterClienteAtualizacao_QNAME, ObterClienteAtualizacao.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link VerificaDisponibilidadeServicoResponse }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "verificaDisponibilidadeServicoResponse") public JAXBElement createVerificaDisponibilidadeServicoResponse(VerificaDisponibilidadeServicoResponse value) { - return new JAXBElement<>(_VerificaDisponibilidadeServicoResponse_QNAME, VerificaDisponibilidadeServicoResponse.class, null, value); + return new JAXBElement(_VerificaDisponibilidadeServicoResponse_QNAME, VerificaDisponibilidadeServicoResponse.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link ValidaEtiquetaPLPResponse }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "validaEtiquetaPLPResponse") public JAXBElement createValidaEtiquetaPLPResponse(ValidaEtiquetaPLPResponse value) { - return new JAXBElement<>(_ValidaEtiquetaPLPResponse_QNAME, ValidaEtiquetaPLPResponse.class, null, value); + return new JAXBElement(_ValidaEtiquetaPLPResponse_QNAME, ValidaEtiquetaPLPResponse.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link VerificaSeTodosObjetosCanceladosResponse }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "VerificaSeTodosObjetosCanceladosResponse") + public JAXBElement createVerificaSeTodosObjetosCanceladosResponse(VerificaSeTodosObjetosCanceladosResponse value) { + return new JAXBElement(_VerificaSeTodosObjetosCanceladosResponse_QNAME, VerificaSeTodosObjetosCanceladosResponse.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link ValidaEtiquetaPLP }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "validaEtiquetaPLP") public JAXBElement createValidaEtiquetaPLP(ValidaEtiquetaPLP value) { - return new JAXBElement<>(_ValidaEtiquetaPLP_QNAME, ValidaEtiquetaPLP.class, null, value); + return new JAXBElement(_ValidaEtiquetaPLP_QNAME, ValidaEtiquetaPLP.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link CancelarObjetoResponse }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "cancelarObjetoResponse") public JAXBElement createCancelarObjetoResponse(CancelarObjetoResponse value) { - return new JAXBElement<>(_CancelarObjetoResponse_QNAME, CancelarObjetoResponse.class, null, value); + return new JAXBElement(_CancelarObjetoResponse_QNAME, CancelarObjetoResponse.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link AtualizaPagamentoNaEntregaResponse }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "atualizaPagamentoNaEntregaResponse") + public JAXBElement createAtualizaPagamentoNaEntregaResponse(AtualizaPagamentoNaEntregaResponse value) { + return new JAXBElement(_AtualizaPagamentoNaEntregaResponse_QNAME, AtualizaPagamentoNaEntregaResponse.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link BuscaServicosXServicosAdicionaisResponse }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "buscaServicosXServicosAdicionaisResponse") + public JAXBElement createBuscaServicosXServicosAdicionaisResponse(BuscaServicosXServicosAdicionaisResponse value) { + return new JAXBElement(_BuscaServicosXServicosAdicionaisResponse_QNAME, BuscaServicosXServicosAdicionaisResponse.class, null, value); } /** - * Create an instance of {@link JAXBElement }{@code <}{@link RegistrarPedidosInformacaoResponse }{@code >}} - * + * Create an instance of {@link JAXBElement }{@code <}{@link PesquisarParametrosPorDescricaoResponse }{@code >}} + * */ - @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "registrarPedidosInformacaoResponse") - public JAXBElement createRegistrarPedidosInformacaoResponse(RegistrarPedidosInformacaoResponse value) { - return new JAXBElement<>(_RegistrarPedidosInformacaoResponse_QNAME, RegistrarPedidosInformacaoResponse.class, null, value); + @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "pesquisarParametrosPorDescricaoResponse") + public JAXBElement createPesquisarParametrosPorDescricaoResponse(PesquisarParametrosPorDescricaoResponse value) { + return new JAXBElement(_PesquisarParametrosPorDescricaoResponse_QNAME, PesquisarParametrosPorDescricaoResponse.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link SolicitarPostagemScolResponse }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "solicitarPostagemScolResponse") public JAXBElement createSolicitarPostagemScolResponse(SolicitarPostagemScolResponse value) { - return new JAXBElement<>(_SolicitarPostagemScolResponse_QNAME, SolicitarPostagemScolResponse.class, null, value); + return new JAXBElement(_SolicitarPostagemScolResponse_QNAME, SolicitarPostagemScolResponse.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link BuscaTarifaValeResponse }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "buscaTarifaValeResponse") + public JAXBElement createBuscaTarifaValeResponse(BuscaTarifaValeResponse value) { + return new JAXBElement(_BuscaTarifaValeResponse_QNAME, BuscaTarifaValeResponse.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link SolicitaPLPResponse }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "solicitaPLPResponse") public JAXBElement createSolicitaPLPResponse(SolicitaPLPResponse value) { - return new JAXBElement<>(_SolicitaPLPResponse_QNAME, SolicitaPLPResponse.class, null, value); + return new JAXBElement(_SolicitaPLPResponse_QNAME, SolicitaPLPResponse.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link BuscaPagamentoEntregaResponse }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "buscaPagamentoEntregaResponse") public JAXBElement createBuscaPagamentoEntregaResponse(BuscaPagamentoEntregaResponse value) { - return new JAXBElement<>(_BuscaPagamentoEntregaResponse_QNAME, BuscaPagamentoEntregaResponse.class, null, value); + return new JAXBElement(_BuscaPagamentoEntregaResponse_QNAME, BuscaPagamentoEntregaResponse.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link ValidarPostagemSimultaneaResponse }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "validarPostagemSimultaneaResponse") public JAXBElement createValidarPostagemSimultaneaResponse(ValidarPostagemSimultaneaResponse value) { - return new JAXBElement<>(_ValidarPostagemSimultaneaResponse_QNAME, ValidarPostagemSimultaneaResponse.class, null, value); + return new JAXBElement(_ValidarPostagemSimultaneaResponse_QNAME, ValidarPostagemSimultaneaResponse.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link ValidarPostagemReversaResponse }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "validarPostagemReversaResponse") public JAXBElement createValidarPostagemReversaResponse(ValidarPostagemReversaResponse value) { - return new JAXBElement<>(_ValidarPostagemReversaResponse_QNAME, ValidarPostagemReversaResponse.class, null, value); + return new JAXBElement(_ValidarPostagemReversaResponse_QNAME, ValidarPostagemReversaResponse.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link IntegrarUsuarioScol }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "integrarUsuarioScol") public JAXBElement createIntegrarUsuarioScol(IntegrarUsuarioScol value) { - return new JAXBElement<>(_IntegrarUsuarioScol_QNAME, IntegrarUsuarioScol.class, null, value); + return new JAXBElement(_IntegrarUsuarioScol_QNAME, IntegrarUsuarioScol.class, null, value); } /** - * Create an instance of {@link JAXBElement }{@code <}{@link ObterMensagemRetornoPI }{@code >}} - * + * Create an instance of {@link JAXBElement }{@code <}{@link IntegrarUsuarioScolResponse }{@code >}} + * */ - @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "obterMensagemRetornoPI") - public JAXBElement createObterMensagemRetornoPI(ObterMensagemRetornoPI value) { - return new JAXBElement<>(_ObterMensagemRetornoPI_QNAME, ObterMensagemRetornoPI.class, null, value); + @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "integrarUsuarioScolResponse") + public JAXBElement createIntegrarUsuarioScolResponse(IntegrarUsuarioScolResponse value) { + return new JAXBElement(_IntegrarUsuarioScolResponse_QNAME, IntegrarUsuarioScolResponse.class, null, value); } /** - * Create an instance of {@link JAXBElement }{@code <}{@link IntegrarUsuarioScolResponse }{@code >}} - * + * Create an instance of {@link JAXBElement }{@code <}{@link PesquisarEmbalagensPorServico }{@code >}} + * */ - @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "integrarUsuarioScolResponse") - public JAXBElement createIntegrarUsuarioScolResponse(IntegrarUsuarioScolResponse value) { - return new JAXBElement<>(_IntegrarUsuarioScolResponse_QNAME, IntegrarUsuarioScolResponse.class, null, value); + @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "pesquisarEmbalagensPorServico") + public JAXBElement createPesquisarEmbalagensPorServico(PesquisarEmbalagensPorServico value) { + return new JAXBElement(_PesquisarEmbalagensPorServico_QNAME, PesquisarEmbalagensPorServico.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link AtualizaRemessaAgrupada }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "atualizaRemessaAgrupada") + public JAXBElement createAtualizaRemessaAgrupada(AtualizaRemessaAgrupada value) { + return new JAXBElement(_AtualizaRemessaAgrupada_QNAME, AtualizaRemessaAgrupada.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link ConsultaCEPResponse }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "consultaCEPResponse") public JAXBElement createConsultaCEPResponse(ConsultaCEPResponse value) { - return new JAXBElement<>(_ConsultaCEPResponse_QNAME, ConsultaCEPResponse.class, null, value); + return new JAXBElement(_ConsultaCEPResponse_QNAME, ConsultaCEPResponse.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link ValidaPlpResponse }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "validaPlpResponse") public JAXBElement createValidaPlpResponse(ValidaPlpResponse value) { - return new JAXBElement<>(_ValidaPlpResponse_QNAME, ValidaPlpResponse.class, null, value); + return new JAXBElement(_ValidaPlpResponse_QNAME, ValidaPlpResponse.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link SolicitaPLP }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "solicitaPLP") public JAXBElement createSolicitaPLP(SolicitaPLP value) { - return new JAXBElement<>(_SolicitaPLP_QNAME, SolicitaPLP.class, null, value); + return new JAXBElement(_SolicitaPLP_QNAME, SolicitaPLP.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ErroMontagemRelatorio }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "ErroMontagemRelatorio") + public JAXBElement createErroMontagemRelatorio(ErroMontagemRelatorio value) { + return new JAXBElement(_ErroMontagemRelatorio_QNAME, ErroMontagemRelatorio.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link VerificaModalTransporte }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "verificaModalTransporte") + public JAXBElement createVerificaModalTransporte(VerificaModalTransporte value) { + return new JAXBElement(_VerificaModalTransporte_QNAME, VerificaModalTransporte.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link BuscaDataAtualResponse }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "buscaDataAtualResponse") + public JAXBElement createBuscaDataAtualResponse(BuscaDataAtualResponse value) { + return new JAXBElement(_BuscaDataAtualResponse_QNAME, BuscaDataAtualResponse.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link PesquisarServicosAdicionais }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "pesquisarServicosAdicionais") + public JAXBElement createPesquisarServicosAdicionais(PesquisarServicosAdicionais value) { + return new JAXBElement(_PesquisarServicosAdicionais_QNAME, PesquisarServicosAdicionais.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link BuscaServicosXServicosAdicionais }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "buscaServicosXServicosAdicionais") + public JAXBElement createBuscaServicosXServicosAdicionais(BuscaServicosXServicosAdicionais value) { + return new JAXBElement(_BuscaServicosXServicosAdicionais_QNAME, BuscaServicosXServicosAdicionais.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link BuscaServicosResponse }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "buscaServicosResponse") public JAXBElement createBuscaServicosResponse(BuscaServicosResponse value) { - return new JAXBElement<>(_BuscaServicosResponse_QNAME, BuscaServicosResponse.class, null, value); + return new JAXBElement(_BuscaServicosResponse_QNAME, BuscaServicosResponse.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link ValidarPostagemReversa }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "validarPostagemReversa") public JAXBElement createValidarPostagemReversa(ValidarPostagemReversa value) { - return new JAXBElement<>(_ValidarPostagemReversa_QNAME, ValidarPostagemReversa.class, null, value); + return new JAXBElement(_ValidarPostagemReversa_QNAME, ValidarPostagemReversa.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link SolicitarPostagemScol }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "solicitarPostagemScol") public JAXBElement createSolicitarPostagemScol(SolicitarPostagemScol value) { - return new JAXBElement<>(_SolicitarPostagemScol_QNAME, SolicitarPostagemScol.class, null, value); + return new JAXBElement(_SolicitarPostagemScol_QNAME, SolicitarPostagemScol.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ObterMensagemParametrizada }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "obterMensagemParametrizada") + public JAXBElement createObterMensagemParametrizada(ObterMensagemParametrizada value) { + return new JAXBElement(_ObterMensagemParametrizada_QNAME, ObterMensagemParametrizada.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link BuscaOpcoes }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", name = "buscaOpcoes") + public JAXBElement createBuscaOpcoes(BuscaOpcoes value) { + return new JAXBElement(_BuscaOpcoes_QNAME, BuscaOpcoes.class, null, value); } } diff --git a/src/main/java/br/com/correios/webservice/postagem/ObjetoTO.java b/src/main/java/br/com/correios/webservice/postagem/Objeto.java similarity index 95% rename from src/main/java/br/com/correios/webservice/postagem/ObjetoTO.java rename to src/main/java/br/com/correios/webservice/postagem/Objeto.java index aff6001..995014a 100644 --- a/src/main/java/br/com/correios/webservice/postagem/ObjetoTO.java +++ b/src/main/java/br/com/correios/webservice/postagem/Objeto.java @@ -7,12 +7,12 @@ /** - *

Java class for objetoTO complex type. + *

Java class for objeto complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

- * <complexType name="objetoTO">
+ * <complexType name="objeto">
  *   <complexContent>
  *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  *       <sequence>
@@ -30,14 +30,14 @@
  * 
  */
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "objetoTO", propOrder = {
+@XmlType(name = "objeto", propOrder = {
     "desc",
     "entrega",
     "id",
     "item",
     "num"
 })
-public class ObjetoTO {
+public class Objeto {
 
     protected String desc;
     protected String entrega;
diff --git a/src/main/java/br/com/correios/webservice/postagem/ObjetoPostal.java b/src/main/java/br/com/correios/webservice/postagem/ObjetoPostal.java
index 14ccb97..c039696 100644
--- a/src/main/java/br/com/correios/webservice/postagem/ObjetoPostal.java
+++ b/src/main/java/br/com/correios/webservice/postagem/ObjetoPostal.java
@@ -20,11 +20,14 @@
  *       <sequence>
  *         <element name="codigoEtiqueta" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
  *         <element name="dataAtualizacaoCliente" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
+ *         <element name="dataBloqueioObjeto" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
  *         <element name="dataCancelamentoEtiqueta" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
  *         <element name="dataInclusao" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
  *         <element name="objetoPostalPK" type="{http://cliente.bean.master.sigep.bsb.correios.com.br/}objetoPostalPK" minOccurs="0"/>
  *         <element name="plpNu" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
  *         <element name="preListaPostagem" type="{http://cliente.bean.master.sigep.bsb.correios.com.br/}preListaPostagem" minOccurs="0"/>
+ *         <element name="restricaoAerea" type="{http://cliente.bean.master.sigep.bsb.correios.com.br/}simNao" minOccurs="0"/>
+ *         <element name="statusBloqueio" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
  *         <element name="statusEtiqueta" type="{http://cliente.bean.master.sigep.bsb.correios.com.br/}statusObjetoPostal" minOccurs="0"/>
  *       </sequence>
  *     </restriction>
@@ -38,11 +41,14 @@
 @XmlType(name = "objetoPostal", propOrder = {
     "codigoEtiqueta",
     "dataAtualizacaoCliente",
+    "dataBloqueioObjeto",
     "dataCancelamentoEtiqueta",
     "dataInclusao",
     "objetoPostalPK",
     "plpNu",
     "preListaPostagem",
+    "restricaoAerea",
+    "statusBloqueio",
     "statusEtiqueta"
 })
 public class ObjetoPostal {
@@ -51,6 +57,8 @@ public class ObjetoPostal {
     @XmlSchemaType(name = "dateTime")
     protected XMLGregorianCalendar dataAtualizacaoCliente;
     @XmlSchemaType(name = "dateTime")
+    protected XMLGregorianCalendar dataBloqueioObjeto;
+    @XmlSchemaType(name = "dateTime")
     protected XMLGregorianCalendar dataCancelamentoEtiqueta;
     @XmlSchemaType(name = "dateTime")
     protected XMLGregorianCalendar dataInclusao;
@@ -58,6 +66,9 @@ public class ObjetoPostal {
     protected Long plpNu;
     protected PreListaPostagem preListaPostagem;
     @XmlSchemaType(name = "string")
+    protected SimNao restricaoAerea;
+    protected String statusBloqueio;
+    @XmlSchemaType(name = "string")
     protected StatusObjetoPostal statusEtiqueta;
 
     /**
@@ -108,6 +119,30 @@ public void setDataAtualizacaoCliente(XMLGregorianCalendar value) {
         this.dataAtualizacaoCliente = value;
     }
 
+    /**
+     * Gets the value of the dataBloqueioObjeto property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link XMLGregorianCalendar }
+     *     
+     */
+    public XMLGregorianCalendar getDataBloqueioObjeto() {
+        return dataBloqueioObjeto;
+    }
+
+    /**
+     * Sets the value of the dataBloqueioObjeto property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link XMLGregorianCalendar }
+     *     
+     */
+    public void setDataBloqueioObjeto(XMLGregorianCalendar value) {
+        this.dataBloqueioObjeto = value;
+    }
+
     /**
      * Gets the value of the dataCancelamentoEtiqueta property.
      * 
@@ -228,6 +263,54 @@ public void setPreListaPostagem(PreListaPostagem value) {
         this.preListaPostagem = value;
     }
 
+    /**
+     * Gets the value of the restricaoAerea property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link SimNao }
+     *     
+     */
+    public SimNao getRestricaoAerea() {
+        return restricaoAerea;
+    }
+
+    /**
+     * Sets the value of the restricaoAerea property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link SimNao }
+     *     
+     */
+    public void setRestricaoAerea(SimNao value) {
+        this.restricaoAerea = value;
+    }
+
+    /**
+     * Gets the value of the statusBloqueio property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getStatusBloqueio() {
+        return statusBloqueio;
+    }
+
+    /**
+     * Sets the value of the statusBloqueio property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setStatusBloqueio(String value) {
+        this.statusBloqueio = value;
+    }
+
     /**
      * Gets the value of the statusEtiqueta property.
      * 
diff --git a/src/main/java/br/com/correios/webservice/postagem/ObjetoSimplificadoTO.java b/src/main/java/br/com/correios/webservice/postagem/ObjetoSimplificado.java
similarity index 93%
rename from src/main/java/br/com/correios/webservice/postagem/ObjetoSimplificadoTO.java
rename to src/main/java/br/com/correios/webservice/postagem/ObjetoSimplificado.java
index e2deb63..dbb19ce 100644
--- a/src/main/java/br/com/correios/webservice/postagem/ObjetoSimplificadoTO.java
+++ b/src/main/java/br/com/correios/webservice/postagem/ObjetoSimplificado.java
@@ -8,12 +8,12 @@
 
 
 /**
- * 

Java class for objetoSimplificadoTO complex type. + *

Java class for objetoSimplificado complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

- * <complexType name="objetoSimplificadoTO">
+ * <complexType name="objetoSimplificado">
  *   <complexContent>
  *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  *       <sequence>
@@ -29,12 +29,12 @@
  * 
  */
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "objetoSimplificadoTO", propOrder = {
+@XmlType(name = "objetoSimplificado", propOrder = {
     "datahoraCancelamento",
     "numeroPedido",
     "statusPedido"
 })
-public class ObjetoSimplificadoTO {
+public class ObjetoSimplificado {
 
     @XmlElement(name = "datahora_cancelamento")
     protected String datahoraCancelamento;
diff --git a/src/main/java/br/com/correios/webservice/postagem/ObterMensagemParametrizada.java b/src/main/java/br/com/correios/webservice/postagem/ObterMensagemParametrizada.java
new file mode 100644
index 0000000..590c12a
--- /dev/null
+++ b/src/main/java/br/com/correios/webservice/postagem/ObterMensagemParametrizada.java
@@ -0,0 +1,60 @@
+
+package br.com.correios.webservice.postagem;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * 

Java class for obterMensagemParametrizada complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="obterMensagemParametrizada">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="id" type="{http://www.w3.org/2001/XMLSchema}short" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "obterMensagemParametrizada", propOrder = { + "id" +}) +public class ObterMensagemParametrizada { + + protected Short id; + + /** + * Gets the value of the id property. + * + * @return + * possible object is + * {@link Short } + * + */ + public Short getId() { + return id; + } + + /** + * Sets the value of the id property. + * + * @param value + * allowed object is + * {@link Short } + * + */ + public void setId(Short value) { + this.id = value; + } + +} diff --git a/src/main/java/br/com/correios/webservice/postagem/ObterMensagemParametrizadaResponse.java b/src/main/java/br/com/correios/webservice/postagem/ObterMensagemParametrizadaResponse.java new file mode 100644 index 0000000..1a82cde --- /dev/null +++ b/src/main/java/br/com/correios/webservice/postagem/ObterMensagemParametrizadaResponse.java @@ -0,0 +1,62 @@ + +package br.com.correios.webservice.postagem; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for obterMensagemParametrizadaResponse complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="obterMensagemParametrizadaResponse">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="return" type="{http://cliente.bean.master.sigep.bsb.correios.com.br/}mensagemParametrizadaTO" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "obterMensagemParametrizadaResponse", propOrder = { + "_return" +}) +public class ObterMensagemParametrizadaResponse { + + @XmlElement(name = "return") + protected MensagemParametrizadaTO _return; + + /** + * Gets the value of the return property. + * + * @return + * possible object is + * {@link MensagemParametrizadaTO } + * + */ + public MensagemParametrizadaTO getReturn() { + return _return; + } + + /** + * Sets the value of the return property. + * + * @param value + * allowed object is + * {@link MensagemParametrizadaTO } + * + */ + public void setReturn(MensagemParametrizadaTO value) { + this._return = value; + } + +} diff --git a/src/main/java/br/com/correios/webservice/postagem/ObterMensagemRetornoPI.java b/src/main/java/br/com/correios/webservice/postagem/ObterMensagemRetornoPI.java deleted file mode 100644 index de52177..0000000 --- a/src/main/java/br/com/correios/webservice/postagem/ObterMensagemRetornoPI.java +++ /dev/null @@ -1,32 +0,0 @@ - -package br.com.correios.webservice.postagem; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Java class for obterMensagemRetornoPI complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

- * <complexType name="obterMensagemRetornoPI">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "obterMensagemRetornoPI") -public class ObterMensagemRetornoPI { - - -} diff --git a/src/main/java/br/com/correios/webservice/postagem/PesquisarDimensoesServico.java b/src/main/java/br/com/correios/webservice/postagem/PesquisarDimensoesServico.java new file mode 100644 index 0000000..ad76fa8 --- /dev/null +++ b/src/main/java/br/com/correios/webservice/postagem/PesquisarDimensoesServico.java @@ -0,0 +1,87 @@ + +package br.com.correios.webservice.postagem; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for pesquisarDimensoesServico complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="pesquisarDimensoesServico">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="codigo" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="embalagem" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "pesquisarDimensoesServico", propOrder = { + "codigo", + "embalagem" +}) +public class PesquisarDimensoesServico { + + protected String codigo; + protected String embalagem; + + /** + * Gets the value of the codigo property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCodigo() { + return codigo; + } + + /** + * Sets the value of the codigo property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCodigo(String value) { + this.codigo = value; + } + + /** + * Gets the value of the embalagem property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getEmbalagem() { + return embalagem; + } + + /** + * Sets the value of the embalagem property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setEmbalagem(String value) { + this.embalagem = value; + } + +} diff --git a/src/main/java/br/com/correios/webservice/postagem/PesquisarDimensoesServicoResponse.java b/src/main/java/br/com/correios/webservice/postagem/PesquisarDimensoesServicoResponse.java new file mode 100644 index 0000000..a80a3a3 --- /dev/null +++ b/src/main/java/br/com/correios/webservice/postagem/PesquisarDimensoesServicoResponse.java @@ -0,0 +1,62 @@ + +package br.com.correios.webservice.postagem; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for pesquisarDimensoesServicoResponse complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="pesquisarDimensoesServicoResponse">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="return" type="{http://cliente.bean.master.sigep.bsb.correios.com.br/}dimensaoTO" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "pesquisarDimensoesServicoResponse", propOrder = { + "_return" +}) +public class PesquisarDimensoesServicoResponse { + + @XmlElement(name = "return") + protected DimensaoTO _return; + + /** + * Gets the value of the return property. + * + * @return + * possible object is + * {@link DimensaoTO } + * + */ + public DimensaoTO getReturn() { + return _return; + } + + /** + * Sets the value of the return property. + * + * @param value + * allowed object is + * {@link DimensaoTO } + * + */ + public void setReturn(DimensaoTO value) { + this._return = value; + } + +} diff --git a/src/main/java/br/com/correios/webservice/postagem/PesquisarEmbalagensPorServico.java b/src/main/java/br/com/correios/webservice/postagem/PesquisarEmbalagensPorServico.java new file mode 100644 index 0000000..09795f6 --- /dev/null +++ b/src/main/java/br/com/correios/webservice/postagem/PesquisarEmbalagensPorServico.java @@ -0,0 +1,60 @@ + +package br.com.correios.webservice.postagem; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for pesquisarEmbalagensPorServico complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="pesquisarEmbalagensPorServico">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="codigo" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "pesquisarEmbalagensPorServico", propOrder = { + "codigo" +}) +public class PesquisarEmbalagensPorServico { + + protected String codigo; + + /** + * Gets the value of the codigo property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCodigo() { + return codigo; + } + + /** + * Sets the value of the codigo property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCodigo(String value) { + this.codigo = value; + } + +} diff --git a/src/main/java/br/com/correios/webservice/postagem/PesquisarEmbalagensPorServicoResponse.java b/src/main/java/br/com/correios/webservice/postagem/PesquisarEmbalagensPorServicoResponse.java new file mode 100644 index 0000000..2321883 --- /dev/null +++ b/src/main/java/br/com/correios/webservice/postagem/PesquisarEmbalagensPorServicoResponse.java @@ -0,0 +1,71 @@ + +package br.com.correios.webservice.postagem; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for pesquisarEmbalagensPorServicoResponse complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="pesquisarEmbalagensPorServicoResponse">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="return" type="{http://cliente.bean.master.sigep.bsb.correios.com.br/}tipoEmbalagem" maxOccurs="unbounded" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "pesquisarEmbalagensPorServicoResponse", propOrder = { + "_return" +}) +public class PesquisarEmbalagensPorServicoResponse { + + @XmlElement(name = "return") + @XmlSchemaType(name = "string") + protected List _return; + + /** + * Gets the value of the return property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the return property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getReturn().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link TipoEmbalagem } + * + * + */ + public List getReturn() { + if (_return == null) { + _return = new ArrayList(); + } + return this._return; + } + +} diff --git a/src/main/java/br/com/correios/webservice/postagem/PesquisarParametrosPorDescricao.java b/src/main/java/br/com/correios/webservice/postagem/PesquisarParametrosPorDescricao.java new file mode 100644 index 0000000..3214576 --- /dev/null +++ b/src/main/java/br/com/correios/webservice/postagem/PesquisarParametrosPorDescricao.java @@ -0,0 +1,60 @@ + +package br.com.correios.webservice.postagem; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for pesquisarParametrosPorDescricao complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="pesquisarParametrosPorDescricao">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="prefix" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "pesquisarParametrosPorDescricao", propOrder = { + "prefix" +}) +public class PesquisarParametrosPorDescricao { + + protected String prefix; + + /** + * Gets the value of the prefix property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPrefix() { + return prefix; + } + + /** + * Sets the value of the prefix property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPrefix(String value) { + this.prefix = value; + } + +} diff --git a/src/main/java/br/com/correios/webservice/postagem/PesquisarParametrosPorDescricaoResponse.java b/src/main/java/br/com/correios/webservice/postagem/PesquisarParametrosPorDescricaoResponse.java new file mode 100644 index 0000000..c8211b8 --- /dev/null +++ b/src/main/java/br/com/correios/webservice/postagem/PesquisarParametrosPorDescricaoResponse.java @@ -0,0 +1,62 @@ + +package br.com.correios.webservice.postagem; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for pesquisarParametrosPorDescricaoResponse complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="pesquisarParametrosPorDescricaoResponse">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="return" type="{http://cliente.bean.master.sigep.bsb.correios.com.br/}dimensaoTO" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "pesquisarParametrosPorDescricaoResponse", propOrder = { + "_return" +}) +public class PesquisarParametrosPorDescricaoResponse { + + @XmlElement(name = "return") + protected DimensaoTO _return; + + /** + * Gets the value of the return property. + * + * @return + * possible object is + * {@link DimensaoTO } + * + */ + public DimensaoTO getReturn() { + return _return; + } + + /** + * Sets the value of the return property. + * + * @param value + * allowed object is + * {@link DimensaoTO } + * + */ + public void setReturn(DimensaoTO value) { + this._return = value; + } + +} diff --git a/src/main/java/br/com/correios/webservice/postagem/PesquisarServicosAdicionais.java b/src/main/java/br/com/correios/webservice/postagem/PesquisarServicosAdicionais.java new file mode 100644 index 0000000..91205de --- /dev/null +++ b/src/main/java/br/com/correios/webservice/postagem/PesquisarServicosAdicionais.java @@ -0,0 +1,60 @@ + +package br.com.correios.webservice.postagem; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for pesquisarServicosAdicionais complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="pesquisarServicosAdicionais">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="codigo" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "pesquisarServicosAdicionais", propOrder = { + "codigo" +}) +public class PesquisarServicosAdicionais { + + protected String codigo; + + /** + * Gets the value of the codigo property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCodigo() { + return codigo; + } + + /** + * Sets the value of the codigo property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCodigo(String value) { + this.codigo = value; + } + +} diff --git a/src/main/java/br/com/correios/webservice/postagem/ConsultarPedidosInformacaoResponse.java b/src/main/java/br/com/correios/webservice/postagem/PesquisarServicosAdicionaisResponse.java similarity index 73% rename from src/main/java/br/com/correios/webservice/postagem/ConsultarPedidosInformacaoResponse.java rename to src/main/java/br/com/correios/webservice/postagem/PesquisarServicosAdicionaisResponse.java index 3709557..d61ef28 100644 --- a/src/main/java/br/com/correios/webservice/postagem/ConsultarPedidosInformacaoResponse.java +++ b/src/main/java/br/com/correios/webservice/postagem/PesquisarServicosAdicionaisResponse.java @@ -10,16 +10,16 @@ /** - *

Java class for consultarPedidosInformacaoResponse complex type. + *

Java class for pesquisarServicosAdicionaisResponse complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

- * <complexType name="consultarPedidosInformacaoResponse">
+ * <complexType name="pesquisarServicosAdicionaisResponse">
  *   <complexContent>
  *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  *       <sequence>
- *         <element name="return" type="{http://cliente.bean.master.sigep.bsb.correios.com.br/}retorno" maxOccurs="unbounded" minOccurs="0"/>
+ *         <element name="return" type="{http://cliente.bean.master.sigep.bsb.correios.com.br/}servicoAdicionalTO" maxOccurs="unbounded" minOccurs="0"/>
  *       </sequence>
  *     </restriction>
  *   </complexContent>
@@ -29,13 +29,13 @@
  * 
  */
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "consultarPedidosInformacaoResponse", propOrder = {
+@XmlType(name = "pesquisarServicosAdicionaisResponse", propOrder = {
     "_return"
 })
-public class ConsultarPedidosInformacaoResponse {
+public class PesquisarServicosAdicionaisResponse {
 
     @XmlElement(name = "return")
-    protected List _return;
+    protected List _return;
 
     /**
      * Gets the value of the return property.
@@ -55,13 +55,13 @@ public class ConsultarPedidosInformacaoResponse {
      * 
      * 

* Objects of the following type(s) are allowed in the list - * {@link Retorno } + * {@link ServicoAdicionalTO } * * */ - public List getReturn() { + public List getReturn() { if (_return == null) { - _return = new ArrayList(); + _return = new ArrayList(); } return this._return; } diff --git a/src/main/java/br/com/correios/webservice/postagem/Pessoa.java b/src/main/java/br/com/correios/webservice/postagem/Pessoa.java index 0c7a28e..858d6dd 100644 --- a/src/main/java/br/com/correios/webservice/postagem/Pessoa.java +++ b/src/main/java/br/com/correios/webservice/postagem/Pessoa.java @@ -22,10 +22,11 @@ * <element name="cidade" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="complemento" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="ddd" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * <element name="endereco" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="email" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="logradouro" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="nome" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="numero" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * <element name="pais" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="referencia" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="telefone" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="uf" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * </sequence> @@ -43,15 +44,15 @@ "cidade", "complemento", "ddd", - "endereco", + "email", + "logradouro", "nome", "numero", - "pais", + "referencia", "telefone", "uf" }) @XmlSeeAlso({ - Destinatario.class, Remetente.class }) public class Pessoa { @@ -61,10 +62,11 @@ public class Pessoa { protected String cidade; protected String complemento; protected String ddd; - protected String endereco; + protected String email; + protected String logradouro; protected String nome; protected String numero; - protected String pais; + protected String referencia; protected String telefone; protected String uf; @@ -189,27 +191,51 @@ public void setDdd(String value) { } /** - * Gets the value of the endereco property. + * Gets the value of the email property. * * @return * possible object is * {@link String } * */ - public String getEndereco() { - return endereco; + public String getEmail() { + return email; } /** - * Sets the value of the endereco property. + * Sets the value of the email property. * * @param value * allowed object is * {@link String } * */ - public void setEndereco(String value) { - this.endereco = value; + public void setEmail(String value) { + this.email = value; + } + + /** + * Gets the value of the logradouro property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getLogradouro() { + return logradouro; + } + + /** + * Sets the value of the logradouro property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setLogradouro(String value) { + this.logradouro = value; } /** @@ -261,27 +287,27 @@ public void setNumero(String value) { } /** - * Gets the value of the pais property. + * Gets the value of the referencia property. * * @return * possible object is * {@link String } * */ - public String getPais() { - return pais; + public String getReferencia() { + return referencia; } /** - * Sets the value of the pais property. + * Sets the value of the referencia property. * * @param value * allowed object is * {@link String } * */ - public void setPais(String value) { - this.pais = value; + public void setReferencia(String value) { + this.referencia = value; } /** diff --git a/src/main/java/br/com/correios/webservice/postagem/PessoaTO.java b/src/main/java/br/com/correios/webservice/postagem/PessoaTO.java deleted file mode 100644 index 214f9e9..0000000 --- a/src/main/java/br/com/correios/webservice/postagem/PessoaTO.java +++ /dev/null @@ -1,361 +0,0 @@ - -package br.com.correios.webservice.postagem; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Java class for pessoaTO complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

- * <complexType name="pessoaTO">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="bairro" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- *         <element name="cep" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- *         <element name="cidade" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- *         <element name="complemento" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- *         <element name="ddd" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- *         <element name="email" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- *         <element name="logradouro" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- *         <element name="nome" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- *         <element name="numero" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- *         <element name="referencia" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- *         <element name="telefone" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- *         <element name="uf" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "pessoaTO", propOrder = { - "bairro", - "cep", - "cidade", - "complemento", - "ddd", - "email", - "logradouro", - "nome", - "numero", - "referencia", - "telefone", - "uf" -}) -@XmlSeeAlso({ - RemetenteTO.class -}) -public class PessoaTO { - - protected String bairro; - protected String cep; - protected String cidade; - protected String complemento; - protected String ddd; - protected String email; - protected String logradouro; - protected String nome; - protected String numero; - protected String referencia; - protected String telefone; - protected String uf; - - /** - * Gets the value of the bairro property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getBairro() { - return bairro; - } - - /** - * Sets the value of the bairro property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setBairro(String value) { - this.bairro = value; - } - - /** - * Gets the value of the cep property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getCep() { - return cep; - } - - /** - * Sets the value of the cep property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setCep(String value) { - this.cep = value; - } - - /** - * Gets the value of the cidade property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getCidade() { - return cidade; - } - - /** - * Sets the value of the cidade property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setCidade(String value) { - this.cidade = value; - } - - /** - * Gets the value of the complemento property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getComplemento() { - return complemento; - } - - /** - * Sets the value of the complemento property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setComplemento(String value) { - this.complemento = value; - } - - /** - * Gets the value of the ddd property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getDdd() { - return ddd; - } - - /** - * Sets the value of the ddd property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setDdd(String value) { - this.ddd = value; - } - - /** - * Gets the value of the email property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getEmail() { - return email; - } - - /** - * Sets the value of the email property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setEmail(String value) { - this.email = value; - } - - /** - * Gets the value of the logradouro property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getLogradouro() { - return logradouro; - } - - /** - * Sets the value of the logradouro property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setLogradouro(String value) { - this.logradouro = value; - } - - /** - * Gets the value of the nome property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getNome() { - return nome; - } - - /** - * Sets the value of the nome property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setNome(String value) { - this.nome = value; - } - - /** - * Gets the value of the numero property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getNumero() { - return numero; - } - - /** - * Sets the value of the numero property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setNumero(String value) { - this.numero = value; - } - - /** - * Gets the value of the referencia property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getReferencia() { - return referencia; - } - - /** - * Sets the value of the referencia property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setReferencia(String value) { - this.referencia = value; - } - - /** - * Gets the value of the telefone property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getTelefone() { - return telefone; - } - - /** - * Sets the value of the telefone property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setTelefone(String value) { - this.telefone = value; - } - - /** - * Gets the value of the uf property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getUf() { - return uf; - } - - /** - * Sets the value of the uf property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setUf(String value) { - this.uf = value; - } - -} diff --git a/src/main/java/br/com/correios/webservice/postagem/Postagem.java b/src/main/java/br/com/correios/webservice/postagem/Postagem.java deleted file mode 100644 index 6e5ac87..0000000 --- a/src/main/java/br/com/correios/webservice/postagem/Postagem.java +++ /dev/null @@ -1,168 +0,0 @@ - -package br.com.correios.webservice.postagem; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Java class for postagem complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

- * <complexType name="postagem">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="agencia" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- *         <element name="avisoRecebimento" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- *         <element name="data" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- *         <element name="local" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- *         <element name="valorDeclarado" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "postagem", propOrder = { - "agencia", - "avisoRecebimento", - "data", - "local", - "valorDeclarado" -}) -public class Postagem { - - protected String agencia; - protected String avisoRecebimento; - protected String data; - protected String local; - protected String valorDeclarado; - - /** - * Gets the value of the agencia property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getAgencia() { - return agencia; - } - - /** - * Sets the value of the agencia property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setAgencia(String value) { - this.agencia = value; - } - - /** - * Gets the value of the avisoRecebimento property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getAvisoRecebimento() { - return avisoRecebimento; - } - - /** - * Sets the value of the avisoRecebimento property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setAvisoRecebimento(String value) { - this.avisoRecebimento = value; - } - - /** - * Gets the value of the data property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getData() { - return data; - } - - /** - * Sets the value of the data property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setData(String value) { - this.data = value; - } - - /** - * Gets the value of the local property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getLocal() { - return local; - } - - /** - * Sets the value of the local property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setLocal(String value) { - this.local = value; - } - - /** - * Gets the value of the valorDeclarado property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValorDeclarado() { - return valorDeclarado; - } - - /** - * Sets the value of the valorDeclarado property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValorDeclarado(String value) { - this.valorDeclarado = value; - } - -} diff --git a/src/main/java/br/com/correios/webservice/postagem/PreListaPostagem.java b/src/main/java/br/com/correios/webservice/postagem/PreListaPostagem.java index 527a0ef..0757c60 100644 --- a/src/main/java/br/com/correios/webservice/postagem/PreListaPostagem.java +++ b/src/main/java/br/com/correios/webservice/postagem/PreListaPostagem.java @@ -22,6 +22,7 @@ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="cartaoPostagem" type="{http://cliente.bean.master.sigep.bsb.correios.com.br/}cartaoPostagemERP" minOccurs="0"/> + * <element name="conteudoProibido" type="{http://cliente.bean.master.sigep.bsb.correios.com.br/}simNao" minOccurs="0"/> * <element name="dataAtualizacaoCliente" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> * <element name="dataAtualizacaoSara" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> * <element name="dataFechamento" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> @@ -44,6 +45,7 @@ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "preListaPostagem", propOrder = { "cartaoPostagem", + "conteudoProibido", "dataAtualizacaoCliente", "dataAtualizacaoSara", "dataFechamento", @@ -59,6 +61,8 @@ public class PreListaPostagem { protected CartaoPostagemERP cartaoPostagem; + @XmlSchemaType(name = "string") + protected SimNao conteudoProibido; @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar dataAtualizacaoCliente; @XmlSchemaType(name = "dateTime") @@ -106,6 +110,30 @@ public void setCartaoPostagem(CartaoPostagemERP value) { this.cartaoPostagem = value; } + /** + * Gets the value of the conteudoProibido property. + * + * @return + * possible object is + * {@link SimNao } + * + */ + public SimNao getConteudoProibido() { + return conteudoProibido; + } + + /** + * Sets the value of the conteudoProibido property. + * + * @param value + * allowed object is + * {@link SimNao } + * + */ + public void setConteudoProibido(SimNao value) { + this.conteudoProibido = value; + } + /** * Gets the value of the dataAtualizacaoCliente property. * diff --git a/src/main/java/br/com/correios/webservice/postagem/ProdutoTO.java b/src/main/java/br/com/correios/webservice/postagem/Produto.java similarity index 71% rename from src/main/java/br/com/correios/webservice/postagem/ProdutoTO.java rename to src/main/java/br/com/correios/webservice/postagem/Produto.java index 33535f3..1676c52 100644 --- a/src/main/java/br/com/correios/webservice/postagem/ProdutoTO.java +++ b/src/main/java/br/com/correios/webservice/postagem/Produto.java @@ -7,18 +7,18 @@ /** - *

Java class for produtoTO complex type. + *

Java class for produto complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

- * <complexType name="produtoTO">
+ * <complexType name="produto">
  *   <complexContent>
  *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  *       <sequence>
- *         <element name="codigo" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
- *         <element name="qtd" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
- *         <element name="tipo" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
+ *         <element name="codigo" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="qtd" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="tipo" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
  *       </sequence>
  *     </restriction>
  *   </complexContent>
@@ -28,26 +28,26 @@
  * 
  */
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "produtoTO", propOrder = {
+@XmlType(name = "produto", propOrder = {
     "codigo",
     "qtd",
     "tipo"
 })
-public class ProdutoTO {
+public class Produto {
 
-    protected Long codigo;
-    protected Long qtd;
-    protected Long tipo;
+    protected String codigo;
+    protected String qtd;
+    protected String tipo;
 
     /**
      * Gets the value of the codigo property.
      * 
      * @return
      *     possible object is
-     *     {@link Long }
+     *     {@link String }
      *     
      */
-    public Long getCodigo() {
+    public String getCodigo() {
         return codigo;
     }
 
@@ -56,10 +56,10 @@ public Long getCodigo() {
      * 
      * @param value
      *     allowed object is
-     *     {@link Long }
+     *     {@link String }
      *     
      */
-    public void setCodigo(Long value) {
+    public void setCodigo(String value) {
         this.codigo = value;
     }
 
@@ -68,10 +68,10 @@ public void setCodigo(Long value) {
      * 
      * @return
      *     possible object is
-     *     {@link Long }
+     *     {@link String }
      *     
      */
-    public Long getQtd() {
+    public String getQtd() {
         return qtd;
     }
 
@@ -80,10 +80,10 @@ public Long getQtd() {
      * 
      * @param value
      *     allowed object is
-     *     {@link Long }
+     *     {@link String }
      *     
      */
-    public void setQtd(Long value) {
+    public void setQtd(String value) {
         this.qtd = value;
     }
 
@@ -92,10 +92,10 @@ public void setQtd(Long value) {
      * 
      * @return
      *     possible object is
-     *     {@link Long }
+     *     {@link String }
      *     
      */
-    public Long getTipo() {
+    public String getTipo() {
         return tipo;
     }
 
@@ -104,10 +104,10 @@ public Long getTipo() {
      * 
      * @param value
      *     allowed object is
-     *     {@link Long }
+     *     {@link String }
      *     
      */
-    public void setTipo(Long value) {
+    public void setTipo(String value) {
         this.tipo = value;
     }
 
diff --git a/src/main/java/br/com/correios/webservice/postagem/Remetente.java b/src/main/java/br/com/correios/webservice/postagem/Remetente.java
index 100c162..4c2cd5b 100644
--- a/src/main/java/br/com/correios/webservice/postagem/Remetente.java
+++ b/src/main/java/br/com/correios/webservice/postagem/Remetente.java
@@ -3,6 +3,7 @@
 
 import javax.xml.bind.annotation.XmlAccessType;
 import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
 import javax.xml.bind.annotation.XmlType;
 
 
@@ -16,9 +17,10 @@
  *   <complexContent>
  *     <extension base="{http://cliente.bean.master.sigep.bsb.correios.com.br/}pessoa">
  *       <sequence>
- *         <element name="email" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- *         <element name="empresa" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- *         <element name="fax" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="celular" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="ddd_celular" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="identificacao" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="sms" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
  *       </sequence>
  *     </extension>
  *   </complexContent>
@@ -29,88 +31,115 @@
  */
 @XmlAccessorType(XmlAccessType.FIELD)
 @XmlType(name = "remetente", propOrder = {
-    "email",
-    "empresa",
-    "fax"
+    "celular",
+    "dddCelular",
+    "identificacao",
+    "sms"
 })
 public class Remetente
     extends Pessoa
 {
 
-    protected String email;
-    protected String empresa;
-    protected String fax;
+    protected String celular;
+    @XmlElement(name = "ddd_celular")
+    protected String dddCelular;
+    protected String identificacao;
+    protected String sms;
 
     /**
-     * Gets the value of the email property.
+     * Gets the value of the celular property.
      * 
      * @return
      *     possible object is
      *     {@link String }
      *     
      */
-    public String getEmail() {
-        return email;
+    public String getCelular() {
+        return celular;
     }
 
     /**
-     * Sets the value of the email property.
+     * Sets the value of the celular property.
      * 
      * @param value
      *     allowed object is
      *     {@link String }
      *     
      */
-    public void setEmail(String value) {
-        this.email = value;
+    public void setCelular(String value) {
+        this.celular = value;
     }
 
     /**
-     * Gets the value of the empresa property.
+     * Gets the value of the dddCelular property.
      * 
      * @return
      *     possible object is
      *     {@link String }
      *     
      */
-    public String getEmpresa() {
-        return empresa;
+    public String getDddCelular() {
+        return dddCelular;
     }
 
     /**
-     * Sets the value of the empresa property.
+     * Sets the value of the dddCelular property.
      * 
      * @param value
      *     allowed object is
      *     {@link String }
      *     
      */
-    public void setEmpresa(String value) {
-        this.empresa = value;
+    public void setDddCelular(String value) {
+        this.dddCelular = value;
     }
 
     /**
-     * Gets the value of the fax property.
+     * Gets the value of the identificacao property.
      * 
      * @return
      *     possible object is
      *     {@link String }
      *     
      */
-    public String getFax() {
-        return fax;
+    public String getIdentificacao() {
+        return identificacao;
     }
 
     /**
-     * Sets the value of the fax property.
+     * Sets the value of the identificacao property.
      * 
      * @param value
      *     allowed object is
      *     {@link String }
      *     
      */
-    public void setFax(String value) {
-        this.fax = value;
+    public void setIdentificacao(String value) {
+        this.identificacao = value;
+    }
+
+    /**
+     * Gets the value of the sms property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getSms() {
+        return sms;
+    }
+
+    /**
+     * Sets the value of the sms property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setSms(String value) {
+        this.sms = value;
     }
 
 }
diff --git a/src/main/java/br/com/correios/webservice/postagem/Retorno.java b/src/main/java/br/com/correios/webservice/postagem/Retorno.java
deleted file mode 100644
index 8e2c02f..0000000
--- a/src/main/java/br/com/correios/webservice/postagem/Retorno.java
+++ /dev/null
@@ -1,303 +0,0 @@
-
-package br.com.correios.webservice.postagem;
-
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlType;
-
-
-/**
- * 

Java class for retorno complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

- * <complexType name="retorno">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="codigoPI" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
- *         <element name="codigoRegistro" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- *         <element name="codigoRetorno" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- *         <element name="dataPrazoResposta" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- *         <element name="dataRegistro" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- *         <element name="dataResposta" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- *         <element name="dataUltimaRecorrencia" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- *         <element name="id" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
- *         <element name="mensagemRetorno" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- *         <element name="resposta" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "retorno", propOrder = { - "codigoPI", - "codigoRegistro", - "codigoRetorno", - "dataPrazoResposta", - "dataRegistro", - "dataResposta", - "dataUltimaRecorrencia", - "id", - "mensagemRetorno", - "resposta" -}) -public class Retorno { - - protected Long codigoPI; - protected String codigoRegistro; - protected String codigoRetorno; - protected String dataPrazoResposta; - protected String dataRegistro; - protected String dataResposta; - protected String dataUltimaRecorrencia; - protected Long id; - protected String mensagemRetorno; - protected String resposta; - - /** - * Gets the value of the codigoPI property. - * - * @return - * possible object is - * {@link Long } - * - */ - public Long getCodigoPI() { - return codigoPI; - } - - /** - * Sets the value of the codigoPI property. - * - * @param value - * allowed object is - * {@link Long } - * - */ - public void setCodigoPI(Long value) { - this.codigoPI = value; - } - - /** - * Gets the value of the codigoRegistro property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getCodigoRegistro() { - return codigoRegistro; - } - - /** - * Sets the value of the codigoRegistro property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setCodigoRegistro(String value) { - this.codigoRegistro = value; - } - - /** - * Gets the value of the codigoRetorno property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getCodigoRetorno() { - return codigoRetorno; - } - - /** - * Sets the value of the codigoRetorno property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setCodigoRetorno(String value) { - this.codigoRetorno = value; - } - - /** - * Gets the value of the dataPrazoResposta property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getDataPrazoResposta() { - return dataPrazoResposta; - } - - /** - * Sets the value of the dataPrazoResposta property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setDataPrazoResposta(String value) { - this.dataPrazoResposta = value; - } - - /** - * Gets the value of the dataRegistro property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getDataRegistro() { - return dataRegistro; - } - - /** - * Sets the value of the dataRegistro property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setDataRegistro(String value) { - this.dataRegistro = value; - } - - /** - * Gets the value of the dataResposta property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getDataResposta() { - return dataResposta; - } - - /** - * Sets the value of the dataResposta property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setDataResposta(String value) { - this.dataResposta = value; - } - - /** - * Gets the value of the dataUltimaRecorrencia property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getDataUltimaRecorrencia() { - return dataUltimaRecorrencia; - } - - /** - * Sets the value of the dataUltimaRecorrencia property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setDataUltimaRecorrencia(String value) { - this.dataUltimaRecorrencia = value; - } - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link Long } - * - */ - public Long getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link Long } - * - */ - public void setId(Long value) { - this.id = value; - } - - /** - * Gets the value of the mensagemRetorno property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMensagemRetorno() { - return mensagemRetorno; - } - - /** - * Sets the value of the mensagemRetorno property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMensagemRetorno(String value) { - this.mensagemRetorno = value; - } - - /** - * Gets the value of the resposta property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getResposta() { - return resposta; - } - - /** - * Sets the value of the resposta property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setResposta(String value) { - this.resposta = value; - } - -} diff --git a/src/main/java/br/com/correios/webservice/postagem/RetornoCancelamentoTO.java b/src/main/java/br/com/correios/webservice/postagem/RetornoCancelamento.java similarity index 89% rename from src/main/java/br/com/correios/webservice/postagem/RetornoCancelamentoTO.java rename to src/main/java/br/com/correios/webservice/postagem/RetornoCancelamento.java index 4b79fb0..162efa2 100644 --- a/src/main/java/br/com/correios/webservice/postagem/RetornoCancelamentoTO.java +++ b/src/main/java/br/com/correios/webservice/postagem/RetornoCancelamento.java @@ -8,12 +8,12 @@ /** - *

Java class for retornoCancelamentoTO complex type. + *

Java class for retornoCancelamento complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

- * <complexType name="retornoCancelamentoTO">
+ * <complexType name="retornoCancelamento">
  *   <complexContent>
  *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  *       <sequence>
@@ -22,7 +22,7 @@
  *         <element name="data" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
  *         <element name="hora" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
  *         <element name="msg_erro" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- *         <element name="objeto_postal" type="{http://cliente.bean.master.sigep.bsb.correios.com.br/}objetoSimplificadoTO" minOccurs="0"/>
+ *         <element name="objeto_postal" type="{http://cliente.bean.master.sigep.bsb.correios.com.br/}objetoSimplificado" minOccurs="0"/>
  *       </sequence>
  *     </restriction>
  *   </complexContent>
@@ -32,7 +32,7 @@
  * 
  */
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "retornoCancelamentoTO", propOrder = {
+@XmlType(name = "retornoCancelamento", propOrder = {
     "codErro",
     "codigoAdministrativo",
     "data",
@@ -40,7 +40,7 @@
     "msgErro",
     "objetoPostal"
 })
-public class RetornoCancelamentoTO {
+public class RetornoCancelamento {
 
     @XmlElement(name = "cod_erro")
     protected String codErro;
@@ -51,7 +51,7 @@ public class RetornoCancelamentoTO {
     @XmlElement(name = "msg_erro")
     protected String msgErro;
     @XmlElement(name = "objeto_postal")
-    protected ObjetoSimplificadoTO objetoPostal;
+    protected ObjetoSimplificado objetoPostal;
 
     /**
      * Gets the value of the codErro property.
@@ -178,10 +178,10 @@ public void setMsgErro(String value) {
      * 
      * @return
      *     possible object is
-     *     {@link ObjetoSimplificadoTO }
+     *     {@link ObjetoSimplificado }
      *     
      */
-    public ObjetoSimplificadoTO getObjetoPostal() {
+    public ObjetoSimplificado getObjetoPostal() {
         return objetoPostal;
     }
 
@@ -190,10 +190,10 @@ public ObjetoSimplificadoTO getObjetoPostal() {
      * 
      * @param value
      *     allowed object is
-     *     {@link ObjetoSimplificadoTO }
+     *     {@link ObjetoSimplificado }
      *     
      */
-    public void setObjetoPostal(ObjetoSimplificadoTO value) {
+    public void setObjetoPostal(ObjetoSimplificado value) {
         this.objetoPostal = value;
     }
 
diff --git a/src/main/java/br/com/correios/webservice/postagem/SQLException_Exception.java b/src/main/java/br/com/correios/webservice/postagem/SQLException_Exception.java
index 1287a3a..0c3d045 100644
--- a/src/main/java/br/com/correios/webservice/postagem/SQLException_Exception.java
+++ b/src/main/java/br/com/correios/webservice/postagem/SQLException_Exception.java
@@ -8,23 +8,21 @@
  * This class was generated by the JAX-WS RI.
  * JAX-WS RI 2.2.9-b130926.1035
  * Generated source version: 2.2
- *
+ * 
  */
 @WebFault(name = "SQLException", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/")
 public class SQLException_Exception
     extends java.lang.Exception
 {
 
-	private static final long serialVersionUID = -8676187739818948570L;
-
-	/**
+    /**
      * Java type that goes as soapenv:Fault detail element.
-     *
+     * 
      */
     private SQLException faultInfo;
 
     /**
-     *
+     * 
      * @param faultInfo
      * @param message
      */
@@ -34,7 +32,7 @@ public SQLException_Exception(String message, SQLException faultInfo) {
     }
 
     /**
-     *
+     * 
      * @param faultInfo
      * @param cause
      * @param message
@@ -45,7 +43,7 @@ public SQLException_Exception(String message, SQLException faultInfo, Throwable
     }
 
     /**
-     *
+     * 
      * @return
      *     returns fault bean: br.com.correios.webservice.postagem.SQLException
      */
diff --git a/src/main/java/br/com/correios/webservice/postagem/ServicoAdicionalERP.java b/src/main/java/br/com/correios/webservice/postagem/ServicoAdicionalERP.java
index b5c5552..be19a64 100644
--- a/src/main/java/br/com/correios/webservice/postagem/ServicoAdicionalERP.java
+++ b/src/main/java/br/com/correios/webservice/postagem/ServicoAdicionalERP.java
@@ -18,6 +18,7 @@
  *   <complexContent>
  *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  *       <sequence>
+ *         <element name="categoria" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
  *         <element name="codigo" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
  *         <element name="dataAtualizacao" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
  *         <element name="datajAtualizacao" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
@@ -25,6 +26,7 @@
  *         <element name="horajAtualizacao" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
  *         <element name="id" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
  *         <element name="sigla" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="valorDeclarado" type="{http://cliente.bean.master.sigep.bsb.correios.com.br/}valorDeclarado" minOccurs="0"/>
  *       </sequence>
  *     </restriction>
  *   </complexContent>
@@ -35,16 +37,19 @@
  */
 @XmlAccessorType(XmlAccessType.FIELD)
 @XmlType(name = "servicoAdicionalERP", propOrder = {
+    "categoria",
     "codigo",
     "dataAtualizacao",
     "datajAtualizacao",
     "descricao",
     "horajAtualizacao",
     "id",
-    "sigla"
+    "sigla",
+    "valorDeclarado"
 })
 public class ServicoAdicionalERP {
 
+    protected String categoria;
     protected String codigo;
     @XmlSchemaType(name = "dateTime")
     protected XMLGregorianCalendar dataAtualizacao;
@@ -53,6 +58,31 @@ public class ServicoAdicionalERP {
     protected Integer horajAtualizacao;
     protected Integer id;
     protected String sigla;
+    protected ValorDeclarado valorDeclarado;
+
+    /**
+     * Gets the value of the categoria property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getCategoria() {
+        return categoria;
+    }
+
+    /**
+     * Sets the value of the categoria property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setCategoria(String value) {
+        this.categoria = value;
+    }
 
     /**
      * Gets the value of the codigo property.
@@ -222,4 +252,28 @@ public void setSigla(String value) {
         this.sigla = value;
     }
 
+    /**
+     * Gets the value of the valorDeclarado property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link ValorDeclarado }
+     *     
+     */
+    public ValorDeclarado getValorDeclarado() {
+        return valorDeclarado;
+    }
+
+    /**
+     * Sets the value of the valorDeclarado property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link ValorDeclarado }
+     *     
+     */
+    public void setValorDeclarado(ValorDeclarado value) {
+        this.valorDeclarado = value;
+    }
+
 }
diff --git a/src/main/java/br/com/correios/webservice/postagem/AssuntoPIMaster.java b/src/main/java/br/com/correios/webservice/postagem/ServicoAdicionalTO.java
similarity index 58%
rename from src/main/java/br/com/correios/webservice/postagem/AssuntoPIMaster.java
rename to src/main/java/br/com/correios/webservice/postagem/ServicoAdicionalTO.java
index 48cab1c..6ebf877 100644
--- a/src/main/java/br/com/correios/webservice/postagem/AssuntoPIMaster.java
+++ b/src/main/java/br/com/correios/webservice/postagem/ServicoAdicionalTO.java
@@ -7,17 +7,18 @@
 
 
 /**
- * 

Java class for assuntoPIMaster complex type. + *

Java class for servicoAdicionalTO complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

- * <complexType name="assuntoPIMaster">
+ * <complexType name="servicoAdicionalTO">
  *   <complexContent>
  *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  *       <sequence>
- *         <element name="codigo" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
- *         <element name="descricao" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="categoria" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="codigo" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="sigla" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
  *         <element name="tipo" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
  *       </sequence>
  *     </restriction>
@@ -28,26 +29,52 @@
  * 
  */
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "assuntoPIMaster", propOrder = {
+@XmlType(name = "servicoAdicionalTO", propOrder = {
+    "categoria",
     "codigo",
-    "descricao",
+    "sigla",
     "tipo"
 })
-public class AssuntoPIMaster {
+public class ServicoAdicionalTO {
 
-    protected Integer codigo;
-    protected String descricao;
+    protected String categoria;
+    protected String codigo;
+    protected String sigla;
     protected String tipo;
 
+    /**
+     * Gets the value of the categoria property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getCategoria() {
+        return categoria;
+    }
+
+    /**
+     * Sets the value of the categoria property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setCategoria(String value) {
+        this.categoria = value;
+    }
+
     /**
      * Gets the value of the codigo property.
      * 
      * @return
      *     possible object is
-     *     {@link Integer }
+     *     {@link String }
      *     
      */
-    public Integer getCodigo() {
+    public String getCodigo() {
         return codigo;
     }
 
@@ -56,35 +83,35 @@ public Integer getCodigo() {
      * 
      * @param value
      *     allowed object is
-     *     {@link Integer }
+     *     {@link String }
      *     
      */
-    public void setCodigo(Integer value) {
+    public void setCodigo(String value) {
         this.codigo = value;
     }
 
     /**
-     * Gets the value of the descricao property.
+     * Gets the value of the sigla property.
      * 
      * @return
      *     possible object is
      *     {@link String }
      *     
      */
-    public String getDescricao() {
-        return descricao;
+    public String getSigla() {
+        return sigla;
     }
 
     /**
-     * Sets the value of the descricao property.
+     * Sets the value of the sigla property.
      * 
      * @param value
      *     allowed object is
      *     {@link String }
      *     
      */
-    public void setDescricao(String value) {
-        this.descricao = value;
+    public void setSigla(String value) {
+        this.sigla = value;
     }
 
     /**
diff --git a/src/main/java/br/com/correios/webservice/postagem/ServicoAdicionalXML.java b/src/main/java/br/com/correios/webservice/postagem/ServicoAdicionalXML.java
new file mode 100644
index 0000000..4e6dfab
--- /dev/null
+++ b/src/main/java/br/com/correios/webservice/postagem/ServicoAdicionalXML.java
@@ -0,0 +1,195 @@
+
+package br.com.correios.webservice.postagem;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * 

Java class for servicoAdicionalXML complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="servicoAdicionalXML">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="categoria" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="codigo" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="descricao" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="maximoValorDeclarado" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
+ *         <element name="minimoValorDeclarado" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
+ *         <element name="sigla" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "servicoAdicionalXML", propOrder = { + "categoria", + "codigo", + "descricao", + "maximoValorDeclarado", + "minimoValorDeclarado", + "sigla" +}) +public class ServicoAdicionalXML { + + protected String categoria; + protected String codigo; + protected String descricao; + protected Double maximoValorDeclarado; + protected Double minimoValorDeclarado; + protected String sigla; + + /** + * Gets the value of the categoria property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCategoria() { + return categoria; + } + + /** + * Sets the value of the categoria property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCategoria(String value) { + this.categoria = value; + } + + /** + * Gets the value of the codigo property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCodigo() { + return codigo; + } + + /** + * Sets the value of the codigo property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCodigo(String value) { + this.codigo = value; + } + + /** + * Gets the value of the descricao property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDescricao() { + return descricao; + } + + /** + * Sets the value of the descricao property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDescricao(String value) { + this.descricao = value; + } + + /** + * Gets the value of the maximoValorDeclarado property. + * + * @return + * possible object is + * {@link Double } + * + */ + public Double getMaximoValorDeclarado() { + return maximoValorDeclarado; + } + + /** + * Sets the value of the maximoValorDeclarado property. + * + * @param value + * allowed object is + * {@link Double } + * + */ + public void setMaximoValorDeclarado(Double value) { + this.maximoValorDeclarado = value; + } + + /** + * Gets the value of the minimoValorDeclarado property. + * + * @return + * possible object is + * {@link Double } + * + */ + public Double getMinimoValorDeclarado() { + return minimoValorDeclarado; + } + + /** + * Sets the value of the minimoValorDeclarado property. + * + * @param value + * allowed object is + * {@link Double } + * + */ + public void setMinimoValorDeclarado(Double value) { + this.minimoValorDeclarado = value; + } + + /** + * Gets the value of the sigla property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSigla() { + return sigla; + } + + /** + * Sets the value of the sigla property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSigla(String value) { + this.sigla = value; + } + +} diff --git a/src/main/java/br/com/correios/webservice/postagem/ServicoSigep.java b/src/main/java/br/com/correios/webservice/postagem/ServicoSigep.java index adcd71d..cbed609 100644 --- a/src/main/java/br/com/correios/webservice/postagem/ServicoSigep.java +++ b/src/main/java/br/com/correios/webservice/postagem/ServicoSigep.java @@ -19,9 +19,13 @@ * <sequence> * <element name="categoriaServico" type="{http://cliente.bean.master.sigep.bsb.correios.com.br/}categoriaServico" minOccurs="0"/> * <element name="chancela" type="{http://cliente.bean.master.sigep.bsb.correios.com.br/}chancelaMaster" minOccurs="0"/> + * <element name="descricao" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="exigeDimensoes" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> * <element name="exigeValorCobrar" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> * <element name="imitm" type="{http://www.w3.org/2001/XMLSchema}long"/> + * <element name="pagamentoEntrega" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="remessaAgrupada" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="restricao" type="{http://cliente.bean.master.sigep.bsb.correios.com.br/}simNao" minOccurs="0"/> * <element name="servico" type="{http://www.w3.org/2001/XMLSchema}long"/> * <element name="servicoERP" type="{http://cliente.bean.master.sigep.bsb.correios.com.br/}servicoERP" minOccurs="0"/> * <element name="ssiCoCodigoPostal" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> @@ -37,9 +41,13 @@ @XmlType(name = "servicoSigep", propOrder = { "categoriaServico", "chancela", + "descricao", "exigeDimensoes", "exigeValorCobrar", "imitm", + "pagamentoEntrega", + "remessaAgrupada", + "restricao", "servico", "servicoERP", "ssiCoCodigoPostal" @@ -49,9 +57,14 @@ public class ServicoSigep { @XmlSchemaType(name = "string") protected CategoriaServico categoriaServico; protected ChancelaMaster chancela; + protected String descricao; protected Boolean exigeDimensoes; protected Boolean exigeValorCobrar; protected long imitm; + protected String pagamentoEntrega; + protected String remessaAgrupada; + @XmlSchemaType(name = "string") + protected SimNao restricao; protected long servico; protected ServicoERP servicoERP; protected String ssiCoCodigoPostal; @@ -104,6 +117,30 @@ public void setChancela(ChancelaMaster value) { this.chancela = value; } + /** + * Gets the value of the descricao property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDescricao() { + return descricao; + } + + /** + * Sets the value of the descricao property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDescricao(String value) { + this.descricao = value; + } + /** * Gets the value of the exigeDimensoes property. * @@ -168,6 +205,78 @@ public void setImitm(long value) { this.imitm = value; } + /** + * Gets the value of the pagamentoEntrega property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPagamentoEntrega() { + return pagamentoEntrega; + } + + /** + * Sets the value of the pagamentoEntrega property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPagamentoEntrega(String value) { + this.pagamentoEntrega = value; + } + + /** + * Gets the value of the remessaAgrupada property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getRemessaAgrupada() { + return remessaAgrupada; + } + + /** + * Sets the value of the remessaAgrupada property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setRemessaAgrupada(String value) { + this.remessaAgrupada = value; + } + + /** + * Gets the value of the restricao property. + * + * @return + * possible object is + * {@link SimNao } + * + */ + public SimNao getRestricao() { + return restricao; + } + + /** + * Sets the value of the restricao property. + * + * @param value + * allowed object is + * {@link SimNao } + * + */ + public void setRestricao(SimNao value) { + this.restricao = value; + } + /** * Gets the value of the servico property. * diff --git a/src/main/java/br/com/correios/webservice/postagem/SigepClienteException.java b/src/main/java/br/com/correios/webservice/postagem/SigepClienteException.java index 1640c31..3988249 100644 --- a/src/main/java/br/com/correios/webservice/postagem/SigepClienteException.java +++ b/src/main/java/br/com/correios/webservice/postagem/SigepClienteException.java @@ -8,22 +8,21 @@ * This class was generated by the JAX-WS RI. * JAX-WS RI 2.2.9-b130926.1035 * Generated source version: 2.2 - * + * */ @WebFault(name = "SigepClienteException", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/") public class SigepClienteException extends java.lang.Exception { - private static final long serialVersionUID = -7963758229863005774L; - /** + /** * Java type that goes as soapenv:Fault detail element. - * + * */ private String faultInfo; /** - * + * * @param faultInfo * @param message */ @@ -33,7 +32,7 @@ public SigepClienteException(String message, String faultInfo) { } /** - * + * * @param faultInfo * @param cause * @param message @@ -44,7 +43,7 @@ public SigepClienteException(String message, String faultInfo, Throwable cause) } /** - * + * * @return * returns fault bean: java.lang.String */ diff --git a/src/main/java/br/com/correios/webservice/postagem/SimNao.java b/src/main/java/br/com/correios/webservice/postagem/SimNao.java new file mode 100644 index 0000000..f6116e9 --- /dev/null +++ b/src/main/java/br/com/correios/webservice/postagem/SimNao.java @@ -0,0 +1,38 @@ + +package br.com.correios.webservice.postagem; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for simNao. + * + *

The following schema fragment specifies the expected content contained within this class. + *

+ *

+ * <simpleType name="simNao">
+ *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *     <enumeration value="S"/>
+ *     <enumeration value="N"/>
+ *   </restriction>
+ * </simpleType>
+ * 
+ * + */ +@XmlType(name = "simNao") +@XmlEnum +public enum SimNao { + + S, + N; + + public String value() { + return name(); + } + + public static SimNao fromValue(String v) { + return valueOf(v); + } + +} diff --git a/src/main/java/br/com/correios/webservice/postagem/TipoEmbalagem.java b/src/main/java/br/com/correios/webservice/postagem/TipoEmbalagem.java new file mode 100644 index 0000000..8036cb9 --- /dev/null +++ b/src/main/java/br/com/correios/webservice/postagem/TipoEmbalagem.java @@ -0,0 +1,40 @@ + +package br.com.correios.webservice.postagem; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for tipoEmbalagem. + * + *

The following schema fragment specifies the expected content contained within this class. + *

+ *

+ * <simpleType name="tipoEmbalagem">
+ *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *     <enumeration value="DE"/>
+ *     <enumeration value="PD"/>
+ *     <enumeration value="RL"/>
+ *   </restriction>
+ * </simpleType>
+ * 
+ * + */ +@XmlType(name = "tipoEmbalagem") +@XmlEnum +public enum TipoEmbalagem { + + DE, + PD, + RL; + + public String value() { + return name(); + } + + public static TipoEmbalagem fromValue(String v) { + return valueOf(v); + } + +} diff --git a/src/main/java/br/com/correios/webservice/postagem/TipoMensagem.java b/src/main/java/br/com/correios/webservice/postagem/TipoMensagem.java new file mode 100644 index 0000000..ee6133c --- /dev/null +++ b/src/main/java/br/com/correios/webservice/postagem/TipoMensagem.java @@ -0,0 +1,40 @@ + +package br.com.correios.webservice.postagem; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for tipoMensagem. + * + *

The following schema fragment specifies the expected content contained within this class. + *

+ *

+ * <simpleType name="tipoMensagem">
+ *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *     <enumeration value="A"/>
+ *     <enumeration value="E"/>
+ *     <enumeration value="S"/>
+ *   </restriction>
+ * </simpleType>
+ * 
+ * + */ +@XmlType(name = "tipoMensagem") +@XmlEnum +public enum TipoMensagem { + + A, + E, + S; + + public String value() { + return name(); + } + + public static TipoMensagem fromValue(String v) { + return valueOf(v); + } + +} diff --git a/src/main/java/br/com/correios/webservice/postagem/ValePostal.java b/src/main/java/br/com/correios/webservice/postagem/ValePostal.java new file mode 100644 index 0000000..fed792f --- /dev/null +++ b/src/main/java/br/com/correios/webservice/postagem/ValePostal.java @@ -0,0 +1,752 @@ + +package br.com.correios.webservice.postagem; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.datatype.XMLGregorianCalendar; + + +/** + *

Java class for valePostal complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="valePostal">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="cidNoCidade" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="ctcCoAadministrativo" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="ctcNuContrato" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
+ *         <element name="ctcNuContratoEct" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
+ *         <element name="cvpEdBairro" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="cvpEdCliente" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="cvpEdComplemento" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="cvpEdNumero" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="cvpNoCliente" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="cvpNuCep" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
+ *         <element name="descricaoErro" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="estSgEstado" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="monVarTarifaAdicional" type="{http://www.w3.org/2001/XMLSchema}int"/>
+ *         <element name="monVarTarifaServico" type="{http://www.w3.org/2001/XMLSchema}int"/>
+ *         <element name="monVarValorDescontos" type="{http://www.w3.org/2001/XMLSchema}int"/>
+ *         <element name="monVarValorImposto" type="{http://www.w3.org/2001/XMLSchema}int"/>
+ *         <element name="prsCoProdutoServico" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
+ *         <element name="pveNu" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
+ *         <element name="pveOrgNuAgencia" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
+ *         <element name="pveOrgNuAgenciaDes" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
+ *         <element name="pveOrgNuAgenciaOri" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
+ *         <element name="retornaCodErro" type="{http://www.w3.org/2001/XMLSchema}int"/>
+ *         <element name="sitNoSituacao" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="tlgTxDescricao" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="vapDhTransacao" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
+ *         <element name="vapNuEtiquetaEncomenda" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="vapVrCobradoEct" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
+ *         <element name="vapVrNominal" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "valePostal", propOrder = { + "cidNoCidade", + "ctcCoAadministrativo", + "ctcNuContrato", + "ctcNuContratoEct", + "cvpEdBairro", + "cvpEdCliente", + "cvpEdComplemento", + "cvpEdNumero", + "cvpNoCliente", + "cvpNuCep", + "descricaoErro", + "estSgEstado", + "monVarTarifaAdicional", + "monVarTarifaServico", + "monVarValorDescontos", + "monVarValorImposto", + "prsCoProdutoServico", + "pveNu", + "pveOrgNuAgencia", + "pveOrgNuAgenciaDes", + "pveOrgNuAgenciaOri", + "retornaCodErro", + "sitNoSituacao", + "tlgTxDescricao", + "vapDhTransacao", + "vapNuEtiquetaEncomenda", + "vapVrCobradoEct", + "vapVrNominal" +}) +public class ValePostal { + + protected String cidNoCidade; + protected String ctcCoAadministrativo; + protected Long ctcNuContrato; + protected Long ctcNuContratoEct; + protected String cvpEdBairro; + protected String cvpEdCliente; + protected String cvpEdComplemento; + protected String cvpEdNumero; + protected String cvpNoCliente; + protected Long cvpNuCep; + protected String descricaoErro; + protected String estSgEstado; + protected int monVarTarifaAdicional; + protected int monVarTarifaServico; + protected int monVarValorDescontos; + protected int monVarValorImposto; + protected Long prsCoProdutoServico; + protected Long pveNu; + protected Long pveOrgNuAgencia; + protected Long pveOrgNuAgenciaDes; + protected Long pveOrgNuAgenciaOri; + protected int retornaCodErro; + protected String sitNoSituacao; + protected String tlgTxDescricao; + @XmlSchemaType(name = "dateTime") + protected XMLGregorianCalendar vapDhTransacao; + protected String vapNuEtiquetaEncomenda; + protected Double vapVrCobradoEct; + protected Double vapVrNominal; + + /** + * Gets the value of the cidNoCidade property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCidNoCidade() { + return cidNoCidade; + } + + /** + * Sets the value of the cidNoCidade property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCidNoCidade(String value) { + this.cidNoCidade = value; + } + + /** + * Gets the value of the ctcCoAadministrativo property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCtcCoAadministrativo() { + return ctcCoAadministrativo; + } + + /** + * Sets the value of the ctcCoAadministrativo property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCtcCoAadministrativo(String value) { + this.ctcCoAadministrativo = value; + } + + /** + * Gets the value of the ctcNuContrato property. + * + * @return + * possible object is + * {@link Long } + * + */ + public Long getCtcNuContrato() { + return ctcNuContrato; + } + + /** + * Sets the value of the ctcNuContrato property. + * + * @param value + * allowed object is + * {@link Long } + * + */ + public void setCtcNuContrato(Long value) { + this.ctcNuContrato = value; + } + + /** + * Gets the value of the ctcNuContratoEct property. + * + * @return + * possible object is + * {@link Long } + * + */ + public Long getCtcNuContratoEct() { + return ctcNuContratoEct; + } + + /** + * Sets the value of the ctcNuContratoEct property. + * + * @param value + * allowed object is + * {@link Long } + * + */ + public void setCtcNuContratoEct(Long value) { + this.ctcNuContratoEct = value; + } + + /** + * Gets the value of the cvpEdBairro property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCvpEdBairro() { + return cvpEdBairro; + } + + /** + * Sets the value of the cvpEdBairro property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCvpEdBairro(String value) { + this.cvpEdBairro = value; + } + + /** + * Gets the value of the cvpEdCliente property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCvpEdCliente() { + return cvpEdCliente; + } + + /** + * Sets the value of the cvpEdCliente property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCvpEdCliente(String value) { + this.cvpEdCliente = value; + } + + /** + * Gets the value of the cvpEdComplemento property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCvpEdComplemento() { + return cvpEdComplemento; + } + + /** + * Sets the value of the cvpEdComplemento property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCvpEdComplemento(String value) { + this.cvpEdComplemento = value; + } + + /** + * Gets the value of the cvpEdNumero property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCvpEdNumero() { + return cvpEdNumero; + } + + /** + * Sets the value of the cvpEdNumero property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCvpEdNumero(String value) { + this.cvpEdNumero = value; + } + + /** + * Gets the value of the cvpNoCliente property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCvpNoCliente() { + return cvpNoCliente; + } + + /** + * Sets the value of the cvpNoCliente property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCvpNoCliente(String value) { + this.cvpNoCliente = value; + } + + /** + * Gets the value of the cvpNuCep property. + * + * @return + * possible object is + * {@link Long } + * + */ + public Long getCvpNuCep() { + return cvpNuCep; + } + + /** + * Sets the value of the cvpNuCep property. + * + * @param value + * allowed object is + * {@link Long } + * + */ + public void setCvpNuCep(Long value) { + this.cvpNuCep = value; + } + + /** + * Gets the value of the descricaoErro property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDescricaoErro() { + return descricaoErro; + } + + /** + * Sets the value of the descricaoErro property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDescricaoErro(String value) { + this.descricaoErro = value; + } + + /** + * Gets the value of the estSgEstado property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getEstSgEstado() { + return estSgEstado; + } + + /** + * Sets the value of the estSgEstado property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setEstSgEstado(String value) { + this.estSgEstado = value; + } + + /** + * Gets the value of the monVarTarifaAdicional property. + * + */ + public int getMonVarTarifaAdicional() { + return monVarTarifaAdicional; + } + + /** + * Sets the value of the monVarTarifaAdicional property. + * + */ + public void setMonVarTarifaAdicional(int value) { + this.monVarTarifaAdicional = value; + } + + /** + * Gets the value of the monVarTarifaServico property. + * + */ + public int getMonVarTarifaServico() { + return monVarTarifaServico; + } + + /** + * Sets the value of the monVarTarifaServico property. + * + */ + public void setMonVarTarifaServico(int value) { + this.monVarTarifaServico = value; + } + + /** + * Gets the value of the monVarValorDescontos property. + * + */ + public int getMonVarValorDescontos() { + return monVarValorDescontos; + } + + /** + * Sets the value of the monVarValorDescontos property. + * + */ + public void setMonVarValorDescontos(int value) { + this.monVarValorDescontos = value; + } + + /** + * Gets the value of the monVarValorImposto property. + * + */ + public int getMonVarValorImposto() { + return monVarValorImposto; + } + + /** + * Sets the value of the monVarValorImposto property. + * + */ + public void setMonVarValorImposto(int value) { + this.monVarValorImposto = value; + } + + /** + * Gets the value of the prsCoProdutoServico property. + * + * @return + * possible object is + * {@link Long } + * + */ + public Long getPrsCoProdutoServico() { + return prsCoProdutoServico; + } + + /** + * Sets the value of the prsCoProdutoServico property. + * + * @param value + * allowed object is + * {@link Long } + * + */ + public void setPrsCoProdutoServico(Long value) { + this.prsCoProdutoServico = value; + } + + /** + * Gets the value of the pveNu property. + * + * @return + * possible object is + * {@link Long } + * + */ + public Long getPveNu() { + return pveNu; + } + + /** + * Sets the value of the pveNu property. + * + * @param value + * allowed object is + * {@link Long } + * + */ + public void setPveNu(Long value) { + this.pveNu = value; + } + + /** + * Gets the value of the pveOrgNuAgencia property. + * + * @return + * possible object is + * {@link Long } + * + */ + public Long getPveOrgNuAgencia() { + return pveOrgNuAgencia; + } + + /** + * Sets the value of the pveOrgNuAgencia property. + * + * @param value + * allowed object is + * {@link Long } + * + */ + public void setPveOrgNuAgencia(Long value) { + this.pveOrgNuAgencia = value; + } + + /** + * Gets the value of the pveOrgNuAgenciaDes property. + * + * @return + * possible object is + * {@link Long } + * + */ + public Long getPveOrgNuAgenciaDes() { + return pveOrgNuAgenciaDes; + } + + /** + * Sets the value of the pveOrgNuAgenciaDes property. + * + * @param value + * allowed object is + * {@link Long } + * + */ + public void setPveOrgNuAgenciaDes(Long value) { + this.pveOrgNuAgenciaDes = value; + } + + /** + * Gets the value of the pveOrgNuAgenciaOri property. + * + * @return + * possible object is + * {@link Long } + * + */ + public Long getPveOrgNuAgenciaOri() { + return pveOrgNuAgenciaOri; + } + + /** + * Sets the value of the pveOrgNuAgenciaOri property. + * + * @param value + * allowed object is + * {@link Long } + * + */ + public void setPveOrgNuAgenciaOri(Long value) { + this.pveOrgNuAgenciaOri = value; + } + + /** + * Gets the value of the retornaCodErro property. + * + */ + public int getRetornaCodErro() { + return retornaCodErro; + } + + /** + * Sets the value of the retornaCodErro property. + * + */ + public void setRetornaCodErro(int value) { + this.retornaCodErro = value; + } + + /** + * Gets the value of the sitNoSituacao property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSitNoSituacao() { + return sitNoSituacao; + } + + /** + * Sets the value of the sitNoSituacao property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSitNoSituacao(String value) { + this.sitNoSituacao = value; + } + + /** + * Gets the value of the tlgTxDescricao property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTlgTxDescricao() { + return tlgTxDescricao; + } + + /** + * Sets the value of the tlgTxDescricao property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTlgTxDescricao(String value) { + this.tlgTxDescricao = value; + } + + /** + * Gets the value of the vapDhTransacao property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getVapDhTransacao() { + return vapDhTransacao; + } + + /** + * Sets the value of the vapDhTransacao property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setVapDhTransacao(XMLGregorianCalendar value) { + this.vapDhTransacao = value; + } + + /** + * Gets the value of the vapNuEtiquetaEncomenda property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVapNuEtiquetaEncomenda() { + return vapNuEtiquetaEncomenda; + } + + /** + * Sets the value of the vapNuEtiquetaEncomenda property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVapNuEtiquetaEncomenda(String value) { + this.vapNuEtiquetaEncomenda = value; + } + + /** + * Gets the value of the vapVrCobradoEct property. + * + * @return + * possible object is + * {@link Double } + * + */ + public Double getVapVrCobradoEct() { + return vapVrCobradoEct; + } + + /** + * Sets the value of the vapVrCobradoEct property. + * + * @param value + * allowed object is + * {@link Double } + * + */ + public void setVapVrCobradoEct(Double value) { + this.vapVrCobradoEct = value; + } + + /** + * Gets the value of the vapVrNominal property. + * + * @return + * possible object is + * {@link Double } + * + */ + public Double getVapVrNominal() { + return vapVrNominal; + } + + /** + * Sets the value of the vapVrNominal property. + * + * @param value + * allowed object is + * {@link Double } + * + */ + public void setVapVrNominal(Double value) { + this.vapVrNominal = value; + } + +} diff --git a/src/main/java/br/com/correios/webservice/postagem/ValidarPostagemReversa.java b/src/main/java/br/com/correios/webservice/postagem/ValidarPostagemReversa.java index 5cc8fb0..7685548 100644 --- a/src/main/java/br/com/correios/webservice/postagem/ValidarPostagemReversa.java +++ b/src/main/java/br/com/correios/webservice/postagem/ValidarPostagemReversa.java @@ -16,10 +16,11 @@ * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> - * <element name="codAdministrativo" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> - * <element name="codigoServico" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> + * <element name="codAdministrativo" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="codigoServico" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="cepDestinatario" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * <element name="coleta" type="{http://cliente.bean.master.sigep.bsb.correios.com.br/}coletaReversaTO" minOccurs="0"/> + * <element name="idCartaoPostagem" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="coleta" type="{http://cliente.bean.master.sigep.bsb.correios.com.br/}coletaReversa" minOccurs="0"/> * <element name="usuario" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="senha" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * </sequence> @@ -35,16 +36,18 @@ "codAdministrativo", "codigoServico", "cepDestinatario", + "idCartaoPostagem", "coleta", "usuario", "senha" }) public class ValidarPostagemReversa { - protected Integer codAdministrativo; - protected Integer codigoServico; + protected String codAdministrativo; + protected String codigoServico; protected String cepDestinatario; - protected ColetaReversaTO coleta; + protected String idCartaoPostagem; + protected ColetaReversa coleta; protected String usuario; protected String senha; @@ -53,10 +56,10 @@ public class ValidarPostagemReversa { * * @return * possible object is - * {@link Integer } + * {@link String } * */ - public Integer getCodAdministrativo() { + public String getCodAdministrativo() { return codAdministrativo; } @@ -65,10 +68,10 @@ public Integer getCodAdministrativo() { * * @param value * allowed object is - * {@link Integer } + * {@link String } * */ - public void setCodAdministrativo(Integer value) { + public void setCodAdministrativo(String value) { this.codAdministrativo = value; } @@ -77,10 +80,10 @@ public void setCodAdministrativo(Integer value) { * * @return * possible object is - * {@link Integer } + * {@link String } * */ - public Integer getCodigoServico() { + public String getCodigoServico() { return codigoServico; } @@ -89,10 +92,10 @@ public Integer getCodigoServico() { * * @param value * allowed object is - * {@link Integer } + * {@link String } * */ - public void setCodigoServico(Integer value) { + public void setCodigoServico(String value) { this.codigoServico = value; } @@ -120,15 +123,39 @@ public void setCepDestinatario(String value) { this.cepDestinatario = value; } + /** + * Gets the value of the idCartaoPostagem property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIdCartaoPostagem() { + return idCartaoPostagem; + } + + /** + * Sets the value of the idCartaoPostagem property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIdCartaoPostagem(String value) { + this.idCartaoPostagem = value; + } + /** * Gets the value of the coleta property. * * @return * possible object is - * {@link ColetaReversaTO } + * {@link ColetaReversa } * */ - public ColetaReversaTO getColeta() { + public ColetaReversa getColeta() { return coleta; } @@ -137,10 +164,10 @@ public ColetaReversaTO getColeta() { * * @param value * allowed object is - * {@link ColetaReversaTO } + * {@link ColetaReversa } * */ - public void setColeta(ColetaReversaTO value) { + public void setColeta(ColetaReversa value) { this.coleta = value; } diff --git a/src/main/java/br/com/correios/webservice/postagem/ValidarPostagemSimultanea.java b/src/main/java/br/com/correios/webservice/postagem/ValidarPostagemSimultanea.java index 1bcbcc8..850fed1 100644 --- a/src/main/java/br/com/correios/webservice/postagem/ValidarPostagemSimultanea.java +++ b/src/main/java/br/com/correios/webservice/postagem/ValidarPostagemSimultanea.java @@ -18,8 +18,9 @@ * <sequence> * <element name="codAdministrativo" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> * <element name="codigoServico" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> + * <element name="idCartaoPostagem" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="cepDestinatario" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * <element name="coleta" type="{http://cliente.bean.master.sigep.bsb.correios.com.br/}coletaSimultaneaTO" minOccurs="0"/> + * <element name="coleta" type="{http://cliente.bean.master.sigep.bsb.correios.com.br/}coletaSimultanea" minOccurs="0"/> * <element name="usuario" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="senha" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * </sequence> @@ -34,6 +35,7 @@ @XmlType(name = "validarPostagemSimultanea", propOrder = { "codAdministrativo", "codigoServico", + "idCartaoPostagem", "cepDestinatario", "coleta", "usuario", @@ -43,8 +45,9 @@ public class ValidarPostagemSimultanea { protected Integer codAdministrativo; protected Integer codigoServico; + protected String idCartaoPostagem; protected String cepDestinatario; - protected ColetaSimultaneaTO coleta; + protected ColetaSimultanea coleta; protected String usuario; protected String senha; @@ -96,6 +99,30 @@ public void setCodigoServico(Integer value) { this.codigoServico = value; } + /** + * Gets the value of the idCartaoPostagem property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIdCartaoPostagem() { + return idCartaoPostagem; + } + + /** + * Sets the value of the idCartaoPostagem property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIdCartaoPostagem(String value) { + this.idCartaoPostagem = value; + } + /** * Gets the value of the cepDestinatario property. * @@ -125,10 +152,10 @@ public void setCepDestinatario(String value) { * * @return * possible object is - * {@link ColetaSimultaneaTO } + * {@link ColetaSimultanea } * */ - public ColetaSimultaneaTO getColeta() { + public ColetaSimultanea getColeta() { return coleta; } @@ -137,10 +164,10 @@ public ColetaSimultaneaTO getColeta() { * * @param value * allowed object is - * {@link ColetaSimultaneaTO } + * {@link ColetaSimultanea } * */ - public void setColeta(ColetaSimultaneaTO value) { + public void setColeta(ColetaSimultanea value) { this.coleta = value; } diff --git a/src/main/java/br/com/correios/webservice/postagem/ValorDeclarado.java b/src/main/java/br/com/correios/webservice/postagem/ValorDeclarado.java new file mode 100644 index 0000000..7e03560 --- /dev/null +++ b/src/main/java/br/com/correios/webservice/postagem/ValorDeclarado.java @@ -0,0 +1,87 @@ + +package br.com.correios.webservice.postagem; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for valorDeclarado complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="valorDeclarado">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="maximo" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
+ *         <element name="minimo" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "valorDeclarado", propOrder = { + "maximo", + "minimo" +}) +public class ValorDeclarado { + + protected Double maximo; + protected Double minimo; + + /** + * Gets the value of the maximo property. + * + * @return + * possible object is + * {@link Double } + * + */ + public Double getMaximo() { + return maximo; + } + + /** + * Sets the value of the maximo property. + * + * @param value + * allowed object is + * {@link Double } + * + */ + public void setMaximo(Double value) { + this.maximo = value; + } + + /** + * Gets the value of the minimo property. + * + * @return + * possible object is + * {@link Double } + * + */ + public Double getMinimo() { + return minimo; + } + + /** + * Sets the value of the minimo property. + * + * @param value + * allowed object is + * {@link Double } + * + */ + public void setMinimo(Double value) { + this.minimo = value; + } + +} diff --git a/src/main/java/br/com/correios/webservice/postagem/VerificaDisponibilidadeServicoResponse.java b/src/main/java/br/com/correios/webservice/postagem/VerificaDisponibilidadeServicoResponse.java index e1ca14e..5517a95 100644 --- a/src/main/java/br/com/correios/webservice/postagem/VerificaDisponibilidadeServicoResponse.java +++ b/src/main/java/br/com/correios/webservice/postagem/VerificaDisponibilidadeServicoResponse.java @@ -17,7 +17,7 @@ * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> - * <element name="return" type="{http://www.w3.org/2001/XMLSchema}boolean"/> + * <element name="return" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -33,21 +33,29 @@ public class VerificaDisponibilidadeServicoResponse { @XmlElement(name = "return") - protected boolean _return; + protected String _return; /** * Gets the value of the return property. * + * @return + * possible object is + * {@link String } + * */ - public boolean isReturn() { + public String getReturn() { return _return; } /** * Sets the value of the return property. * + * @param value + * allowed object is + * {@link String } + * */ - public void setReturn(boolean value) { + public void setReturn(String value) { this._return = value; } diff --git a/src/main/java/br/com/correios/webservice/postagem/VerificaModalTransporte.java b/src/main/java/br/com/correios/webservice/postagem/VerificaModalTransporte.java new file mode 100644 index 0000000..d198318 --- /dev/null +++ b/src/main/java/br/com/correios/webservice/postagem/VerificaModalTransporte.java @@ -0,0 +1,168 @@ + +package br.com.correios.webservice.postagem; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for verificaModalTransporte complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="verificaModalTransporte">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="codigoServico" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="cepOrigem" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="cepDestino" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="usuario" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="senha" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "verificaModalTransporte", propOrder = { + "codigoServico", + "cepOrigem", + "cepDestino", + "usuario", + "senha" +}) +public class VerificaModalTransporte { + + protected String codigoServico; + protected String cepOrigem; + protected String cepDestino; + protected String usuario; + protected String senha; + + /** + * Gets the value of the codigoServico property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCodigoServico() { + return codigoServico; + } + + /** + * Sets the value of the codigoServico property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCodigoServico(String value) { + this.codigoServico = value; + } + + /** + * Gets the value of the cepOrigem property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCepOrigem() { + return cepOrigem; + } + + /** + * Sets the value of the cepOrigem property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCepOrigem(String value) { + this.cepOrigem = value; + } + + /** + * Gets the value of the cepDestino property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCepDestino() { + return cepDestino; + } + + /** + * Sets the value of the cepDestino property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCepDestino(String value) { + this.cepDestino = value; + } + + /** + * Gets the value of the usuario property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getUsuario() { + return usuario; + } + + /** + * Sets the value of the usuario property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setUsuario(String value) { + this.usuario = value; + } + + /** + * Gets the value of the senha property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSenha() { + return senha; + } + + /** + * Sets the value of the senha property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSenha(String value) { + this.senha = value; + } + +} diff --git a/src/main/java/br/com/correios/webservice/postagem/VerificaModalTransporteResponse.java b/src/main/java/br/com/correios/webservice/postagem/VerificaModalTransporteResponse.java new file mode 100644 index 0000000..d7c0a73 --- /dev/null +++ b/src/main/java/br/com/correios/webservice/postagem/VerificaModalTransporteResponse.java @@ -0,0 +1,62 @@ + +package br.com.correios.webservice.postagem; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for verificaModalTransporteResponse complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="verificaModalTransporteResponse">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="return" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "verificaModalTransporteResponse", propOrder = { + "_return" +}) +public class VerificaModalTransporteResponse { + + @XmlElement(name = "return") + protected String _return; + + /** + * Gets the value of the return property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getReturn() { + return _return; + } + + /** + * Sets the value of the return property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setReturn(String value) { + this._return = value; + } + +} diff --git a/src/main/java/br/com/correios/webservice/postagem/VerificaSeTodosObjetosCancelados.java b/src/main/java/br/com/correios/webservice/postagem/VerificaSeTodosObjetosCancelados.java new file mode 100644 index 0000000..ab2f332 --- /dev/null +++ b/src/main/java/br/com/correios/webservice/postagem/VerificaSeTodosObjetosCancelados.java @@ -0,0 +1,67 @@ + +package br.com.correios.webservice.postagem; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for VerificaSeTodosObjetosCancelados complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="VerificaSeTodosObjetosCancelados">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="arg0" type="{http://cliente.bean.master.sigep.bsb.correios.com.br/}objetoPostal" maxOccurs="unbounded" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "VerificaSeTodosObjetosCancelados", propOrder = { + "arg0" +}) +public class VerificaSeTodosObjetosCancelados { + + protected List arg0; + + /** + * Gets the value of the arg0 property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the arg0 property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getArg0().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link ObjetoPostal } + * + * + */ + public List getArg0() { + if (arg0 == null) { + arg0 = new ArrayList(); + } + return this.arg0; + } + +} diff --git a/src/main/java/br/com/correios/webservice/postagem/VerificaSeTodosObjetosCanceladosResponse.java b/src/main/java/br/com/correios/webservice/postagem/VerificaSeTodosObjetosCanceladosResponse.java new file mode 100644 index 0000000..6a2c709 --- /dev/null +++ b/src/main/java/br/com/correios/webservice/postagem/VerificaSeTodosObjetosCanceladosResponse.java @@ -0,0 +1,54 @@ + +package br.com.correios.webservice.postagem; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for VerificaSeTodosObjetosCanceladosResponse complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="VerificaSeTodosObjetosCanceladosResponse">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="return" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "VerificaSeTodosObjetosCanceladosResponse", propOrder = { + "_return" +}) +public class VerificaSeTodosObjetosCanceladosResponse { + + @XmlElement(name = "return") + protected boolean _return; + + /** + * Gets the value of the return property. + * + */ + public boolean isReturn() { + return _return; + } + + /** + * Sets the value of the return property. + * + */ + public void setReturn(boolean value) { + this._return = value; + } + +} diff --git a/src/main/resources/wsdl/AtendeCliente.wsdl b/src/main/resources/wsdl/AtendeCliente.wsdl new file mode 100644 index 0000000..e1a81f0 --- /dev/null +++ b/src/main/resources/wsdl/AtendeCliente.wsdl @@ -0,0 +1,3127 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file From 172c3fe7f65e464ceee505894c9a4cdbfdc4ab7b Mon Sep 17 00:00:00 2001 From: Joao Lopes Date: Tue, 17 Sep 2019 18:23:35 -0300 Subject: [PATCH 2/2] adiciona wsdl local --- .../postagem/AtendeClienteService.java | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/src/main/java/br/com/correios/webservice/postagem/AtendeClienteService.java b/src/main/java/br/com/correios/webservice/postagem/AtendeClienteService.java index a0228ad..deb09d1 100644 --- a/src/main/java/br/com/correios/webservice/postagem/AtendeClienteService.java +++ b/src/main/java/br/com/correios/webservice/postagem/AtendeClienteService.java @@ -1,13 +1,12 @@ package br.com.correios.webservice.postagem; -import java.net.MalformedURLException; import java.net.URL; + import javax.xml.namespace.QName; import javax.xml.ws.Service; import javax.xml.ws.WebEndpoint; import javax.xml.ws.WebServiceClient; -import javax.xml.ws.WebServiceException; import javax.xml.ws.WebServiceFeature; @@ -17,25 +16,16 @@ * Generated source version: 2.2 * */ -@WebServiceClient(name = "AtendeClienteService", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", wsdlLocation = "file:/home/developer/dev/correios-java-sdk/src/main/resources/wsdl/AtendeCliente.wsdl") +@WebServiceClient(name = "AtendeClienteService", targetNamespace = "http://cliente.bean.master.sigep.bsb.correios.com.br/", wsdlLocation = "classpath:wsdl/AtendeCliente.wsdl") public class AtendeClienteService extends Service { private final static URL ATENDECLIENTESERVICE_WSDL_LOCATION; - private final static WebServiceException ATENDECLIENTESERVICE_EXCEPTION; private final static QName ATENDECLIENTESERVICE_QNAME = new QName("http://cliente.bean.master.sigep.bsb.correios.com.br/", "AtendeClienteService"); static { - URL url = null; - WebServiceException e = null; - try { - url = new URL("file:/home/developer/dev/correios-java-sdk/src/main/resources/wsdl/AtendeCliente.wsdl"); - } catch (MalformedURLException ex) { - e = new WebServiceException(ex); - } - ATENDECLIENTESERVICE_WSDL_LOCATION = url; - ATENDECLIENTESERVICE_EXCEPTION = e; + ATENDECLIENTESERVICE_WSDL_LOCATION = AtendeClienteService.class.getClassLoader().getResource("wsdl/CalcPrecoPrazo.wsdl"); } public AtendeClienteService() { @@ -85,9 +75,6 @@ public AtendeCliente getAtendeClientePort(WebServiceFeature... features) { } private static URL __getWsdlLocation() { - if (ATENDECLIENTESERVICE_EXCEPTION!= null) { - throw ATENDECLIENTESERVICE_EXCEPTION; - } return ATENDECLIENTESERVICE_WSDL_LOCATION; }