The message templates below show how an original message and a message based on the modified WSDL will look like.
Original | Modified |
---|---|
<ns1:contarPessoaFisica xmlns:ns1='clientes.basico.tfs.totvs.com'> <!-- optional --> <contar> <!-- optional --> <codigoCliente>?999?</codigoCliente> <!-- optional --> <numeroCic>?XXX?</numeroCic> <!-- optional --> <codigoUnidadeResponsavel>?999?</codigoUnidadeResponsavel> <!-- optional --> <nomePessoa>?XXX?</nomePessoa> <!-- optional --> <nacionalidade>?XXX?</nacionalidade> <!-- optional --> <descricaoLocalidadeNascimento>?XXX?</descricaoLocalidadeNascimento> <!-- optional --> <dataNascimento>2008-12-31</dataNascimento> <!-- optional --> <dataEmissaoIdentidade>2008-12-31</dataEmissaoIdentidade> <!-- optional --> <siglaOrgaoEmissorOutroDocumento>?XXX?</siglaOrgaoEmissorOutroDocumento> <!-- optional --> <numeroOutroDocumento>?XXX?</numeroOutroDocumento> <!-- optional --> <indicadorPeriodicidade>?true?</indicadorPeriodicidade> <!-- optional --> <valorRendaFamiliar>?999.99?</valorRendaFamiliar> <!-- optional --> <numeroFilhosResponsavel>?999?</numeroFilhosResponsavel> <!-- optional --> <!-- possible value: AC, possible value: AL, possible value: AP, possible value: AM, possible value: BA, possible value: CE, possible value: DF, possible value: ES, possible value: GO, possible value: MA, possible value: MS, possible value: MT, possible value: MG, possible value: PA, possible value: PB, possible value: PR, possible value: PE, possible value: PI, possible value: RJ, possible value: RN, possible value: RS, possible value: RO, possible value: RR, possible value: SC, possible value: SP, possible value: SE, possible value: TO --> <ufNaturalidade>???</ufNaturalidade> <!-- optional --> <!-- possible value: AC, possible value: AL, possible value: AP, possible value: AM, possible value: BA, possible value: CE, possible value: DF, possible value: ES, possible value: GO, possible value: MA, possible value: MS, possible value: MT, possible value: MG, possible value: PA, possible value: PB, possible value: PR, possible value: PE, possible value: PI, possible value: RJ, possible value: RN, possible value: RS, possible value: RO, possible value: RR, possible value: SC, possible value: SP, possible value: SE, possible value: TO --> <siglaUfEmissao>???</siglaUfEmissao> <!-- optional --> <!-- possible value: CARTEIRA_CONSELHO_REGIONAL, possible value: CARTEIRA_IDENTIDADE, possible value: CARTEIRA_MOTORISTA, possible value: CARTEIRA_TRABALHO, possible value: CERTIDAO_NASCIMENTO --> <indicadorOutroDucumento>???</indicadorOutroDucumento> <!-- optional --> <!-- possible value: ANALFABETO, possible value: ENSINO_FUNDAMENTAL, possible value: ENSINO_MEDIO, possible value: TECNICO, possible value: SUPERIOR_INCOMPLETO, possible value: SUPERIOR_COMPLETO, possible value: POS_GRADUADO, possible value: MESTRADO, possible value: DOUTORADO, possible value: PHD --> <indicadorNivelEscolaridade>???</indicadorNivelEscolaridade> <!-- optional --> <!-- possible value: MASCULINO, possible value: FEMININO --> <indicadorSexo>???</indicadorSexo> <!-- optional --> <codigoEstadoCivil>?XXX?</codigoEstadoCivil> </contar> </ns1:contarPessoaFisica> |
<ns1:contarPessoaFisica xmlns:ns1='clientes.basico.tfs.totvs.com'> <!-- optional --> <contar> <!-- optional --> <codigoCliente>?999?</codigoCliente> <!-- optional --> <numeroCic>?XXX?</numeroCic> <!-- optional --> <codigoUnidadeResponsavel>?999?</codigoUnidadeResponsavel> <!-- optional --> <nomePessoa>?XXX?</nomePessoa> <!-- optional --> <nacionalidade>?XXX?</nacionalidade> <!-- optional --> <descricaoLocalidadeNascimento>?XXX?</descricaoLocalidadeNascimento> <!-- optional --> <dataNascimento>2008-12-31</dataNascimento> <!-- optional --> <dataEmissaoIdentidade>2008-12-31</dataEmissaoIdentidade> <!-- optional --> <siglaOrgaoEmissorOutroDocumento>?XXX?</siglaOrgaoEmissorOutroDocumento> <!-- optional --> <numeroOutroDocumento>?XXX?</numeroOutroDocumento> <!-- optional --> <indicadorPeriodicidade>?true?</indicadorPeriodicidade> <!-- optional --> <valorRendaFamiliar>?999.99?</valorRendaFamiliar> <!-- optional --> <numeroFilhosResponsavel>?999?</numeroFilhosResponsavel> <!-- optional --> <!-- possible value: AC, possible value: AL, possible value: AP, possible value: AM, possible value: BA, possible value: CE, possible value: DF, possible value: ES, possible value: GO, possible value: MA, possible value: MS, possible value: MT, possible value: MG, possible value: PA, possible value: PB, possible value: PR, possible value: PE, possible value: PI, possible value: RJ, possible value: RN, possible value: RS, possible value: RO, possible value: RR, possible value: SC, possible value: SP, possible value: SE, possible value: TO --> <ufNaturalidade>???</ufNaturalidade> <!-- optional --> <!-- possible value: AC, possible value: AL, possible value: AP, possible value: AM, possible value: BA, possible value: CE, possible value: DF, possible value: ES, possible value: GO, possible value: MA, possible value: MS, possible value: MT, possible value: MG, possible value: PA, possible value: PB, possible value: PR, possible value: PE, possible value: PI, possible value: RJ, possible value: RN, possible value: RS, possible value: RO, possible value: RR, possible value: SC, possible value: SP, possible value: SE, possible value: TO --> <siglaUfEmissao>???</siglaUfEmissao> <!-- optional --> <!-- possible value: CARTEIRA_CONSELHO_REGIONAL, possible value: CARTEIRA_IDENTIDADE, possible value: CARTEIRA_MOTORISTA, possible value: CARTEIRA_TRABALHO, possible value: CERTIDAO_NASCIMENTO, possible value: PASSAPORTE, possible value: REGISTRO_NACIONAL_ESTRANGEIROS --> <indicadorOutroDucumento>???</indicadorOutroDucumento> <!-- optional --> <!-- possible value: ANALFABETO, possible value: ENSINO_FUNDAMENTAL, possible value: ENSINO_MEDIO, possible value: TECNICO, possible value: SUPERIOR_INCOMPLETO, possible value: SUPERIOR_COMPLETO, possible value: POS_GRADUADO, possible value: MESTRADO, possible value: DOUTORADO, possible value: PHD --> <indicadorNivelEscolaridade>???</indicadorNivelEscolaridade> <!-- optional --> <!-- possible value: MASCULINO, possible value: FEMININO --> <indicadorSexo>???</indicadorSexo> <!-- optional --> <codigoEstadoCivil>?XXX?</codigoEstadoCivil> <!-- optional --> <situcao>?XXX?</situcao> </contar> </ns1:contarPessoaFisica> |
The following schemas are only showing definitions that are relevant to the message. The real schemas might be bigger.
Original | Modified |
---|---|
<xsd:schema targetNamespace='clientes.basico.tfs.totvs.com' attributeFormDefault='unqualified' elementFormDefault='unqualified' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:tns='clientes.basico.tfs.totvs.com'> <xsd:element name='contarPessoaFisica' type='tns:contarPessoaFisica' /> <xsd:complexType name='contarPessoaFisica'> <xsd:sequence minOccurs='1' maxOccurs='1'> <xsd:element name='contar' type='tns:pessoaFisicaFiltroDTO' minOccurs='0' /> </xsd:sequence> </xsd:complexType> <xsd:complexType name='pessoaFisicaFiltroDTO'> <xsd:sequence minOccurs='1' maxOccurs='1'> <xsd:element name='codigoCliente' type='xsd:long' minOccurs='0' /> <xsd:element name='numeroCic' type='xsd:string' minOccurs='0' /> <xsd:element name='codigoUnidadeResponsavel' type='xsd:long' minOccurs='0' /> <xsd:element name='nomePessoa' type='xsd:string' minOccurs='0' /> <xsd:element name='nacionalidade' type='xsd:string' minOccurs='0' /> <xsd:element name='descricaoLocalidadeNascimento' type='xsd:string' minOccurs='0' /> <xsd:element name='dataNascimento' type='xsd:date' minOccurs='0' /> <xsd:element name='dataEmissaoIdentidade' type='xsd:date' minOccurs='0' /> <xsd:element name='siglaOrgaoEmissorOutroDocumento' type='xsd:string' minOccurs='0' /> <xsd:element name='numeroOutroDocumento' type='xsd:string' minOccurs='0' /> <xsd:element name='indicadorPeriodicidade' type='xsd:boolean' minOccurs='0' /> <xsd:element name='valorRendaFamiliar' type='xsd:decimal' minOccurs='0' /> <xsd:element name='numeroFilhosResponsavel' type='xsd:long' minOccurs='0' /> <xsd:element name='ufNaturalidade' type='tns:dominioUF' minOccurs='0' /> <xsd:element name='siglaUfEmissao' type='tns:dominioUF' minOccurs='0' /> <xsd:element name='indicadorOutroDucumento' type='tns:dominioOutroDocumento' minOccurs='0' /> <xsd:element name='indicadorNivelEscolaridade' type='tns:dominioEscolaridade' minOccurs='0' /> <xsd:element name='indicadorSexo' type='tns:dominioSexo' minOccurs='0' /> <xsd:element name='codigoEstadoCivil' type='xsd:string' minOccurs='0' /> </xsd:sequence> </xsd:complexType> <xsd:simpleType name='dominioUF'> <xsd:restriction base='xsd:string'> <xsd:enumeration value='AC' /> <xsd:enumeration value='AL' /> <xsd:enumeration value='AP' /> <xsd:enumeration value='AM' /> <xsd:enumeration value='BA' /> <xsd:enumeration value='CE' /> <xsd:enumeration value='DF' /> <xsd:enumeration value='ES' /> <xsd:enumeration value='GO' /> <xsd:enumeration value='MA' /> <xsd:enumeration value='MS' /> <xsd:enumeration value='MT' /> <xsd:enumeration value='MG' /> <xsd:enumeration value='PA' /> <xsd:enumeration value='PB' /> <xsd:enumeration value='PR' /> <xsd:enumeration value='PE' /> <xsd:enumeration value='PI' /> <xsd:enumeration value='RJ' /> <xsd:enumeration value='RN' /> <xsd:enumeration value='RS' /> <xsd:enumeration value='RO' /> <xsd:enumeration value='RR' /> <xsd:enumeration value='SC' /> <xsd:enumeration value='SP' /> <xsd:enumeration value='SE' /> <xsd:enumeration value='TO' /> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name='dominioUF'> <xsd:restriction base='xsd:string'> <xsd:enumeration value='AC' /> <xsd:enumeration value='AL' /> <xsd:enumeration value='AP' /> <xsd:enumeration value='AM' /> <xsd:enumeration value='BA' /> <xsd:enumeration value='CE' /> <xsd:enumeration value='DF' /> <xsd:enumeration value='ES' /> <xsd:enumeration value='GO' /> <xsd:enumeration value='MA' /> <xsd:enumeration value='MS' /> <xsd:enumeration value='MT' /> <xsd:enumeration value='MG' /> <xsd:enumeration value='PA' /> <xsd:enumeration value='PB' /> <xsd:enumeration value='PR' /> <xsd:enumeration value='PE' /> <xsd:enumeration value='PI' /> <xsd:enumeration value='RJ' /> <xsd:enumeration value='RN' /> <xsd:enumeration value='RS' /> <xsd:enumeration value='RO' /> <xsd:enumeration value='RR' /> <xsd:enumeration value='SC' /> <xsd:enumeration value='SP' /> <xsd:enumeration value='SE' /> <xsd:enumeration value='TO' /> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name='dominioOutroDocumento'> <xsd:restriction base='xsd:string'> <xsd:enumeration value='CARTEIRA_CONSELHO_REGIONAL' /> <xsd:enumeration value='CARTEIRA_IDENTIDADE' /> <xsd:enumeration value='CARTEIRA_MOTORISTA' /> <xsd:enumeration value='CARTEIRA_TRABALHO' /> <xsd:enumeration value='CERTIDAO_NASCIMENTO' /> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name='dominioEscolaridade'> <xsd:restriction base='xsd:string'> <xsd:enumeration value='ANALFABETO' /> <xsd:enumeration value='ENSINO_FUNDAMENTAL' /> <xsd:enumeration value='ENSINO_MEDIO' /> <xsd:enumeration value='TECNICO' /> <xsd:enumeration value='SUPERIOR_INCOMPLETO' /> <xsd:enumeration value='SUPERIOR_COMPLETO' /> <xsd:enumeration value='POS_GRADUADO' /> <xsd:enumeration value='MESTRADO' /> <xsd:enumeration value='DOUTORADO' /> <xsd:enumeration value='PHD' /> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name='dominioSexo'> <xsd:restriction base='xsd:string'> <xsd:enumeration value='MASCULINO' /> <xsd:enumeration value='FEMININO' /> </xsd:restriction> </xsd:simpleType> </xsd:schema> |
<xsd:schema targetNamespace='clientes.basico.tfs.totvs.com' attributeFormDefault='unqualified' elementFormDefault='unqualified' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:tns='clientes.basico.tfs.totvs.com'> <xsd:element name='contarPessoaFisica' type='tns:contarPessoaFisica' /> <xsd:complexType name='contarPessoaFisica'> <xsd:sequence minOccurs='1' maxOccurs='1'> <xsd:element name='contar' type='tns:pessoaFisicaFiltroDTO' minOccurs='0' /> </xsd:sequence> </xsd:complexType> <xsd:complexType name='pessoaFisicaFiltroDTO'> <xsd:sequence minOccurs='1' maxOccurs='1'> <xsd:element name='codigoCliente' type='xsd:long' minOccurs='0' /> <xsd:element name='numeroCic' type='xsd:string' minOccurs='0' /> <xsd:element name='codigoUnidadeResponsavel' type='xsd:long' minOccurs='0' /> <xsd:element name='nomePessoa' type='xsd:string' minOccurs='0' /> <xsd:element name='nacionalidade' type='xsd:string' minOccurs='0' /> <xsd:element name='descricaoLocalidadeNascimento' type='xsd:string' minOccurs='0' /> <xsd:element name='dataNascimento' type='xsd:date' minOccurs='0' /> <xsd:element name='dataEmissaoIdentidade' type='xsd:date' minOccurs='0' /> <xsd:element name='siglaOrgaoEmissorOutroDocumento' type='xsd:string' minOccurs='0' /> <xsd:element name='numeroOutroDocumento' type='xsd:string' minOccurs='0' /> <xsd:element name='indicadorPeriodicidade' type='xsd:boolean' minOccurs='0' /> <xsd:element name='valorRendaFamiliar' type='xsd:decimal' minOccurs='0' /> <xsd:element name='numeroFilhosResponsavel' type='xsd:long' minOccurs='0' /> <xsd:element name='ufNaturalidade' type='tns:dominioUF' minOccurs='0' /> <xsd:element name='siglaUfEmissao' type='tns:dominioUF' minOccurs='0' /> <xsd:element name='indicadorOutroDucumento' type='tns:dominioOutroDocumento' minOccurs='0' /> <xsd:element name='indicadorNivelEscolaridade' type='tns:dominioEscolaridade' minOccurs='0' /> <xsd:element name='indicadorSexo' type='tns:dominioSexo' minOccurs='0' /> <xsd:element name='codigoEstadoCivil' type='xsd:string' minOccurs='0' /> <xsd:element name='situcao' type='xsd:string' minOccurs='0' /> </xsd:sequence> </xsd:complexType> <xsd:simpleType name='dominioUF'> <xsd:restriction base='xsd:string'> <xsd:enumeration value='AC' /> <xsd:enumeration value='AL' /> <xsd:enumeration value='AP' /> <xsd:enumeration value='AM' /> <xsd:enumeration value='BA' /> <xsd:enumeration value='CE' /> <xsd:enumeration value='DF' /> <xsd:enumeration value='ES' /> <xsd:enumeration value='GO' /> <xsd:enumeration value='MA' /> <xsd:enumeration value='MS' /> <xsd:enumeration value='MT' /> <xsd:enumeration value='MG' /> <xsd:enumeration value='PA' /> <xsd:enumeration value='PB' /> <xsd:enumeration value='PR' /> <xsd:enumeration value='PE' /> <xsd:enumeration value='PI' /> <xsd:enumeration value='RJ' /> <xsd:enumeration value='RN' /> <xsd:enumeration value='RS' /> <xsd:enumeration value='RO' /> <xsd:enumeration value='RR' /> <xsd:enumeration value='SC' /> <xsd:enumeration value='SP' /> <xsd:enumeration value='SE' /> <xsd:enumeration value='TO' /> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name='dominioUF'> <xsd:restriction base='xsd:string'> <xsd:enumeration value='AC' /> <xsd:enumeration value='AL' /> <xsd:enumeration value='AP' /> <xsd:enumeration value='AM' /> <xsd:enumeration value='BA' /> <xsd:enumeration value='CE' /> <xsd:enumeration value='DF' /> <xsd:enumeration value='ES' /> <xsd:enumeration value='GO' /> <xsd:enumeration value='MA' /> <xsd:enumeration value='MS' /> <xsd:enumeration value='MT' /> <xsd:enumeration value='MG' /> <xsd:enumeration value='PA' /> <xsd:enumeration value='PB' /> <xsd:enumeration value='PR' /> <xsd:enumeration value='PE' /> <xsd:enumeration value='PI' /> <xsd:enumeration value='RJ' /> <xsd:enumeration value='RN' /> <xsd:enumeration value='RS' /> <xsd:enumeration value='RO' /> <xsd:enumeration value='RR' /> <xsd:enumeration value='SC' /> <xsd:enumeration value='SP' /> <xsd:enumeration value='SE' /> <xsd:enumeration value='TO' /> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name='dominioOutroDocumento'> <xsd:restriction base='xsd:string'> <xsd:enumeration value='CARTEIRA_CONSELHO_REGIONAL' /> <xsd:enumeration value='CARTEIRA_IDENTIDADE' /> <xsd:enumeration value='CARTEIRA_MOTORISTA' /> <xsd:enumeration value='CARTEIRA_TRABALHO' /> <xsd:enumeration value='CERTIDAO_NASCIMENTO' /> <xsd:enumeration value='PASSAPORTE' /> <xsd:enumeration value='REGISTRO_NACIONAL_ESTRANGEIROS' /> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name='dominioEscolaridade'> <xsd:restriction base='xsd:string'> <xsd:enumeration value='ANALFABETO' /> <xsd:enumeration value='ENSINO_FUNDAMENTAL' /> <xsd:enumeration value='ENSINO_MEDIO' /> <xsd:enumeration value='TECNICO' /> <xsd:enumeration value='SUPERIOR_INCOMPLETO' /> <xsd:enumeration value='SUPERIOR_COMPLETO' /> <xsd:enumeration value='POS_GRADUADO' /> <xsd:enumeration value='MESTRADO' /> <xsd:enumeration value='DOUTORADO' /> <xsd:enumeration value='PHD' /> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name='dominioSexo'> <xsd:restriction base='xsd:string'> <xsd:enumeration value='MASCULINO' /> <xsd:enumeration value='FEMININO' /> </xsd:restriction> </xsd:simpleType> </xsd:schema> |