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:
[code]<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
v1:fiscalScenarioSummary
v1:destinationStateES</v1:destinationState>
v1:originStateES</v1:originState>
v1:taxableOperation96</v1:taxableOperation>
v1:product
v1:internalCode20029555</v1:internalCode>
<v1:barCode />
v1:descriptionVI.MARCUS JAMES TANNAT 750ML</v1:description>
v1:NCM22042100</v1:NCM>
<v1:EXTIPI />
v1:ICMS
v1:CST00</v1:CST>
v1:taxRate27.00</v1:taxRate>
v1:commencementDate2002-12-01-02:00</v1:commencementDate>
v1:expiryDate2999-12-31-02:00</v1:expiryDate>
v1:legalProvisionArt. 63, I e §1º do RICMS/ES . Art. 71 , IV,
“d”, e art. 71-A do RICMS/ES</v1:legalProvision>
v1:observationsInexistente</v1:observations>
v1:additionalInformationInexistente</v1:additionalInformation>
</v1:ICMS>
</v1:product>
<v1:specialMeasuresTo />
v1:CFOP6401</v1:CFOP>
v1:taxRulesFromLucro Real</v1:taxRulesFrom>
<v1:specialMeasuresFrom />
v1:originSector1</v1:originSector>
v1:destinationSector1</v1:destinationSector>
v1:taxRulesToInexistente</v1:taxRulesTo>
v1:targetSessions
v1:customerId1</v1:customerId>
</v1:targetSessions>
<v1:goodsSource />
</v1:fiscalScenarioSummary>
</v1:sendTax>
</soapenv:Body>
</soapenv:Envelope>[/code]
o que pode estar ocasionando esta exceção?