The message templates below show how an original message and a message based on the modified WSDL will look like.
Original | Modified |
---|---|
<ns1:buscarContaIsencaoTributo xmlns:ns1='backoffice.credito.tfs.totvs.com'> <!-- optional --> <codigoCliente>?999?</codigoCliente> <!-- optional --> <codigoUnidade>?999?</codigoUnidade> <!-- optional --> <!-- possible value: IOC, possible value: ISS --> <tipoTributo>???</tipoTributo> </ns1:buscarContaIsencaoTributo> |
<ns1:buscarContaIsencaoTributo xmlns:ns1='backoffice.credito.tfs.totvs.com'> <!-- optional --> <codigoCliente>?999?</codigoCliente> <!-- optional --> <codigoUnidade>?999?</codigoUnidade> <!-- optional --> <!-- possible value: IOC, possible value: ISS, possible value: IVA --> <tipoTributo>???</tipoTributo> </ns1:buscarContaIsencaoTributo> |
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='buscarContaIsencaoTributo' type='tns:buscarContaIsencaoTributo' /> <xsd:complexType name='buscarContaIsencaoTributo'> <xsd:sequence minOccurs='1' maxOccurs='1'> <xsd:element name='codigoCliente' type='xsd:long' minOccurs='0' /> <xsd:element name='codigoUnidade' type='xsd:int' minOccurs='0' /> <xsd:element name='tipoTributo' xmlns:ns1='http://core.credito.tfs.totvs.com' type='ns1:tipoTributo' minOccurs='0' /> </xsd:sequence> </xsd:complexType> <xsd:simpleType name='tipoTributo'> <xsd:restriction base='xsd:string'> <xsd:enumeration value='IOC' /> <xsd:enumeration value='ISS' /> </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='buscarContaIsencaoTributo' type='tns:buscarContaIsencaoTributo' /> <xsd:complexType name='buscarContaIsencaoTributo'> <xsd:sequence minOccurs='1' maxOccurs='1'> <xsd:element name='codigoCliente' type='xsd:long' minOccurs='0' /> <xsd:element name='codigoUnidade' type='xsd:int' minOccurs='0' /> <xsd:element name='tipoTributo' xmlns:ns1='http://core.credito.tfs.totvs.com' type='ns1:tipoTributo' minOccurs='0' /> </xsd:sequence> </xsd:complexType> <xsd:simpleType name='tipoTributo'> <xsd:restriction base='xsd:string'> <xsd:enumeration value='IOC' /> <xsd:enumeration value='ISS' /> <xsd:enumeration value='IVA' /> </xsd:restriction> </xsd:simpleType> </xsd:schema> |