Click here to Skip to main content
15,891,033 members
Articles / Programming Languages / C#

Fax Adapter

Rate me:
Please Sign up or sign in to vote.
3.62/5 (13 votes)
28 Sep 2006CPOL4 min read 63.5K   994   31  
Fax Adapter for BizTalk Server 2006
��<?xml version="1.0" encoding="utf-16"?>

<xs:schema xmlns:baf="BiztalkAdapterFramework.xsd" xmlns:b="http://schemas.microsoft.com/BizTalk/2003" xmlns="http://tempuri.org/XMLSchema1.xsd" elementFormDefault="qualified" targetNamespace="http://tempuri.org/XMLSchema1.xsd" id="TransmitLocation" xmlns:xs="http://www.w3.org/2001/XMLSchema">

  <xs:element name="Config">

    <xs:complexType>

      <xs:sequence>

        <xs:element name="directory" type="xs:string">

		<xs:annotation>

			<xs:appinfo>

				<baf:designer xmlns:baf="BiztalkAdapterFramework.xsd">

					<baf:displayname _locID="sendDirectoryName">Directory</baf:displayname>

					<baf:description _locID="sendDirectoryDesc">Directory to write the file to</baf:description>

			                <baf:category _locID="transmitLocationCategory">Transmit Location</baf:category>

		              </baf:designer>

			</xs:appinfo>

		</xs:annotation>

        </xs:element>



        <xs:element default="%MessageID%.xml" name="fileName" type="xs:string">

          <xs:annotation>

            <xs:appinfo>

              <baf:designer xmlns:baf="BiztalkAdapterFramework.xsd">

                <baf:displayname _locID="fileNameName">File Name</baf:displayname>

		<baf:description _locID="fileNameDesc">The name of the file that will be written</baf:description>

                <baf:category _locID="transmitLocationCategory">Transmit Location</baf:category>

              </baf:designer>

            </xs:appinfo>

          </xs:annotation>

        </xs:element>



        <xs:element default="2" name="fileCopyMode" type="CopyMode">

          <xs:annotation>

            <xs:appinfo>

              <baf:designer xmlns:baf="BiztalkAdapterFramework.xsd">

                <baf:displayname _locID="fileCopyModeName">File Mode</baf:displayname>

                <baf:category _locID="transmitLocationCategory">Transmit Location</baf:category>

              </baf:designer>

            </xs:appinfo>

          </xs:annotation>

        </xs:element>



        <xs:element name="uri" type="xs:string">

          <xs:annotation>

            <xs:appinfo>

              <baf:designer xmlns:baf="BiztalkAdapterFramework.xsd">

                <baf:browsable show="false" />

              </baf:designer>

            </xs:appinfo>

          </xs:annotation>

        </xs:element>



	<!-- An example of how an SSO affiliate application would be configured for this endpoint: -->

  <!-- Additionally: -->

  <!--   Refer to DotNetFileAsyncTransmitterBatch.cs and DotNetFileProperties.cs -->

  <!--   within the run-time for the changes necessary to integrate SSO with the run-time. -->

	<!--

	<xs:element name="ssoAffiliateApplication" type="baf:SSOList">

		<xs:annotation>

			<xs:appinfo>

				<baf:designer>

					<baf:displayname _locID="ssoAffiliateApplicationName">SSO Affiliate</baf:displayname>

					<baf:description _locID="ssoAffiliateApplicationDesc">The Single Sign On (SSO) Affiliate Application</baf:description>

					<baf:category _locID="ssoCategory">SSO</baf:category>

				</baf:designer>

			</xs:appinfo>

		</xs:annotation>

	</xs:element>

	-->



      </xs:sequence>

    </xs:complexType>

  </xs:element>



  <xs:simpleType name="CopyMode">

    <xs:restriction base="xs:int">

      <xs:enumeration value="0">

        <xs:annotation>

          <xs:appinfo>

            <baf:designer xmlns:baf="BiztalkAdapterFramework.xsd">

              <baf:displayname _locID="appendName">Append</baf:displayname>

            </baf:designer>

          </xs:appinfo>

        </xs:annotation>

      </xs:enumeration>

      <xs:enumeration value="1">

        <xs:annotation>

          <xs:appinfo>

            <baf:designer xmlns:baf="BiztalkAdapterFramework.xsd">

              <baf:displayname _locID="createName">Create</baf:displayname>

            </baf:designer>

          </xs:appinfo>

        </xs:annotation>

      </xs:enumeration>

      <xs:enumeration value="2">

        <xs:annotation>

          <xs:appinfo>

            <baf:designer xmlns:baf="BiztalkAdapterFramework.xsd">

              <baf:displayname _locID="createNewName">CreateNew</baf:displayname>

            </baf:designer>

          </xs:appinfo>

        </xs:annotation>

      </xs:enumeration>

    </xs:restriction>

  </xs:simpleType>

</xs:schema>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Web Developer
India India
Anil is from Hyderabad, Andhra Pradesh. He is Currently Working with VisualSoft Technologies Ltd., As a Software Engineer.

Anil has more than 4 yrs of experience in the IT industry working on Microsoft Technologies. He is involved in various project activities like System Architecture, Design, and Development. Technical experience most specifically ASP.NET , Javascript, Biztalk 2004/2006, Webservices, C# and .NET framework. He has have worked on various language and platforms. He is Microsoft Certified professional.

The author has won several programming awards within the organizations worked and is well-recognized.


--

Comments and Discussions