Output Message of Operation 'executeRelatorioMovimentoCambial'

Differences:

Output Template

The message templates below show how an original message and a message based on the modified WSDL will look like.

Original Modified
<ns1:executeRelatorioMovimentoCambialResponse xmlns:ns1='efinanceira.legais.tfs.totvs.com'>
<!-- optional -->
  <return>
<!-- optional -->
    <codigoEmpresa>?999?</codigoEmpresa>
<!-- from 0 to unbounded -->
<!-- This element may be left empty if xsi:nil='true' is set. -->
    <movimentoList>
<!-- optional -->
      <codigoEmpresa>?999?</codigoEmpresa>
<!-- optional -->
      <nomeDeclarado>?XXX?</nomeDeclarado>
<!-- optional -->
      <nomeEmpresa>?XXX?</nomeEmpresa>
<!-- optional -->
      <periodo>?XXX?</periodo>
<!-- optional -->
<!-- possible value: DISPONIVEL_ENVIO, possible value: PROCESSANDO, possible value: ENVIADO_OK, possible value: ENVIADO_COM_ERRO -->
      <statusEnvio>???</statusEnvio>
<!-- optional -->
      <valorCompras>?999.99?</valorCompras>
<!-- optional -->
      <valorTransferencias>?999.99?</valorTransferencias>
<!-- optional -->
      <valorVendas>?999.99?</valorVendas>
    </movimentoList>
<!-- optional -->
    <nomeEmpresa>?XXX?</nomeEmpresa>
<!-- optional -->
    <periodo>?XXX?</periodo>
<!-- optional -->
    <totalCompras>?999.99?</totalCompras>
<!-- optional -->
    <totalTransferencias>?999.99?</totalTransferencias>
<!-- optional -->
    <totalVendas>?999.99?</totalVendas>
  </return>
</ns1:executeRelatorioMovimentoCambialResponse>
<ns1:executeRelatorioMovimentoCambialResponse xmlns:ns1='efinanceira.legais.tfs.totvs.com'>
<!-- optional -->
  <return>
<!-- optional -->
    <codigoEmpresa>?999?</codigoEmpresa>
<!-- from 0 to unbounded -->
<!-- This element may be left empty if xsi:nil='true' is set. -->
    <movimentoList>
<!-- optional -->
      <codigoEmpresa>?999?</codigoEmpresa>
<!-- optional -->
      <nomeDeclarado>?XXX?</nomeDeclarado>
<!-- optional -->
      <nomeEmpresa>?XXX?</nomeEmpresa>
<!-- optional -->
      <periodo>?XXX?</periodo>
<!-- optional -->
<!-- possible value: DISPONIVEL_ENVIO, possible value: PROCESSANDO, possible value: ENVIADO_OK, possible value: ENVIADO_COM_REJEICOES, possible value: REENVIADO -->
      <statusEnvio>???</statusEnvio>
<!-- optional -->
      <valorCompras>?999.99?</valorCompras>
<!-- optional -->
      <valorTransferencias>?999.99?</valorTransferencias>
<!-- optional -->
      <valorVendas>?999.99?</valorVendas>
    </movimentoList>
<!-- optional -->
    <nomeEmpresa>?XXX?</nomeEmpresa>
<!-- optional -->
    <periodo>?XXX?</periodo>
<!-- optional -->
    <totalCompras>?999.99?</totalCompras>
<!-- optional -->
    <totalTransferencias>?999.99?</totalTransferencias>
<!-- optional -->
    <totalVendas>?999.99?</totalVendas>
  </return>
</ns1:executeRelatorioMovimentoCambialResponse>

