Why does promotion of properties potentially change the message content?


hi there

if promote field element x of type string into property x of type decimal the xmltransmit send pipeline change value of message element x into serialized version of property x. if x=1.0 in message, property promoted x=1 expected. however, if message send via xmltransmit send pipeline send message have x=1, , not expected x=1.0 why that?

this behavior observed on biztalk server 2010, when ignoring compile time warning:

warning bec1002: node "x" - data type of field or simple content record (xs:string) , promoted property 'ns0:x' (xs:decimal) should same or should map same clr type.

thanks

michael brandt lassen

michael,

this happening because of property demotion done xml assembler component in send pipeline. property demotion process of taking message context data , putting message. 


please mark post answered question answer, , mark other helpful posts helpful, it'll other users visiting thread similar problem, regards -rohit sharma (http://rohitt-sharma.blogspot.com/)



BizTalk Server  >  BizTalk Server General



Comments

Popular posts from this blog

Azure DocumentDB Owner resource does not exist

job syspolicy_purge_history job fail in sqlserver 2008

Trying to register with public marketplace error with 'Get-AzureStackStampInformation'