The message templates below show how an original message and a message based on the modified WSDL will look like.
Original | Modified |
---|---|
<ns1:excluirLayoutResponse xmlns:ns1='integracao.censo.tfs.totvs.com'> <!-- optional --> <return> <!-- optional --> <!-- possible value: FALHA, possible value: SUCESSO, possible value: ADVERTENCIA, possible value: INFORMACAO --> <retorno>???</retorno> <!-- optional --> <erros> <!-- from 0 to unbounded --> <erro> <!-- optional --> <!-- possible value: SUCESSO, possible value: ERRO, possible value: ADVERTENCIA, possible value: EMP_CONS_EXIST, possible value: LAY_NOME_EXIST, possible value: CON_COD_EXIST, possible value: ACE_EMP_EXIST, possible value: FGC_CON_FALHA, possible value: CON_FALHA_STATUS, possible value: GERA_300_SEM_RESULT, possible value: GERA_301_SEM_RESULT, possible value: GERA_303_SEM_RESULT, possible value: FALHA_GERA_300, possible value: FALHA_GERA_301 --> <situacaoRetorno>???</situacaoRetorno> <!-- optional --> <mensagem>?XXX?</mensagem> </erro> </erros> <!-- optional --> <advertencias> <!-- from 0 to unbounded --> <advertencia> <!-- optional --> <!-- possible value: SUCESSO, possible value: ERRO, possible value: ADVERTENCIA, possible value: EMP_CONS_EXIST, possible value: LAY_NOME_EXIST, possible value: CON_COD_EXIST, possible value: ACE_EMP_EXIST, possible value: FGC_CON_FALHA, possible value: CON_FALHA_STATUS, possible value: GERA_300_SEM_RESULT, possible value: GERA_301_SEM_RESULT, possible value: GERA_303_SEM_RESULT, possible value: FALHA_GERA_300, possible value: FALHA_GERA_301 --> <situacaoRetorno>???</situacaoRetorno> <!-- optional --> <mensagem>?XXX?</mensagem> </advertencia> </advertencias> <!-- optional --> <informacoes> <!-- from 0 to unbounded --> <informacao> <!-- optional --> <!-- possible value: SUCESSO, possible value: ERRO, possible value: ADVERTENCIA, possible value: EMP_CONS_EXIST, possible value: LAY_NOME_EXIST, possible value: CON_COD_EXIST, possible value: ACE_EMP_EXIST, possible value: FGC_CON_FALHA, possible value: CON_FALHA_STATUS, possible value: GERA_300_SEM_RESULT, possible value: GERA_301_SEM_RESULT, possible value: GERA_303_SEM_RESULT, possible value: FALHA_GERA_300, possible value: FALHA_GERA_301 --> <situacaoRetorno>???</situacaoRetorno> <!-- optional --> <mensagem>?XXX?</mensagem> </informacao> </informacoes> <!-- optional --> <dto> <!-- optional --> <codigoUsuarioAtualizador>?XXX?</codigoUsuarioAtualizador> <!-- optional --><!--dateTime--> <dataHoraAtualizacao>2008-12-31T23:59:00.000-05:00</dataHoraAtualizacao> </dto> </return> </ns1:excluirLayoutResponse> |
<ns1:excluirLayoutResponse xmlns:ns1='integracao.censo.tfs.totvs.com'> <!-- optional --> <return> <!-- optional --> <!-- possible value: FALHA, possible value: SUCESSO, possible value: ADVERTENCIA, possible value: INFORMACAO --> <retorno>???</retorno> <!-- optional --> <erros> <!-- from 0 to unbounded --> <erro> <!-- optional --> <!-- possible value: SUCESSO, possible value: ERRO, possible value: ADVERTENCIA, possible value: MENSAGEM, possible value: EMP_CONS_EXIST, possible value: LAY_NOME_EXIST, possible value: CON_COD_EXIST, possible value: ACE_EMP_EXIST, possible value: ACE_ARQ_INEXIST, possible value: ACE_ARQ_INVALID, possible value: FGC_CON_FALHA, possible value: FGC_CON_DADOS_INSUF_URL, possible value: FGC_CON_DADOS_INSUF_ACESS, possible value: CON_FALHA_STATUS, possible value: GERA_300_SEM_RESULT, possible value: GERA_301_SEM_RESULT, possible value: GERA_303_SEM_RESULT, possible value: FALHA_GERA_300, possible value: FALHA_GERA_301, possible value: FALHA_GERA_303 --> <situacaoRetorno>???</situacaoRetorno> <!-- optional --> <mensagem>?XXX?</mensagem> </erro> </erros> <!-- optional --> <advertencias> <!-- from 0 to unbounded --> <advertencia> <!-- optional --> <!-- possible value: SUCESSO, possible value: ERRO, possible value: ADVERTENCIA, possible value: MENSAGEM, possible value: EMP_CONS_EXIST, possible value: LAY_NOME_EXIST, possible value: CON_COD_EXIST, possible value: ACE_EMP_EXIST, possible value: ACE_ARQ_INEXIST, possible value: ACE_ARQ_INVALID, possible value: FGC_CON_FALHA, possible value: FGC_CON_DADOS_INSUF_URL, possible value: FGC_CON_DADOS_INSUF_ACESS, possible value: CON_FALHA_STATUS, possible value: GERA_300_SEM_RESULT, possible value: GERA_301_SEM_RESULT, possible value: GERA_303_SEM_RESULT, possible value: FALHA_GERA_300, possible value: FALHA_GERA_301, possible value: FALHA_GERA_303 --> <situacaoRetorno>???</situacaoRetorno> <!-- optional --> <mensagem>?XXX?</mensagem> </advertencia> </advertencias> <!-- optional --> <informacoes> <!-- from 0 to unbounded --> <informacao> <!-- optional --> <!-- possible value: SUCESSO, possible value: ERRO, possible value: ADVERTENCIA, possible value: MENSAGEM, possible value: EMP_CONS_EXIST, possible value: LAY_NOME_EXIST, possible value: CON_COD_EXIST, possible value: ACE_EMP_EXIST, possible value: ACE_ARQ_INEXIST, possible value: ACE_ARQ_INVALID, possible value: FGC_CON_FALHA, possible value: FGC_CON_DADOS_INSUF_URL, possible value: FGC_CON_DADOS_INSUF_ACESS, possible value: CON_FALHA_STATUS, possible value: GERA_300_SEM_RESULT, possible value: GERA_301_SEM_RESULT, possible value: GERA_303_SEM_RESULT, possible value: FALHA_GERA_300, possible value: FALHA_GERA_301, possible value: FALHA_GERA_303 --> <situacaoRetorno>???</situacaoRetorno> <!-- optional --> <mensagem>?XXX?</mensagem> </informacao> </informacoes> <!-- optional --> <dto> <!-- optional --> <codigoUsuarioAtualizador>?XXX?</codigoUsuarioAtualizador> <!-- optional --><!--dateTime--> <dataHoraAtualizacao>2008-12-31T23:59:00.000-05:00</dataHoraAtualizacao> </dto> </return> </ns1:excluirLayoutResponse> |
The following schemas are only showing definitions that are relevant to the message. The real schemas might be bigger.
Original | Modified |
---|---|
<xsd:schema targetNamespace='integracao.censo.tfs.totvs.com' attributeFormDefault='unqualified' elementFormDefault='unqualified' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:tns='integracao.censo.tfs.totvs.com'> <xsd:element name='excluirLayoutResponse' type='tns:excluirLayoutResponse' /> <xsd:complexType name='excluirLayoutResponse'> <xsd:sequence minOccurs='1' maxOccurs='1'> <xsd:element name='return' type='tns:retornoDTO' minOccurs='0' /> </xsd:sequence> </xsd:complexType> <xsd:complexType name='retornoDTO'> <xsd:sequence minOccurs='1' maxOccurs='1'> <xsd:element name='retorno' type='tns:retorno' minOccurs='0' /> <xsd:element name='erros' minOccurs='0'> <xsd:complexType> <xsd:sequence minOccurs='1' maxOccurs='1'> <xsd:element name='erro' type='tns:erroDTO' minOccurs='0' maxOccurs='unbounded' /> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name='advertencias' minOccurs='0'> <xsd:complexType> <xsd:sequence minOccurs='1' maxOccurs='1'> <xsd:element name='advertencia' type='tns:erroDTO' minOccurs='0' maxOccurs='unbounded' /> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name='informacoes' minOccurs='0'> <xsd:complexType> <xsd:sequence minOccurs='1' maxOccurs='1'> <xsd:element name='informacao' type='tns:erroDTO' minOccurs='0' maxOccurs='unbounded' /> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name='dto' type='tns:abstractDTO' minOccurs='0' /> </xsd:sequence> </xsd:complexType> <xsd:complexType name='erroDTO'> <xsd:sequence minOccurs='1' maxOccurs='1'> <xsd:element name='situacaoRetorno' type='tns:situacaoRetorno' minOccurs='0' /> <xsd:element name='mensagem' type='xsd:string' minOccurs='0' /> </xsd:sequence> </xsd:complexType> <xsd:complexType name='abstractDTO' abstract='true'> <xsd:sequence minOccurs='1' maxOccurs='1'> <xsd:element name='codigoUsuarioAtualizador' type='xsd:string' minOccurs='0' /> <xsd:element name='dataHoraAtualizacao' type='xsd:dateTime' minOccurs='0' /> </xsd:sequence> </xsd:complexType> <xsd:simpleType name='retorno'> <xsd:restriction base='xsd:string'> <xsd:enumeration value='FALHA' /> <xsd:enumeration value='SUCESSO' /> <xsd:enumeration value='ADVERTENCIA' /> <xsd:enumeration value='INFORMACAO' /> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name='situacaoRetorno'> <xsd:restriction base='xsd:string'> <xsd:enumeration value='SUCESSO' /> <xsd:enumeration value='ERRO' /> <xsd:enumeration value='ADVERTENCIA' /> <xsd:enumeration value='EMP_CONS_EXIST' /> <xsd:enumeration value='LAY_NOME_EXIST' /> <xsd:enumeration value='CON_COD_EXIST' /> <xsd:enumeration value='ACE_EMP_EXIST' /> <xsd:enumeration value='FGC_CON_FALHA' /> <xsd:enumeration value='CON_FALHA_STATUS' /> <xsd:enumeration value='GERA_300_SEM_RESULT' /> <xsd:enumeration value='GERA_301_SEM_RESULT' /> <xsd:enumeration value='GERA_303_SEM_RESULT' /> <xsd:enumeration value='FALHA_GERA_300' /> <xsd:enumeration value='FALHA_GERA_301' /> </xsd:restriction> </xsd:simpleType> </xsd:schema> |
<xsd:schema targetNamespace='integracao.censo.tfs.totvs.com' attributeFormDefault='unqualified' elementFormDefault='unqualified' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:tns='integracao.censo.tfs.totvs.com'> <xsd:element name='excluirLayoutResponse' type='tns:excluirLayoutResponse' /> <xsd:complexType name='excluirLayoutResponse'> <xsd:sequence minOccurs='1' maxOccurs='1'> <xsd:element name='return' type='tns:retornoDTO' minOccurs='0' /> </xsd:sequence> </xsd:complexType> <xsd:complexType name='retornoDTO'> <xsd:sequence minOccurs='1' maxOccurs='1'> <xsd:element name='retorno' type='tns:retorno' minOccurs='0' /> <xsd:element name='erros' minOccurs='0'> <xsd:complexType> <xsd:sequence minOccurs='1' maxOccurs='1'> <xsd:element name='erro' type='tns:erroDTO' minOccurs='0' maxOccurs='unbounded' /> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name='advertencias' minOccurs='0'> <xsd:complexType> <xsd:sequence minOccurs='1' maxOccurs='1'> <xsd:element name='advertencia' type='tns:erroDTO' minOccurs='0' maxOccurs='unbounded' /> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name='informacoes' minOccurs='0'> <xsd:complexType> <xsd:sequence minOccurs='1' maxOccurs='1'> <xsd:element name='informacao' type='tns:erroDTO' minOccurs='0' maxOccurs='unbounded' /> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name='dto' type='tns:abstractDTO' minOccurs='0' /> </xsd:sequence> </xsd:complexType> <xsd:complexType name='erroDTO'> <xsd:sequence minOccurs='1' maxOccurs='1'> <xsd:element name='situacaoRetorno' type='tns:situacaoRetorno' minOccurs='0' /> <xsd:element name='mensagem' type='xsd:string' minOccurs='0' /> </xsd:sequence> </xsd:complexType> <xsd:complexType name='abstractDTO' abstract='true'> <xsd:sequence minOccurs='1' maxOccurs='1'> <xsd:element name='codigoUsuarioAtualizador' type='xsd:string' minOccurs='0' /> <xsd:element name='dataHoraAtualizacao' type='xsd:dateTime' minOccurs='0' /> </xsd:sequence> </xsd:complexType> <xsd:simpleType name='retorno'> <xsd:restriction base='xsd:string'> <xsd:enumeration value='FALHA' /> <xsd:enumeration value='SUCESSO' /> <xsd:enumeration value='ADVERTENCIA' /> <xsd:enumeration value='INFORMACAO' /> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name='situacaoRetorno'> <xsd:restriction base='xsd:string'> <xsd:enumeration value='SUCESSO' /> <xsd:enumeration value='ERRO' /> <xsd:enumeration value='ADVERTENCIA' /> <xsd:enumeration value='MENSAGEM' /> <xsd:enumeration value='EMP_CONS_EXIST' /> <xsd:enumeration value='LAY_NOME_EXIST' /> <xsd:enumeration value='CON_COD_EXIST' /> <xsd:enumeration value='ACE_EMP_EXIST' /> <xsd:enumeration value='ACE_ARQ_INEXIST' /> <xsd:enumeration value='ACE_ARQ_INVALID' /> <xsd:enumeration value='FGC_CON_FALHA' /> <xsd:enumeration value='FGC_CON_DADOS_INSUF_URL' /> <xsd:enumeration value='FGC_CON_DADOS_INSUF_ACESS' /> <xsd:enumeration value='CON_FALHA_STATUS' /> <xsd:enumeration value='GERA_300_SEM_RESULT' /> <xsd:enumeration value='GERA_301_SEM_RESULT' /> <xsd:enumeration value='GERA_303_SEM_RESULT' /> <xsd:enumeration value='FALHA_GERA_300' /> <xsd:enumeration value='FALHA_GERA_301' /> <xsd:enumeration value='FALHA_GERA_303' /> </xsd:restriction> </xsd:simpleType> </xsd:schema> |