Schema Definition

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='executeRelatorioMovimentoCambialResponse' type='tns:executeRelatorioMovimentoCambialResponse' />
  <xsd:complexType name='executeRelatorioMovimentoCambialResponse'>
    <xsd:sequence minOccurs='1' maxOccurs='1'>
      <xsd:element name='return' type='tns:relatorioMovimentoCambioMestreDTO' minOccurs='0' />
    </xsd:sequence>
  </xsd:complexType>
  <xsd:complexType name='relatorioMovimentoCambioMestreDTO'>
    <xsd:sequence minOccurs='1' maxOccurs='1'>
      <xsd:element name='codigoEmpresa' type='xsd:long' minOccurs='0' />
      <xsd:element name='movimentoList' type='tns:relatorioMovimentoCambioDTO' minOccurs='0' maxOccurs='unbounded' nillable='true' />
      <xsd:element name='nomeEmpresa' type='xsd:string' minOccurs='0' />
      <xsd:element name='periodo' type='xsd:string' minOccurs='0' />
      <xsd:element name='totalCompras' type='xsd:decimal' minOccurs='0' />
      <xsd:element name='totalTransferencias' type='xsd:decimal' minOccurs='0' />
      <xsd:element name='totalVendas' type='xsd:decimal' minOccurs='0' />
    </xsd:sequence>
  </xsd:complexType>
  <xsd:complexType name='relatorioMovimentoCambioDTO'>
    <xsd:sequence minOccurs='1' maxOccurs='1'>
      <xsd:element name='codigoEmpresa' type='xsd:long' minOccurs='0' />
      <xsd:element name='nomeDeclarado' type='xsd:string' minOccurs='0' />
      <xsd:element name='nomeEmpresa' type='xsd:string' minOccurs='0' />
      <xsd:element name='periodo' type='xsd:string' minOccurs='0' />
      <xsd:element name='statusEnvio' type='tns:dominioStatusEnvio' minOccurs='0' />
      <xsd:element name='valorCompras' type='xsd:decimal' minOccurs='0' />
      <xsd:element name='valorTransferencias' type='xsd:decimal' minOccurs='0' />
      <xsd:element name='valorVendas' type='xsd:decimal' 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: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='executeRelatorioMovimentoCambialResponse' type='tns:executeRelatorioMovimentoCambialResponse' />
  <xsd:complexType name='executeRelatorioMovimentoCambialResponse'>
    <xsd:sequence minOccurs='1' maxOccurs='1'>
      <xsd:element name='return' type='tns:relatorioMovimentoCambioMestreDTO' minOccurs='0' />
    </xsd:sequence>
  </xsd:complexType>
  <xsd:complexType name='relatorioMovimentoCambioMestreDTO'>
    <xsd:sequence minOccurs='1' maxOccurs='1'>
      <xsd:element name='codigoEmpresa' type='xsd:long' minOccurs='0' />
      <xsd:element name='movimentoList' type='tns:relatorioMovimentoCambioDTO' minOccurs='0' maxOccurs='unbounded' nillable='true' />
      <xsd:element name='nomeEmpresa' type='xsd:string' minOccurs='0' />
      <xsd:element name='periodo' type='xsd:string' minOccurs='0' />
      <xsd:element name='totalCompras' type='xsd:decimal' minOccurs='0' />
      <xsd:element name='totalTransferencias' type='xsd:decimal' minOccurs='0' />
      <xsd:element name='totalVendas' type='xsd:decimal' minOccurs='0' />
    </xsd:sequence>
  </xsd:complexType>
  <xsd:complexType name='relatorioMovimentoCambioDTO'>
    <xsd:sequence minOccurs='1' maxOccurs='1'>
      <xsd:element name='codigoEmpresa' type='xsd:long' minOccurs='0' />
      <xsd:element name='nomeDeclarado' type='xsd:string' minOccurs='0' />
      <xsd:element name='nomeEmpresa' type='xsd:string' minOccurs='0' />
      <xsd:element name='periodo' type='xsd:string' minOccurs='0' />
      <xsd:element name='statusEnvio' type='tns:dominioStatusEnvio' minOccurs='0' />
      <xsd:element name='valorCompras' type='xsd:decimal' minOccurs='0' />
      <xsd:element name='valorTransferencias' type='xsd:decimal' minOccurs='0' />
      <xsd:element name='valorVendas' type='xsd:decimal' 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:schema>