Wednesday 6 February 2013

Creating Auto XML using Scheduler Adapter

In this post I will show you how you can use Biztalk Scheduler Adapter.
Download Biztalk Scheduler Adapter
Install Adapter usually it will install in following location: C:\Program Files (x86)\Biztalk ScheduledTask Adapter. This location will contain a couple of assembly files. Now in Receive Location use this adapter and press configure. A dialogue will open which is shown in figure below.






















On General Tab give an appropriate name of Scheduler. On Schedule Tab you can set schedule time. On Task tab click Find Task, another dialogue will open (shown in figure). Click on Browse button and select following dll from adapter installed location ScheduledTaskAdapter.TaskComponents.dll. Double click its Method XmlStringStreamProvider (marked with rectangle). It will fill up below text box with Assembly Qualified Type Name. Press Ok. Now paste your desired XML in Receive Location Properties>>Task Tab(marked with rectangle) and press Apply then OK. Now in orchestration bind your logical port with this receive port and you will surely get XML in scheduled time.