Click here to Skip to main content
15,896,606 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="ReceiveLocation" 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="directoryName">Directory</baf:displayname>

                <baf:description _locID="directoryDesc">Enter directory to pick up files from</baf:description>

                <baf:category _locID="endpointCategory">Endpoint Configuration</baf:category>

              </baf:designer>

            </xs:appinfo>

          </xs:annotation>

        </xs:element>

        <xs:element default="*.xml" name="fileMask" type="xs:string">

          <xs:annotation>

            <xs:appinfo>

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

                <baf:displayname _locID="fileMaskName">File Mask</baf:displayname>

                <baf:description _locID="fileMaskDesc">Enter the file mask, e.g. *.xml</baf:description>

                <baf:category _locID="endpointCategory">Endpoint Configuration</baf:category>

              </baf:designer>

            </xs:appinfo>

          </xs:annotation>

        </xs:element>

        <xs:element default="5" name="pollingInterval" type="xs:int">

          <xs:annotation>

            <xs:appinfo>

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

                <baf:displayname _locID="pollingIntervalName">Polling Interval</baf:displayname>

                <baf:description _locID="pollingIntervalDesc">Enter the polling interval</baf:description>

                <baf:category _locID="endpointCategory">Endpoint Configuration</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>

        <xs:element name="maximumBatchSize" type="xs:int">

          <xs:annotation>

            <xs:appinfo>

              <baf:designer>

                <baf:displayname _locID="maximumBatchSizeName">Bytes Per Batch</baf:displayname>

                <baf:description _locID="maximumBatchSizeDesc">Enter the maximum number of bytes to be submitted in a single BizTalk batch</baf:description>

                <baf:category _locID="batchCategory">Batch Tuning Parameters</baf:category>

              </baf:designer>

            </xs:appinfo>

          </xs:annotation>

        </xs:element>

        <xs:element default="20" name="maximumNumberOfFiles" type="xs:int">

          <xs:annotation>

            <xs:appinfo>

              <baf:designer>

                <baf:displayname _locID="maximumNumberOfFilesName">Number Of Files In Batch</baf:displayname>

                <baf:description _locID="maximumNumberOfFilesDesc">Enter the maximum number of files to be submitted in a single BizTalk batch</baf:description>

                <baf:category _locID="batchCategory">Batch Tuning Parameters</baf:category>

              </baf:designer>

            </xs:appinfo>

          </xs:annotation>

        </xs:element>

        <xs:element default="10" name="errorThreshold" type="xs:int">

          <xs:annotation>

            <xs:appinfo>

              <baf:designer>

                <baf:displayname _locID="errorThresholdName">Error Threshold</baf:displayname>

                <baf:description _locID="errorThresholdDesc">The count of errors before the location is disabled</baf:description>

                <baf:category _locID="tuningCategory">Tuning Parameters</baf:category>

              </baf:designer>

            </xs:appinfo>

          </xs:annotation>

        </xs:element>

        <xs:element default=".Error" name="renameFileOnFailure" type="xs:string">

          <xs:annotation>

            <xs:appinfo>

              <baf:designer>

                <baf:displayname _locID="renameFileOnFailureName">Rename File On Failure</baf:displayname>

                <baf:description _locID="renameFileOnFailureDesc">The file extension to rename the file to if we fail to submit or suspend the file into BizTalk</baf:description>

                <baf:category _locID="tuningCategory">Tuning Parameters</baf:category>

              </baf:designer>

            </xs:appinfo>

          </xs:annotation>

        </xs:element>

        <xs:element default=".BTS-WIP" name="workInProgress" type="xs:string">

          <xs:annotation>

            <xs:appinfo>

              <baf:designer>

                <baf:displayname _locID="workInProgressName">Work In Progress</baf:displayname>

                <baf:description _locID="workInProgressDesc">If specified, the file will be renamed while it is being processed</baf:description>

                <baf:category _locID="tuningCategory">Tuning Parameters</baf:category>

              </baf:designer>

            </xs:appinfo>

          </xs:annotation>

        </xs:element>

        <xs:element name="maxFileSize" type="xs:int">

          <xs:annotation>

            <xs:appinfo>

              <baf:designer>

                <baf:displayname _locID="maxFileSizeName">Maximum File Size</baf:displayname>

                <baf:description _locID="maxFileSizeDesc">The Maximum Size of a File that will be downloaded (size in MB)</baf:description>

                <baf:category _locID="batchCategory">Batch Tuning Parameters</baf:category>

              </baf:designer>

            </xs:appinfo>

          </xs:annotation>

        </xs:element>

        <xs:element default="Seconds" name="pollingUnitOfMeasure">

          <xs:annotation>

            <xs:appinfo>

              <baf:designer>

                <baf:displayname _locID="pollingUnitOfMeasureName">Unit</baf:displayname>

                <baf:description _locID="pollingUnitOfMeasureDesc">The unit of time measure that the polling interval represents</baf:description>

                <baf:category _locID="endpointCategory">Endpoint Configuration</baf:category>

              </baf:designer>

            </xs:appinfo>

          </xs:annotation>

          <xs:simpleType>

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

              <xs:enumeration value="Seconds">

                <xs:annotation>

                  <xs:appinfo>

                    <baf:designer>

                      <baf:displayname _locID="secondsEnumName">Seconds</baf:displayname>

                      <baf:description _locID="secondsEnumDesc">Seconds</baf:description>

                    </baf:designer>

                  </xs:appinfo>

                </xs:annotation>

              </xs:enumeration>

              <xs:enumeration value="Minutes">

                <xs:annotation>

                  <xs:appinfo>

                    <baf:designer>

                      <baf:displayname _locID="minutesEnumName">Minutes</baf:displayname>

                      <baf:description _locID="minutesEnumDesc">Minutes</baf:description>

                    </baf:designer>

                  </xs:appinfo>

                </xs:annotation>

              </xs:enumeration>

              <xs:enumeration value="Hours">

                <xs:annotation>

                  <xs:appinfo>

                    <baf:designer>

                      <baf:displayname _locID="hoursEnumName">Hours</baf:displayname>

                      <baf:description _locID="hoursEnumDesc">Hours</baf:description>

                    </baf:designer>

                  </xs:appinfo>

                </xs:annotation>

              </xs:enumeration>

              <xs:enumeration value="Days">

                <xs:annotation>

                  <xs:appinfo>

                    <baf:designer>

                      <baf:displayname _locID="daysEnumName">Days</baf:displayname>

                      <baf:description _locID="daysEnumDesc">Days</baf:description>

                    </baf:designer>

                  </xs:appinfo>

                </xs:annotation>

              </xs:enumeration>

            </xs:restriction>

          </xs:simpleType>

        </xs:element>

        <xs:element default="ANIL" name="faxMachineName" type="xs:string" />

        <xs:element default="D:\\Temp\\" name="faxTempFolder" type="xs:string" />

      </xs:sequence>

    </xs:complexType>

  </xs:element>

</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