The message templates below show how an original message and a message based on the modified WSDL will look like.
Original | Modified |
---|---|
<ns1:incluirConfiguracaoIntegradorResponse xmlns:ns1='backoffice.credito.tfs.totvs.com'> <!-- optional --> <return> <!-- optional --> <identificador>?999?</identificador> <!-- optional --> <dominioIntegrador> <!-- optional --> <identificador>?999?</identificador> <!-- optional --> <!-- possible value: CENTRAL_BENEFICIARIO, possible value: PORTAL_SEGUROS, possible value: GESTAO_RISCO, possible value: JD_NPC --> <siglaIntegrador>???</siglaIntegrador> <!-- optional --> <!-- possible value: CENTRAL_BENEFICIARIO, possible value: CONCILIAR_SEGUROS, possible value: CALCULAR_PREMIO_SEGUROS, possible value: AUTORIZAR_SEGUROS, possible value: SIMULAR_SEGUROS, possible value: JD_NPC --> <siglaServico>???</siglaServico> <!-- optional --> <fornecedor>?XXX?</fornecedor> <!-- optional --> <parametrosAdicionais>?XXX?</parametrosAdicionais> </dominioIntegrador> <!-- optional --> <dataInicial>2008-12-31</dataInicial> <!-- optional --> <dataFinal>2008-12-31</dataFinal> </return> </ns1:incluirConfiguracaoIntegradorResponse> |
<ns1:incluirConfiguracaoIntegradorResponse xmlns:ns1='backoffice.credito.tfs.totvs.com'> <!-- optional --> <return> <!-- optional --> <identificador>?999?</identificador> <!-- optional --> <dominioIntegrador> <!-- optional --> <identificador>?999?</identificador> <!-- optional --> <!-- possible value: CENTRAL_BENEFICIARIO, possible value: PORTAL_SEGUROS, possible value: GESTAO_RISCO, possible value: JD_NPC --> <siglaIntegrador>???</siglaIntegrador> <!-- optional --> <!-- possible value: CENTRAL_BENEFICIARIO, possible value: CONCILIAR_SEGUROS, possible value: CALCULAR_PREMIO_SEGUROS, possible value: AUTORIZAR_SEGUROS, possible value: SIMULAR_SEGUROS, possible value: JD_NPC, possible value: JD_BENEFICIARIO --> <siglaServico>???</siglaServico> <!-- optional --> <fornecedor>?XXX?</fornecedor> <!-- optional --> <parametrosAdicionais>?XXX?</parametrosAdicionais> </dominioIntegrador> <!-- optional --> <dataInicial>2008-12-31</dataInicial> <!-- optional --> <dataFinal>2008-12-31</dataFinal> </return> </ns1:incluirConfiguracaoIntegradorResponse> |
The following schemas are only showing definitions that are relevant to the message. The real schemas might be bigger.
Original | Modified |
---|---|
<xsd:schema targetNamespace='backoffice.credito.tfs.totvs.com' attributeFormDefault='unqualified' elementFormDefault='unqualified' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:tns='backoffice.credito.tfs.totvs.com'> <xsd:element name='incluirConfiguracaoIntegradorResponse' type='tns:incluirConfiguracaoIntegradorResponse' /> <xsd:complexType name='incluirConfiguracaoIntegradorResponse'> <xsd:sequence minOccurs='1' maxOccurs='1'> <xsd:element name='return' type='tns:configuracaoIntegradorDTO' minOccurs='0' /> </xsd:sequence> </xsd:complexType> <xsd:complexType name='configuracaoIntegradorDTO'> <xsd:sequence minOccurs='1' maxOccurs='1'> <xsd:element name='identificador' type='xsd:int' minOccurs='0' /> <xsd:element name='dominioIntegrador' type='tns:dominioIntegradorDTO' minOccurs='0' /> <xsd:element name='dataInicial' type='xsd:date' minOccurs='0' /> <xsd:element name='dataFinal' type='xsd:date' minOccurs='0' /> </xsd:sequence> </xsd:complexType> <xsd:complexType name='dominioIntegradorDTO'> <xsd:sequence minOccurs='1' maxOccurs='1'> <xsd:element name='identificador' type='xsd:int' minOccurs='0' /> <xsd:element name='siglaIntegrador' type='tns:tipoIntegrador' minOccurs='0' /> <xsd:element name='siglaServico' type='tns:servicoIntegrador' minOccurs='0' /> <xsd:element name='fornecedor' type='xsd:string' minOccurs='0' /> <xsd:element name='parametrosAdicionais' type='xsd:string' minOccurs='0' /> </xsd:sequence> </xsd:complexType> <xsd:simpleType name='tipoIntegrador'> <xsd:restriction base='xsd:string'> <xsd:enumeration value='CENTRAL_BENEFICIARIO' /> <xsd:enumeration value='PORTAL_SEGUROS' /> <xsd:enumeration value='GESTAO_RISCO' /> <xsd:enumeration value='JD_NPC' /> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name='servicoIntegrador'> <xsd:restriction base='xsd:string'> <xsd:enumeration value='CENTRAL_BENEFICIARIO' /> <xsd:enumeration value='CONCILIAR_SEGUROS' /> <xsd:enumeration value='CALCULAR_PREMIO_SEGUROS' /> <xsd:enumeration value='AUTORIZAR_SEGUROS' /> <xsd:enumeration value='SIMULAR_SEGUROS' /> <xsd:enumeration value='JD_NPC' /> </xsd:restriction> </xsd:simpleType> </xsd:schema> |
<xsd:schema targetNamespace='backoffice.credito.tfs.totvs.com' attributeFormDefault='unqualified' elementFormDefault='unqualified' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:tns='backoffice.credito.tfs.totvs.com'> <xsd:element name='incluirConfiguracaoIntegradorResponse' type='tns:incluirConfiguracaoIntegradorResponse' /> <xsd:complexType name='incluirConfiguracaoIntegradorResponse'> <xsd:sequence minOccurs='1' maxOccurs='1'> <xsd:element name='return' type='tns:configuracaoIntegradorDTO' minOccurs='0' /> </xsd:sequence> </xsd:complexType> <xsd:complexType name='configuracaoIntegradorDTO'> <xsd:sequence minOccurs='1' maxOccurs='1'> <xsd:element name='identificador' type='xsd:int' minOccurs='0' /> <xsd:element name='dominioIntegrador' type='tns:dominioIntegradorDTO' minOccurs='0' /> <xsd:element name='dataInicial' type='xsd:date' minOccurs='0' /> <xsd:element name='dataFinal' type='xsd:date' minOccurs='0' /> </xsd:sequence> </xsd:complexType> <xsd:complexType name='dominioIntegradorDTO'> <xsd:sequence minOccurs='1' maxOccurs='1'> <xsd:element name='identificador' type='xsd:int' minOccurs='0' /> <xsd:element name='siglaIntegrador' type='tns:tipoIntegrador' minOccurs='0' /> <xsd:element name='siglaServico' type='tns:servicoIntegrador' minOccurs='0' /> <xsd:element name='fornecedor' type='xsd:string' minOccurs='0' /> <xsd:element name='parametrosAdicionais' type='xsd:string' minOccurs='0' /> </xsd:sequence> </xsd:complexType> <xsd:simpleType name='tipoIntegrador'> <xsd:restriction base='xsd:string'> <xsd:enumeration value='CENTRAL_BENEFICIARIO' /> <xsd:enumeration value='PORTAL_SEGUROS' /> <xsd:enumeration value='GESTAO_RISCO' /> <xsd:enumeration value='JD_NPC' /> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name='servicoIntegrador'> <xsd:restriction base='xsd:string'> <xsd:enumeration value='CENTRAL_BENEFICIARIO' /> <xsd:enumeration value='CONCILIAR_SEGUROS' /> <xsd:enumeration value='CALCULAR_PREMIO_SEGUROS' /> <xsd:enumeration value='AUTORIZAR_SEGUROS' /> <xsd:enumeration value='SIMULAR_SEGUROS' /> <xsd:enumeration value='JD_NPC' /> <xsd:enumeration value='JD_BENEFICIARIO' /> </xsd:restriction> </xsd:simpleType> </xsd:schema> |