Boa tarde pessoal,
Há dias que estamos com um problema na empresa, está sendo tentado consumir um serviço, sem sucesso, o mesmo lança uma exceção dizendo que os parâmetros passados estão diferentes do esperado, mas conferindo, a sequencia está correta, o erro abaixo é o retornado quando invoco o serviço:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<soap:Fault>
<faultcode>soap:Client</faultcode>
<faultstring><![CDATA[Unmarshalling Error: unexpected element (uri:"http://v1.order.erp.canonical.test.com.br", local:"destinationState"). Expected elements are <{}destinationState>,<{}originState>,<{}taxableOperation>,<{}product>,<{}specialMeasuresTo>,<{}CFOP>,<{}taxRulesFrom>,<{}specialMeasuresFrom>,<{}originSector>,<{}destinationSector>,<{}taxRulesTo>,<{}targetSessions>,<{}goodsSource>]]></faultstring>
</soap:Fault>
</soap:Body>
</soap:Envelope>
a sequencia que a mensagem diz estar errada, está correta conforme o envelope que está sendo tentado enviar, que é este:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:v1="http://v1.order.erp.canonical.test.com.br">
<soapenv:Header />
<soapenv:Body>
<v1:sendTax>
<!--Optional: -->
<v1:fiscalScenarioSummary>
<v1:destinationState>ES</v1:destinationState>
<v1:originState>ES</v1:originState>
<v1:taxableOperation>96</v1:taxableOperation>
<v1:product>
<v1:internalCode>20029555</v1:internalCode>
<v1:barCode />
<v1:description>VI.MARCUS JAMES TANNAT 750ML</v1:description>
<v1:NCM>22042100</v1:NCM>
<v1:EXTIPI />
<v1:ICMS>
<v1:CST>00</v1:CST>
<v1:taxRate>27.00</v1:taxRate>
<v1:commencementDate>2002-12-01-02:00</v1:commencementDate>
<v1:expiryDate>2999-12-31-02:00</v1:expiryDate>
<v1:legalProvision>Art. 63, I e §1º do RICMS/ES . Art. 71 , IV,
"d", e art. 71-A do RICMS/ES</v1:legalProvision>
<v1:observations>Inexistente</v1:observations>
<v1:additionalInformation>Inexistente</v1:additionalInformation>
</v1:ICMS>
</v1:product>
<v1:specialMeasuresTo />
<v1:CFOP>6401</v1:CFOP>
<v1:taxRulesFrom>Lucro Real</v1:taxRulesFrom>
<v1:specialMeasuresFrom />
<v1:originSector>1</v1:originSector>
<v1:destinationSector>1</v1:destinationSector>
<v1:taxRulesTo>Inexistente</v1:taxRulesTo>
<v1:targetSessions>
<v1:customerId>1</v1:customerId>
</v1:targetSessions>
<v1:goodsSource />
</v1:fiscalScenarioSummary>
</v1:sendTax>
</soapenv:Body>
</soapenv:Envelope>
o que pode estar ocasionando esta exceção?
