Note: Please change doc extension to .rar (All the new & old samples are in the widget)

Title   URL
Calling Receive and Send pipelines through Orchestrations  Click here to download
 Debatching flat files messages and processing.  Click here to download
 Scatter And Gather – Self Correlating Ports Click here to download 
Recipient List  Click here to download
Aggregator  Click here to download
Envelope Wrapper Click here to download
Resequencer Pattern Click here to download
Splitter Pattern Click here to download
Caching SSO Data in AppFabric Cache Sample Click here to download

20 Responses to Downloads

  1. danny says:

    Hi I am looking sample code for resequencer. I could not find here.

  2. Abdul Rafay says:


    Sorry about that but wordpress allows to upload only doc files so the visitors had to download the doc files and change their extension to .rar. I uploaded all the projects in the Box.Net widget which you can see on the right where you can download the reqsequencer pattern.

  3. Trang says:

    Hi Abdul Rafay!
    I use English too bad so if I make a mistake, don’t angry me. I want to use IFX in Visual Studio 2005 and SQL 2000 but I don’t know how to operate it. Please introduce me. I work for a small software company in VietNam. My company want to use it for Kiosk Banking. I’m very glad if you introduce me.
    Thanks a lot
    PS: My email:

  4. Hi Abdul,

    I downloaded Resequencer pattern et loaded it into VS2009. Your BizTalk project references an object called Resequencer.SC.Resequencer without having source code. Is it possible to have a look at the source ?

    Thanks a lot,
    Christophe BRANDO

    • Abdul Rafay says:

      Hi Christopher,
      Thanks for looking into it. Really sorry I had the .NET component part missing in the sample as it was the most important one than the Biztalk Project. Please see in the widget on the right hand side of the site. You can find the Resequencer.SC.rar file. You can download and reference the assembly.

      Also for others downloading the sample the Resequencer.SC.rar contains the .NET Library project which is being used by the Resequencer sample.


  5. Abrar says:

    Hi Abdul,

    Great Work!

    I am also working in Doha & need some help regarding SharePoint and Biztalk Integration .

    Can we speak? My contact no. is 97355835573.

    I would be greatly thankful to you for your help.

    Kindly share your contact details.


  6. Murali says:

    Hi Abdul Rafay…
    This is Murali. I have got a problem on doing my project. where as I have 2 Schemas
    1. “Request schema” which has 3 fields named as
    If one of them say “Val3” has NULL, I don’t want Val3 Field even Tag also in Response Schema like
    2. “Response Schema”
    Which functoids should I use to get result without Scripting.
    Pls I am eagerly waiting for your replay
    Thank you

    • Abdul Rafay says:

      Hi Murali,

      To check the Val3 element you can use the Logical Existence functoid which returns true. You can then have an Value Mapping functoid and provide the output of Logical Existence Funtoid as the first parameter and the Val3 element as the second parameter. This will have the value mapped to the destination schema.

      If you want to suppress any node you need to have a false value mapped on the node/element in order to suppress it. Make sure that in the schema this field/node have minOccurs=0. For this have a Logical Not (inverter) functoid and supply the input of the Logical Existence functoid to it. Now add another Value Mapping functoid and provide the following two inputs (order matters).

      1- The first parameter should be the output of the Logical Not functoid. It means that if the Val3 would not exist the logical Not would invert the output of the logical Existence functoid.
      2- The second parameter should be the output of the Logical Existence functoid itself. It would be false.

      You can see the screenshot of this implementation I have uploaded for you.


  7. Adam says:

    Hello Abdul, I hope this message finds you well. I don’t know if this is the correct section to make a post, but here goes.

    I’m a PHP Developer and I’m having some troubles getting a script to work that accepts HTTP POST messages from my partner, who is sending messages (as HTTP POST) using Biztalk. The issue is that (seemingly) although his Biztalk server is sending POST requests to my Script (API) URL correctly, they are coming in as empty items (in other words, no paramaters at all in the $_POST array.

    Other sites I have visited indicated that a message sent via HTTP POST in biztalk is the same as other sources of HTTP POST in that it follows the standard.

    Yet, I’m having trouble “seeing” POST variables as they hit my API.

    Any ideas? I’m running PHP 5.3x on an Apache Server


    • Adam says:

      Hi Abdul, thanks for replying my post. Anyway, I was able to actually receive the XML document as sent by the Biztalk at the origin point. The Systems Tech told me he was sending it via HTTP POST, but I was unable to see the xml until a change was made (on the Biztalk side) to use Content Type= application/x-www-form-urlencoded”

      Although this was a great step of forward progress, it’s just short of an ideal solution for the following reasons:
      1. There seems to be no POST array key bound to the xml document. The document just sort-of “magically appears” at the gate of my API. If Biztalk is sending via HTTP Post then why is there no name/value pair like you’d see in a conventional HTML FORM submission of POST?

      2. Outside of the inbound xml document has some strange non-printable characters.

      Below is the opening ‘<xml.' tag

      • Adam says:

        oops, it looks like the page did a number on the xml tag. I’ll try “code” tags instead of “pre” tags.


  8. suresh says:

    HI Abdul
    I have an element which may come in the XML or may not come. IF the element exists i map to the destination field . If the tag does not come i need to map another element to the destination.
    For this i use logical Existence and then a value Mapping Functiod and it works well. Incase if the element does not exists this logic breaks , the logical existence does not return false i believe so how can i handle this situation.


  9. suresh says:

    I have an XML where one of the element is optional it may occur or it may not. In case if i check for the element using IsExistence functiod and if the element is present i dont see any issue. In case if the element does not exist the IsExistence does not return false so how can i do this . so that when there is not element i need to map another element to the destination. I need to do this in the Mapping. Any advice

    • Abdul Rafay says:

      You can use the value mapping functoid with Logical Existence functoid. In your source map link FieldA to he logical existence functoid then link the logical existence functoid output to value mapping functoid. Then connect the FieldA from source map to value mapping functoid. If Value mapping functoid first input is true the other parameter value is returned as an output otherwise not. So this will ensure that if the element is present its value is returned in the destination map.

      Now you can handle the ELSE condition in a similar way, attach the same logical existence output to another Equal Functoid which would return true if both the input parameters are same. So supply the second parameter hardcoded as false so if the logical existence returns false it would return true else false. Then drag another value mapping functoid and connect this equal functoid output to value mapping functoid. Then add another paramter to this value mapping funcoid the node which you want to return if your NodeA is empty. So this will create an IF ELSE condition if NodeA is empty or null it would return the other node otherwise the NodeA value.

  10. suresh says:

    Hi Abdul
    Thanks for your reply ad it works .
    I am using Using Logical Existence functoid for a record then a Equal Functoid and hard coded the value as “False” the output of that is sent to Value Mapping functoid and second parameter is hard coded. But when i test the XML with the no record am not able to get the desired output.
    Am not sure why false is not validated in the equal functoid. Could you please advice

    • Abdul Rafay says:

      Not sure what could be wrong the Logical Existence functoid works in this case along with the Equal functoid.
      BTW you can use C# inline script for the whole IF ELSE logic if you like. You can send two parameters and inside write a method which can check if the first parameter is NULL or Empty “” retun the other variable value. You can connect both the elements as input to this functoid.

  11. sureh says:

    I tried using the script functoid and still there was no output. Then with the same source and input file i just created a simple destination XML with only one element and it works. So i think issue with the destination file . The destination is an XSD from a WSDL file in my case , is there any thing i need to check like namespace etc.

  12. suresh says:

    Abdul ,
    For the above issue i used XSLT to solve …as below

    I have one issue here. Am using string(number(..)) to remove leading zero’s . It works fine until the values are numbers. If the value is like 00A123 ..the output is NAN.. Is there anything i can do to solve this issue

  13. suresh says:

    value-of select=”string(number(/p:Receive/p:idocData/p1:E2KNA1M005GRP/p1:ZZE1KNVH000/p1:HKUNNR))” /

  14. Greg says:


    I am working with the Oracle adapter and i came across one of yoru post which is exactly what i need
    Using Polling Statement and Executing Custom SQL using BizTalk Oracle Adapter

    But I have tried to follow the steps and some that I know but cant get it to work anyway you could post the code for that example.

    Thanks !

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: