How to integrate BizTalk Server 2010 / 2013 with Service Bus for Windows Server

This solution shows how to integrate a BizTalk Server 2010/2013 application with Service Bus for Windows Server using the WCF-Custom adapter to exchange messages with external systems in a reliable, flexible, and scalable manner.

C# (5.3 MB)
 
 
 
 
 
4.7 Star
(6)
1,705 times
Add to favorites
6/20/2014
E-mail Twitter del.icio.us Digg Facebook

Solution explorer

C#
namespace Microsoft.WindowsAzure.CAT.Samples.ServiceBusForWindowsServer.Schemas {
    using Microsoft.XLANGs.BaseTypes;
    
    
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.BizTalk.Schema.Compiler", "3.0.1.0")]
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
    [SchemaType(SchemaTypeEnum.Document)]
    [Schema(@"http://windowsazure.cat.microsoft.com/samples/servicebusforwindowsserver",@"CalculatorRequest")]
    [System.SerializableAttribute()]
    [SchemaRoots(new string[] {@"CalculatorRequest"})]
    [Microsoft.XLANGs.BaseTypes.SchemaReference(@"Microsoft.WindowsAzure.CAT.Samples.ServiceBusForWindowsServer.Schemas.PropertySchema", typeof(global::Microsoft.WindowsAzure.CAT.Samples.ServiceBusForWindowsServer.Schemas.PropertySchema))]
    public sealed class CalculatorRequest : Microsoft.XLANGs.BaseTypes.SchemaBase {
        
        [System.NonSerializedAttribute()]
        private static object _rawSchema;
        
        [System.NonSerializedAttribute()]
        private const string _strSchema = @"<?xml version=""1.0"" encoding=""utf-16""?>
<xs:schema xmlns=""http://windowsazure.cat.microsoft.com/samples/servicebusforwindowsserver"" xmlns:b=""http://schemas.microsoft.com/BizTalk/2003"" xmlns:ns0=""http://windowsazure.cat.microsoft.com/samples/servicebus/propertyschema"" elementFormDefault=""qualified"" targetNamespace=""http://windowsazure.cat.microsoft.com/samples/servicebusforwindowsserver"" xmlns:xs=""http://www.w3.org/2001/XMLSchema"">
  <xs:annotation>
    <xs:appinfo>
      <b:imports>
        <b:namespace prefix=""ns0"" uri=""http://windowsazure.cat.microsoft.com/samples/servicebus/propertyschema"" location=""Microsoft.WindowsAzure.CAT.Samples.ServiceBusForWindowsServer.Schemas.PropertySchema"" />
      </b:imports>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name=""CalculatorRequest"">
    <xs:complexType>
      <xs:sequence>
        <xs:element name=""Operations"">
          <xs:complexType>
            <xs:sequence>
              <xs:element minOccurs=""0"" maxOccurs=""unbounded"" name=""Operation"">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name=""Operator"" type=""xs:string"" />
                    <xs:element name=""Operand1"" type=""xs:double"" />
                    <xs:element name=""Operand2"" type=""xs:double"" />
                  </xs:sequence>
                </xs:complexType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>";
        
        public CalculatorRequest() {
        }
        
        public override string XmlContent {
            get {
                return _strSchema;
            }
        }
        
        public override string[] RootNodes {
            get {
                string[] _RootElements = new string [1];
                _RootElements[0] = "CalculatorRequest";
                return _RootElements;
            }
        }
        
        protected override object RawSchema {
            get {
                return _rawSchema;
            }
            set {
                _rawSchema = value;
            }
        }
    }
}