The message templates below show how an original message and a message based on the modified WSDL will look like.
Original | Modified |
---|---|
<ns1:buscarRegistrosLotesResponse xmlns:ns1='efinanceira.legais.tfs.totvs.com'> <!-- from 0 to unbounded --> <return> <!-- optional --> <codigoLote>?999?</codigoLote> <!-- optional --> <codigoLoteExclusao>?999?</codigoLoteExclusao> <!-- optional --><!--dateTime--> <dataEnvio>2008-12-31T23:59:00.000-05:00</dataEnvio> <!-- optional --><!--dateTime--> <dataGeracao>2008-12-31T23:59:00.000-05:00</dataGeracao> <!-- optional --> <hasXmlEnvio>?true?</hasXmlEnvio> <!-- optional --> <hasXmlRetorno>?true?</hasXmlRetorno> <!-- optional --> <numeroEventos>?999?</numeroEventos> <!-- optional --> <!-- possible value: DISPONIVEL_ENVIO, possible value: PROCESSANDO, possible value: ENVIADO_OK, possible value: ENVIADO_COM_ERRO --> <status>???</status> <!-- optional --> <!-- possible value: DECLARANTE, possible value: ABERTURA_EFINANCEIRA, possible value: PATROCINADO, possible value: INTERMEDIARIO, possible value: MOVIMENTO_OPERACOES, possible value: EXCLUSAO_EFINANCEIRA, possible value: FECHAMENTO_EFINANCEIRA, possible value: EXCLUSAO, possible value: ENVIO_LOTE, possible value: RETORNO_EVENTO --> <tipoEvento>???</tipoEvento> </return> </ns1:buscarRegistrosLotesResponse> |
<ns1:buscarRegistrosLotesResponse xmlns:ns1='efinanceira.legais.tfs.totvs.com'> <!-- from 0 to unbounded --> <return> <!-- optional --> <codigoLote>?999?</codigoLote> <!-- optional --> <codigoLoteExclusao>?999?</codigoLoteExclusao> <!-- optional --><!--dateTime--> <dataEnvio>2008-12-31T23:59:00.000-05:00</dataEnvio> <!-- optional --><!--dateTime--> <dataGeracao>2008-12-31T23:59:00.000-05:00</dataGeracao> <!-- optional --> <hasXmlEnvio>?true?</hasXmlEnvio> <!-- optional --> <hasXmlRetorno>?true?</hasXmlRetorno> <!-- optional --> <numeroEventos>?999?</numeroEventos> <!-- optional --> <!-- possible value: DISPONIVEL_ENVIO, possible value: PROCESSANDO, possible value: ENVIADO_OK, possible value: ENVIADO_COM_REJEICOES, possible value: REENVIADO --> <status>???</status> <!-- optional --> <!-- possible value: DECLARANTE, possible value: ABERTURA_EFINANCEIRA, possible value: PATROCINADO, possible value: INTERMEDIARIO, possible value: MOVIMENTO_OPERACOES, possible value: EXCLUSAO_EFINANCEIRA, possible value: FECHAMENTO_EFINANCEIRA, possible value: EXCLUSAO, possible value: ENVIO_LOTE, possible value: RETORNO_EVENTO --> <tipoEvento>???</tipoEvento> </return> </ns1:buscarRegistrosLotesResponse> |
The following schemas are only showing definitions that are relevant to the message. The real schemas might be bigger.
Original | Modified |
---|---|
<xsd:schema targetNamespace='efinanceira.legais.tfs.totvs.com' attributeFormDefault='unqualified' elementFormDefault='unqualified' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:tns='efinanceira.legais.tfs.totvs.com'> <xsd:element name='buscarRegistrosLotesResponse' type='tns:buscarRegistrosLotesResponse' /> <xsd:complexType name='buscarRegistrosLotesResponse'> <xsd:sequence minOccurs='1' maxOccurs='1'> <xsd:element name='return' type='tns:registroLoteDTO' minOccurs='0' maxOccurs='unbounded' /> </xsd:sequence> </xsd:complexType> <xsd:complexType name='registroLoteDTO'> <xsd:sequence minOccurs='1' maxOccurs='1'> <xsd:element name='codigoLote' type='xsd:long' minOccurs='0' /> <xsd:element name='codigoLoteExclusao' type='xsd:long' minOccurs='0' /> <xsd:element name='dataEnvio' type='xsd:dateTime' minOccurs='0' /> <xsd:element name='dataGeracao' type='xsd:dateTime' minOccurs='0' /> <xsd:element name='hasXmlEnvio' type='xsd:boolean' minOccurs='0' /> <xsd:element name='hasXmlRetorno' type='xsd:boolean' minOccurs='0' /> <xsd:element name='numeroEventos' type='xsd:int' minOccurs='0' /> <xsd:element name='status' type='tns:dominioStatusEnvio' minOccurs='0' /> <xsd:element name='tipoEvento' type='tns:dominioTipoEventoLote' minOccurs='0' /> </xsd:sequence> </xsd:complexType> <xsd:simpleType name='dominioStatusEnvio'> <xsd:restriction base='xsd:string'> <xsd:enumeration value='DISPONIVEL_ENVIO' /> <xsd:enumeration value='PROCESSANDO' /> <xsd:enumeration value='ENVIADO_OK' /> <xsd:enumeration value='ENVIADO_COM_ERRO' /> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name='dominioTipoEventoLote'> <xsd:restriction base='xsd:string'> <xsd:enumeration value='DECLARANTE' /> <xsd:enumeration value='ABERTURA_EFINANCEIRA' /> <xsd:enumeration value='PATROCINADO' /> <xsd:enumeration value='INTERMEDIARIO' /> <xsd:enumeration value='MOVIMENTO_OPERACOES' /> <xsd:enumeration value='EXCLUSAO_EFINANCEIRA' /> <xsd:enumeration value='FECHAMENTO_EFINANCEIRA' /> <xsd:enumeration value='EXCLUSAO' /> <xsd:enumeration value='ENVIO_LOTE' /> <xsd:enumeration value='RETORNO_EVENTO' /> </xsd:restriction> </xsd:simpleType> </xsd:schema> |
<xsd:schema targetNamespace='efinanceira.legais.tfs.totvs.com' attributeFormDefault='unqualified' elementFormDefault='unqualified' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:tns='efinanceira.legais.tfs.totvs.com'> <xsd:element name='buscarRegistrosLotesResponse' type='tns:buscarRegistrosLotesResponse' /> <xsd:complexType name='buscarRegistrosLotesResponse'> <xsd:sequence minOccurs='1' maxOccurs='1'> <xsd:element name='return' type='tns:registroLoteDTO' minOccurs='0' maxOccurs='unbounded' /> </xsd:sequence> </xsd:complexType> <xsd:complexType name='registroLoteDTO'> <xsd:sequence minOccurs='1' maxOccurs='1'> <xsd:element name='codigoLote' type='xsd:long' minOccurs='0' /> <xsd:element name='codigoLoteExclusao' type='xsd:long' minOccurs='0' /> <xsd:element name='dataEnvio' type='xsd:dateTime' minOccurs='0' /> <xsd:element name='dataGeracao' type='xsd:dateTime' minOccurs='0' /> <xsd:element name='hasXmlEnvio' type='xsd:boolean' minOccurs='0' /> <xsd:element name='hasXmlRetorno' type='xsd:boolean' minOccurs='0' /> <xsd:element name='numeroEventos' type='xsd:int' minOccurs='0' /> <xsd:element name='status' type='tns:dominioStatusEnvio' minOccurs='0' /> <xsd:element name='tipoEvento' type='tns:dominioTipoEventoLote' minOccurs='0' /> </xsd:sequence> </xsd:complexType> <xsd:simpleType name='dominioStatusEnvio'> <xsd:restriction base='xsd:string'> <xsd:enumeration value='DISPONIVEL_ENVIO' /> <xsd:enumeration value='PROCESSANDO' /> <xsd:enumeration value='ENVIADO_OK' /> <xsd:enumeration value='ENVIADO_COM_REJEICOES' /> <xsd:enumeration value='REENVIADO' /> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name='dominioTipoEventoLote'> <xsd:restriction base='xsd:string'> <xsd:enumeration value='DECLARANTE' /> <xsd:enumeration value='ABERTURA_EFINANCEIRA' /> <xsd:enumeration value='PATROCINADO' /> <xsd:enumeration value='INTERMEDIARIO' /> <xsd:enumeration value='MOVIMENTO_OPERACOES' /> <xsd:enumeration value='EXCLUSAO_EFINANCEIRA' /> <xsd:enumeration value='FECHAMENTO_EFINANCEIRA' /> <xsd:enumeration value='EXCLUSAO' /> <xsd:enumeration value='ENVIO_LOTE' /> <xsd:enumeration value='RETORNO_EVENTO' /> </xsd:restriction> </xsd:simpleType> </xsd:schema> |