Resolvendo Erro Acessando Campo Promovido

Considere o seguinte erro:

“A failure occurred while evaluating the distinguished field MESSAGE_ID against the message part data. The message part data does not contain at least one of the nodes specified by the XPath expression (listed below) that corresponds to the distinguished field. The cause for this error may be that the message part data has not been initialized or that the message part data does not conform to the message part schema. Ensure that the message part data is initialized correctly.”

Isso quer dizer que o campo MESSAGE_ID, que está sendo acessado, não existe na mensagem.

Provavelmente, ao mapear a mensagem, o MESSAGE_ID foi mapeado sem valor, ficando nulo, e ao tentar acessar o campo, apresenta o erro.

Para resolver, no mapeamento, o campo MESSAGE_ID deve conter um valor qualquer, para que ele passe a existir na mensagem, podendo ser acessado.

Bom, é isso. Até a próxima!

Seja o primeiro a comentar ;)

Postar um comentário

BizTalk 360

Visitas

Arquivo do blog