The message templates below show how an original message and a message based on the modified WSDL will look like.
Original | Modified |
---|---|
<ns1:listarInterfaceReversaoResponse xmlns:ns1='scr.legais.tfs.totvs.com'> <!-- from 0 to unbounded --> <return> <!-- optional --> <arquivo>?XXX?</arquivo> <!-- optional --> <descricaoInterface>?XXX?</descricaoInterface> <!-- optional --> <identificadorCargaInterface>?999?</identificadorCargaInterface> <!-- optional --> <identificadorInterface>?999?</identificadorInterface> <!-- optional --> <quantidade>?999?</quantidade> <selecaoHabilitada>?true?</selecaoHabilitada> <!-- optional --> <siglaInterface>?XXX?</siglaInterface> <!-- optional --> <!-- possible value: ARQUIVO_NAO_ENCONTRADO, possible value: IMPORTACAO_DISPONIVEL, possible value: IMPORTACAO_INDISPONIVEL, possible value: INTERFACE_JA_IMPORTADA, possible value: INTERFACE_JA_REVERTIDA_NAO_IMPORTADA, possible value: REVERSAO_DISPONIVEL --> <situacaoInterface>???</situacaoInterface> <!-- optional --> <!-- possible value: BANCO_DE_DADOS, possible value: SERVICO, possible value: ARQUIVO --> <tipoInterface>???</tipoInterface> </return> </ns1:listarInterfaceReversaoResponse> |
<ns1:listarInterfaceReversaoResponse xmlns:ns1='scr.legais.tfs.totvs.com'> <!-- from 0 to unbounded --> <return> <!-- optional --> <arquivo>?XXX?</arquivo> <!-- optional --> <descricaoInterface>?XXX?</descricaoInterface> <!-- optional --> <identificadorCargaInterface>?999?</identificadorCargaInterface> <!-- optional --> <identificadorInterface>?999?</identificadorInterface> <!-- optional --> <qtdLinhasErro>?999?</qtdLinhasErro> <!-- optional --> <quantidade>?999?</quantidade> <!-- optional --> <selecaoHabilitada>?true?</selecaoHabilitada> <!-- optional --> <siglaInterface>?XXX?</siglaInterface> <!-- optional --> <!-- possible value: INCONSISTENTE, possible value: REVERTIDA, possible value: PROCESSANDO, possible value: CONSISTENTE --> <situacaoCarga>???</situacaoCarga> <!-- optional --> <!-- possible value: ARQUIVO_NAO_ENCONTRADO, possible value: IMPORTACAO_DISPONIVEL, possible value: IMPORTACAO_INDISPONIVEL, possible value: INTERFACE_JA_IMPORTADA, possible value: INTERFACE_JA_REVERTIDA_NAO_IMPORTADA, possible value: REVERSAO_DISPONIVEL --> <situacaoInterface>???</situacaoInterface> <!-- optional --> <!-- possible value: BANCO_DE_DADOS, possible value: SERVICO, possible value: ARQUIVO, possible value: ARQUIVO_P --> <tipoInterface>???</tipoInterface> </return> </ns1:listarInterfaceReversaoResponse> |
The following schemas are only showing definitions that are relevant to the message. The real schemas might be bigger.
Original | Modified |
---|---|
<xsd:schema targetNamespace='scr.legais.tfs.totvs.com' attributeFormDefault='unqualified' elementFormDefault='unqualified' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:tns='scr.legais.tfs.totvs.com'> <xsd:element name='listarInterfaceReversaoResponse' type='tns:listarInterfaceReversaoResponse' /> <xsd:complexType name='listarInterfaceReversaoResponse'> <xsd:sequence minOccurs='1' maxOccurs='1'> <xsd:element name='return' type='tns:importarReverterInterfaceDTO' minOccurs='0' maxOccurs='unbounded' /> </xsd:sequence> </xsd:complexType> <xsd:complexType name='importarReverterInterfaceDTO'> <xsd:sequence minOccurs='1' maxOccurs='1'> <xsd:element name='arquivo' type='xsd:string' minOccurs='0' /> <xsd:element name='descricaoInterface' type='xsd:string' minOccurs='0' /> <xsd:element name='identificadorCargaInterface' type='xsd:long' minOccurs='0' /> <xsd:element name='identificadorInterface' type='xsd:long' minOccurs='0' /> <xsd:element name='quantidade' type='xsd:long' minOccurs='0' /> <xsd:element name='selecaoHabilitada' type='xsd:boolean' /> <xsd:element name='siglaInterface' type='xsd:string' minOccurs='0' /> <xsd:element name='situacaoInterface' type='tns:dominioSituacaoImportacaoReversao' minOccurs='0' /> <xsd:element name='tipoInterface' type='tns:dominioTipoInterface' minOccurs='0' /> </xsd:sequence> </xsd:complexType> <xsd:simpleType name='dominioSituacaoImportacaoReversao'> <xsd:restriction base='xsd:string'> <xsd:enumeration value='ARQUIVO_NAO_ENCONTRADO' /> <xsd:enumeration value='IMPORTACAO_DISPONIVEL' /> <xsd:enumeration value='IMPORTACAO_INDISPONIVEL' /> <xsd:enumeration value='INTERFACE_JA_IMPORTADA' /> <xsd:enumeration value='INTERFACE_JA_REVERTIDA_NAO_IMPORTADA' /> <xsd:enumeration value='REVERSAO_DISPONIVEL' /> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name='dominioTipoInterface'> <xsd:restriction base='xsd:string'> <xsd:enumeration value='BANCO_DE_DADOS' /> <xsd:enumeration value='SERVICO' /> <xsd:enumeration value='ARQUIVO' /> </xsd:restriction> </xsd:simpleType> </xsd:schema> |
<xsd:schema targetNamespace='scr.legais.tfs.totvs.com' attributeFormDefault='unqualified' elementFormDefault='unqualified' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:tns='scr.legais.tfs.totvs.com'> <xsd:element name='listarInterfaceReversaoResponse' type='tns:listarInterfaceReversaoResponse' /> <xsd:complexType name='listarInterfaceReversaoResponse'> <xsd:sequence minOccurs='1' maxOccurs='1'> <xsd:element name='return' type='tns:importarReverterInterfaceDTO' minOccurs='0' maxOccurs='unbounded' /> </xsd:sequence> </xsd:complexType> <xsd:complexType name='importarReverterInterfaceDTO'> <xsd:sequence minOccurs='1' maxOccurs='1'> <xsd:element name='arquivo' type='xsd:string' minOccurs='0' /> <xsd:element name='descricaoInterface' type='xsd:string' minOccurs='0' /> <xsd:element name='identificadorCargaInterface' type='xsd:long' minOccurs='0' /> <xsd:element name='identificadorInterface' type='xsd:long' minOccurs='0' /> <xsd:element name='qtdLinhasErro' type='xsd:int' minOccurs='0' /> <xsd:element name='quantidade' type='xsd:long' minOccurs='0' /> <xsd:element name='selecaoHabilitada' type='xsd:boolean' minOccurs='0' /> <xsd:element name='siglaInterface' type='xsd:string' minOccurs='0' /> <xsd:element name='situacaoCarga' type='tns:dominioSituacaoCargaInterface' minOccurs='0' /> <xsd:element name='situacaoInterface' type='tns:dominioSituacaoImportacaoReversao' minOccurs='0' /> <xsd:element name='tipoInterface' type='tns:dominioTipoInterface' minOccurs='0' /> </xsd:sequence> </xsd:complexType> <xsd:simpleType name='dominioSituacaoCargaInterface'> <xsd:restriction base='xsd:string'> <xsd:enumeration value='INCONSISTENTE' /> <xsd:enumeration value='REVERTIDA' /> <xsd:enumeration value='PROCESSANDO' /> <xsd:enumeration value='CONSISTENTE' /> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name='dominioSituacaoImportacaoReversao'> <xsd:restriction base='xsd:string'> <xsd:enumeration value='ARQUIVO_NAO_ENCONTRADO' /> <xsd:enumeration value='IMPORTACAO_DISPONIVEL' /> <xsd:enumeration value='IMPORTACAO_INDISPONIVEL' /> <xsd:enumeration value='INTERFACE_JA_IMPORTADA' /> <xsd:enumeration value='INTERFACE_JA_REVERTIDA_NAO_IMPORTADA' /> <xsd:enumeration value='REVERSAO_DISPONIVEL' /> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name='dominioTipoInterface'> <xsd:restriction base='xsd:string'> <xsd:enumeration value='BANCO_DE_DADOS' /> <xsd:enumeration value='SERVICO' /> <xsd:enumeration value='ARQUIVO' /> <xsd:enumeration value='ARQUIVO_P' /> </xsd:restriction> </xsd:simpleType> </xsd:schema> |