コード例 #1
0
        public void DisassembleXMLMessagePropertyPromotionOnly()
        {
            SetContextPropertyPipelineInstruction instruction = new SetContextPropertyPipelineInstruction(BizTalkXMLNORMPropertySchemaEnum.PromotePropertiesOnly.ToString(),
                                                                                                          ContextPropertyNamespaces._XMLNormPropertyNamespace, true, ContextInstructionTypeEnum.Write);

            base.AddInstruction(instruction);

            ApplyXmlDisassemblerInstruction disassemblyInstruction = new ApplyXmlDisassemblerInstruction();

            base.AddInstruction(disassemblyInstruction);
        }
コード例 #2
0
        /// <summary>
        /// Transform a message using the specified map class with the specified level of source schema validation and with property promotion on the target message
        /// </summary>
        public void TransformMessageWithPromotion(string mapClassName, string mapAssemblyName, TransformationSourceSchemaValidation validation)
        {
            SetContextPropertyPipelineInstruction noDebatchInstruction = new SetContextPropertyPipelineInstruction(BizTalkXMLNORMPropertySchemaEnum.PromotePropertiesOnly.ToString(),
                                                                                                                   ContextPropertyNamespaces._XMLNormPropertyNamespace, true, ContextInstructionTypeEnum.Write);

            base.AddInstruction(noDebatchInstruction);

            TransformationInstruction instruction = new TransformationInstruction(mapClassName, mapAssemblyName, validation, CallToken);

            base.AddInstruction(instruction);

            ApplyXmlDisassemblerInstruction promotionInstruction = new ApplyXmlDisassemblerInstruction();

            base.AddInstruction(promotionInstruction);
        }
コード例 #3
0
        public void DisassembleXMLMessage()
        {
            ApplyXmlDisassemblerInstruction instruction = new ApplyXmlDisassemblerInstruction();

            base.AddInstruction(instruction);
        }