The message templates below show how an original message and a message based on the modified WSDL will look like.
Original | Modified |
---|---|
<ns1:gerarProximoSequencial xmlns:ns1='backoffice.credito.tfs.totvs.com'> <!-- optional --> <codigoEmpresa>?999?</codigoEmpresa> <!-- optional --> <!-- possible value: CRD, possible value: DSP, possible value: CBO, possible value: CTM, possible value: CNB, possible value: MCC, possible value: CTR, possible value: NNN, possible value: RECOR, possible value: LOG, possible value: CREDBAI, possible value: RBB, possible value: REB, possible value: OPE, possible value: NCTR --> <tipoSequencial>???</tipoSequencial> </ns1:gerarProximoSequencial> |
<ns1:gerarProximoSequencial xmlns:ns1='backoffice.credito.tfs.totvs.com'> <!-- optional --> <codigoEmpresa>?999?</codigoEmpresa> <!-- optional --> <!-- possible value: CRD, possible value: DSP, possible value: CBO, possible value: CTM, possible value: CNB, possible value: MCC, possible value: CTR, possible value: NNN, possible value: RECOR, possible value: LOG, possible value: CREDBAI, possible value: RBB, possible value: REB, possible value: OPE, possible value: IOPE, possible value: NCTR --> <tipoSequencial>???</tipoSequencial> </ns1:gerarProximoSequencial> |
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='gerarProximoSequencial' type='tns:gerarProximoSequencial' /> <xsd:complexType name='gerarProximoSequencial'> <xsd:sequence minOccurs='1' maxOccurs='1'> <xsd:element name='codigoEmpresa' type='xsd:int' minOccurs='0' /> <xsd:element name='tipoSequencial' xmlns:ns1='http://core.credito.tfs.totvs.com' type='ns1:tipoSequencial' minOccurs='0' /> </xsd:sequence> </xsd:complexType> <xsd:simpleType name='tipoSequencial'> <xsd:restriction base='xsd:string'> <xsd:enumeration value='CRD' /> <xsd:enumeration value='DSP' /> <xsd:enumeration value='CBO' /> <xsd:enumeration value='CTM' /> <xsd:enumeration value='CNB' /> <xsd:enumeration value='MCC' /> <xsd:enumeration value='CTR' /> <xsd:enumeration value='NNN' /> <xsd:enumeration value='RECOR' /> <xsd:enumeration value='LOG' /> <xsd:enumeration value='CREDBAI' /> <xsd:enumeration value='RBB' /> <xsd:enumeration value='REB' /> <xsd:enumeration value='OPE' /> <xsd:enumeration value='NCTR' /> </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='gerarProximoSequencial' type='tns:gerarProximoSequencial' /> <xsd:complexType name='gerarProximoSequencial'> <xsd:sequence minOccurs='1' maxOccurs='1'> <xsd:element name='codigoEmpresa' type='xsd:int' minOccurs='0' /> <xsd:element name='tipoSequencial' xmlns:ns1='http://core.credito.tfs.totvs.com' type='ns1:tipoSequencial' minOccurs='0' /> </xsd:sequence> </xsd:complexType> <xsd:simpleType name='tipoSequencial'> <xsd:restriction base='xsd:string'> <xsd:enumeration value='CRD' /> <xsd:enumeration value='DSP' /> <xsd:enumeration value='CBO' /> <xsd:enumeration value='CTM' /> <xsd:enumeration value='CNB' /> <xsd:enumeration value='MCC' /> <xsd:enumeration value='CTR' /> <xsd:enumeration value='NNN' /> <xsd:enumeration value='RECOR' /> <xsd:enumeration value='LOG' /> <xsd:enumeration value='CREDBAI' /> <xsd:enumeration value='RBB' /> <xsd:enumeration value='REB' /> <xsd:enumeration value='OPE' /> <xsd:enumeration value='IOPE' /> <xsd:enumeration value='NCTR' /> </xsd:restriction> </xsd:simpleType> </xsd:schema> |