The syntax for promoting properties within Orchestration is. Message(PromotedPropertyName) = value; Example. MSGOUTPERSON(HTTP.ContentType) = “text/xml”; this is the only direct option available within an orchestration to promote a property. Properties promoted by this method are written rather than promoted. That means it can’t be used for message routing (filter expressions in Send Port, Orchestration etc).
.IntroductionA typical orchestration in BizTalk deals with several kinds of messages. A message in BizTalk is always strongly typed. It is usually associated to some schema defined in the project. A Receive/Send shape in an orchestration is tied to a message declared in the Orchestration View. In the case of an un-typed message, the message type is set to ' System.Xml.XmlDocument', instead of a schema type.
The class ' XmlDocument' is a super class for all XML messages, and hence it can hold any type of XML message and subsequently any type of orchestration message. To summarize, an un-typed message is one whose message type is set to ' XmlDocument' in an orchestration. Example - processing un-typed messagesConsider that we are integrating several small messages into a StoreFront application. This application deals with several kinds of messages like 'Car', 'Music' and 'Book'. These messages need to be integrated into a 'StoreFront' message. So, a designed orchestration would receive several different types of messages.
The orchestration in the article is shown below:In the above orchestration, the 'Send' and 'Receive' shapes can handle any type of message. It is because the 'Receive' shape is associated with a message which is of type ' XmlDocument'.The Decision shape separates out the different kinds of messages. // Message Type consists of TargetNamespace#SchemaRootElementNameInputMessage(BTS.MessageType) ' Message Type consists of TargetNamespace#SchemaRootElementNameInputMessage(BTS.MessageType) ' Message Type consists of TargetNamespace#SchemaRootElementNameInputMessage(BTS.MessageType) ' the commonality in the above schemas. Naveen has done his Masters (M.S.) in Computer science, has started his career programming the mainframes and now has more than a decade of programming, development and design experience.
Naveen has a sharp eye and keen observation skills. Naveen has worked for several companies and strived hard to build large scale business applications and bringing better solutions to the table.Quite recently Naveen has built a fairly complex integration platform for a large bank.
His hobbies include training, mentoring and research. Naveen spends his free time visiting National Parks nationwide.Naveen has developed the BizTalk Control Center (BCC)http://biztalkcontrolcenter.codeplex.com.
Vitaly.pevgonen 13-Jul-11 0:4613-Jul-11 0:46Hello. Thank for the article, it helped understand things better.As far as I understand, outgoing message will also be untyped. What if I want to apply map in the Send port? I tried to add map that transforms resulting StoreFront xml to some other schema, and BizTalk didn't apply it. Is it possible to map untyped messages on send port level?路Last Visit: 29-Jun-19 8:44 Last Update: 29-Jun-19 8:441General News Suggestion Question Bug Answer Joke Praise Rant AdminUse Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.