Biztalk 2013 to pick files from webdav

Hi Guys,
Can anyone let me know whether Biztalk 2013 will work with webdav to pick files? I am thinking to use webdav and host an endpoint in IIS to store the files created by different applications. The reason would be just to avoid sharing of windows file paths
and use a consistent authentication mechanism at the IIS level.
So if any application puts a file in to the webdav, Can we configure Biztalk to pick those files? If so, do we get same message context properties as FILE adapter?
Thanks
JB

Hi Janardhan,
Before I validate this approach of using WebDav as file share for BizTalk, let me just answer your question directly.
While configuring WebDav, you would create a file share for WebDAV and map this file
share to your virtual directory. And if you want to use WebDav as file share (for files created by different applications) then you can use BizTalk file adapter to access the files, so in this case since you have used the File adapter you will have file adapter
related context properties to the message published in to BizTalk message box db. You have to ensure, BizTalk host instance’s credentials uses by the file Receive location to pick the files from file share of WebDav has access to receive the files.
Following article can help you on creating file share in WebDav
MSDN
Blog:Setting up WebDAV on IIS using Windows Authentication and a UNC, mapped drive or file share
But instead of considering this option did you consider the following options through which you can still control the access at IIS level.:
BTSHTTPReceive.dll:
You can configure virtual directory with BTSHTTPReceive.dl in IIS.
Once IIS is configured for
BTSHTTPReceive.dl
BizTalk listens to this URL and, through the use of BTSHTTPReceive.dll and the HTTP receive adapter message posted to this URL is passed to the BizTalk MessageBox
Following article shall help to know details about this and how to configure it
http://tech.movie-stars.us/windows_server/biztalk-2010-recipes---adapters---configuring-http-receives.aspx
http://soa-thoughts.blogspot.co.uk/2011/07/using-btshttpreceive-in-x64-environment.html
http://www.biztalkbill.com/Home/tabid/40/EntryId/66/Configuring-BTSHTTPReceive-dll-to-work-on-IIS-7.aspx
Publish schema as WCF Service:
You can build a single schema that has a child node of type “any.”  Then, you can use the “publish schemas as WCF service” option of the publishing wizards to create a general
purpose service which can be used to receive different types of message from different applications. Here different application/customer client call this WCF service upload their data document in the <Any> section of the schema, If you’re using
WCF receive locations, you can always strip out the wrapper node before publishing to the MessageBox.
For more options, read the following article:
Four Ways to Accept Any XML Data Into BizTalk Web
Services
I would certainly consider other option before using WebDav as file share for BizTalk to process the file.
The above methods are suggested since you want to control the access level at IIS, other obvious options are FTP..
If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

Similar Messages

  • How to pick files from ECC directory

    Hi All,
    I have to pick files from the directory of ECC. can anyone tell me how to configure the sender File apapter? Can i use NFS for the same?
    Regards,
    Lavanya R

    Hi Lavanya,
    With my knowledge two ways to pick the file from ECC using File adapter.
    1. If you use NFS, mount point should be created in ECC for the Directory to access from PI.
    2. If you use FTP, FTP ports must be opened between PI and ECC.

  • Regarding picking files from sender Adapter

    I want to pick files from multiple directories from the sender adapter.
    Is there any way to write a module fro the above functionality?
    If possible, please provide the solution for the above query

    Hi virkram,
    take a look to this thread
    Re: File Sender Adapter - Multiple Source Directory
    Hope this help
    Francesco

  • Cannot download the Exchange Server 2013 SP1 ISO file from Microsoft Website.

    Hello Guys,
    I cannot download the Exchange 2013 or Exch 2013 SP1 ISO file from the Microsoft Website.
    Before downloading i have register on the Site.
    Purpose of downloading the ISO is to upgrade the Active Directory Schema before installing exch server.
    We get .exe file instead of ISO.
    I am searching it for 2 days now no help.
    Suggestion and recommendations highly appreciated.

    Hi David,
    Thanks for the reply...
    If we extract .exe file we get .data , .rsrc , .text , .Certificate files by which we cannot upgrade the schema.
    As CU7 is available could you please share the link.
    So now schema can be update at the time of post installation.
    Thanks...!!

  • Background: Pick files from directory at central instance

    Hi,
    In Background, We want to pick files from the directory present central instance. I am using FM RZL_READ_DIR_LOCAL to read all files present in directory and later we process each of them.
    This FM works fine while I work online but not in background. In Development and Quality servers it works fine in background. possible reason could be that we dont have central instance in dev and quality server.
    Please suggest.
    Thanks

    You can go through his article once
    link:[http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/9831750a-0801-0010-1d9e-f8c64efb2bd2?quicklink=index&overridelayout=true]
    Your presentation server must be switched on when performing these kind of actions.

  • File Adapter: picking files from multiple directories

    Hi all,
    In a sender file communication channel with Transport
    Protocol FTP, There are 2 parameters for Picking up the file
    called Source Directory and Filename. If I want to pick the
    files from 2 or more directories, What needs to be done.
    Or is it possible to do so ?
    Without making duplicate interfaces what else can be done ?
    Regards,
    Vijay

    Actually it is possible to select files from different folders for sender channel. It is available with SP14.
    I just copy following description from help.sap.com
    Advanced Selection for Source File
    If you want to set an exclusion mask for the File Name specified above, or if you want to specify multiple directories using a file name mask and exclusion mask, set the Advanced Selection for Source File indicator.
    ¡        Specify an Exclusion Mask for the file name specified above.
    Example
    You want to process all files that have the extension '.txt', but want to exclude all files that begin with the letter 'a'. To do this, enter .txt for File Name, and a for Exclusion Mask.
    ¡        You can enter additional specifications for source directories, file names, and exclusion masks in the table. This data is processed in addition to the details specified above.

  • How to pick files from multiple directories via Sender File Adapter?

    Hi guys,
    I have a scenario File to IDOC. The Sender File Adapter has to take all files: .xml from Source directory E://Current/.
    Actually directories are like
    E:/Plant1/Current/
    E:/Plant1/History/
    E:/Plant2/Current/
    E:/Plant2/History/.
    Can I have one Sender File Adapter to pick all *.xml files
    from
    E:/Plant1/Current/ and
    E:/Plant2/Current/  and how can I write it in Source Directory of Communication Channel?
    Or do I have to have a Sender File Adapter for each Plant?
    Any suggestion please?
    Kind regards,
    Danijela Zivanovic

    Hey
    You might wanna have a look at "Additional selection for source file" parameter in sender file adapter.
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/singleSenderFileCC4MultipleDirectories
    XI/PI: how to exclude files in a sender File adapter?
    Even though this method works but there are some constraints,please check help.sap.com for constraints.
    Thanx
    Aamir

  • To pick files from multiple directory in FILE ADAPTER

    Hi all,
    Is their any settings or adapter configuration parameters to be used  to pick  the files from multiple directory .

    Hi,
    You can only specify one directory on the communication channel. The advance selection allows the selection of different files within this directory.
    Therefore you will need a communication channel for each directory you wish to pull files from.
    (Just looked at the blog and see it is possible after all - I'm on the wrong SP)
    Kind regards
    Colin.
    Message was edited by:
            Colin Bickell

  • Error in picking files from FTP Site

    Dear All,
    I m using one communication channel of type FILE to pick the files from a FTP Site. Yesterday, the communication channel stopped picking the files from the FTP site. I checked the adapter in the Adapter Monitoring and it was green and was showing success messages in SXMB_MONI. I then just reactivated the complete scenario and the communication channel started picking the files again.
    Is there a way to find out the trace or log in the server for the adapter or communication channel? Or how can I find out what went wrong.
    Warm Regards,
    N.Jain

    Hello Nishant,
    That is a problem which happens frequently( atleast i faced the same ) .
    The issue is realted to timeout in your FTP Adapter (Connection Issue). Just check out the mode of connection in your file adapter is it permanant or reconnect after a certain time.
    What you can possibly do is contact the team which maintains the FTP server...
    Regards,
    Sumit

  • Picking files from trp server

    hi..
    one thing i am not able to understand sometimes xi system is unable to pick the file from the ftp server i have checked all commmunication channals parameters every thing is ok.
      some times it picks the file and sometime it doesnot..
    i would be greatful if you could help me in this regard.
    regards.
    krushi

    Hi Krushi,
    <i>>>>some times it picks the file and sometime it doesnot</i>
    1. check above <b>two answer</b>.
    2. give all permission to your file, maens...right click on file and click on properties. then give all permission to file so that XI server can read this file.
    Regards,
    Umesh Laxkar

  • Picking files from FTP server with dynamic Filename.

    Hello Experts,
    I want to pick some files from a FTP server in a File to Idoc scenario. The files in the Ftp Server are created with the filenames as timestamp of the file when it was created. How do I pick up these files?
    Thanks,
    Merrilly

    Hi,
    The above masking concept (*.txt, . etc) will be applicable for the files with NFS only,
    See the below link to apply it
    /people/mickael.huchet/blog/2006/09/18/xipi-how-to-exclude-files-in-a-sender-file-adapter
    The below link will help you to build up the adapter module to read the dynamic file name
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/da5675d1-0301-0010-9584-f6cb18c04805
    This could be applicable for FTP ...
    Thanks
    Swarup

  • Picking files from multiple folders based on name send to destination folde

    Hi,
       I want to pick multiple files from multiple folders with one root folder. Based on file name I want to send it to diffirent folders. No need to go for message mapping. Can anyone suggest me.
    Thanks & Regards,
    Prasad Kotla.

    Hi Prasad,
    to pick the files from multiple source directory, can use "Advance Selection for Source File" in Sender CC.
    If you wand to develop a Scenario without Message mapping, develop a scenario as "Sender as Virtual receiver"
    This option is available in Sender agreement, just give the dummy name for Msg Interface and Namespace, Name defined should be same in Rec Agreement.
    Develop only: Sende CC, Receiver CC, SA, RA
    No need to develop ID and RD as no mapping is involved.
    If u want to send the files to different folders of receiver side, just develop the adapter module which changes the directory based on the sender filename.
    If the sender and receiver directory is same than check the "adapter specific Msg Attribute"  and "directory" checkbox in both the sender and receiver CC. in this case no need to develop Custom module for changing the directory. files will be automatically placed in the path they were picked from  sendor directory
    appreciate if useful
    regards,
    chandra shekhar

  • Peculiar behaviour in picking file from FTP in File-IDoc scenario

    Dear XI Expert,
    I have successfully completed configuration of FTP --> XI --> IDoc scenario. I have noticed a peculiar behaviour in picking the file from FTP. I placed a file on FTP and activated File Adapter with poll interval '60' secs and processing mode as 'Archive'. For the first time it has picked the file with expected behaviour and IDoc got posted to SAP successfully. But when I placed file for the second time and when refreshed the FTP directory, immediately file got archived without waiting for 60 secs. But in sxi_monitor I could not see any activity of processing this scenario. Surprise is that, file got archived in target directory. This goes on and on... without registering any activity of processing the message in Message monitoring.
    In adapter monitoring it shows the message as described below:
    <i>History:
    2006-05-09 22:57:25 : Processing started
    2006-05-09 22:57:25 : Error: Processing interrupted due to error: FTPEx: No such file
    2006-05-09 22:57:24 : Processing started
    2006-05-09 22:57:24 : Error: Processing interrupted due to error: FTPEx: No such file</i>
    For your information my SAP XI system is on SP16.
    Please find below the parameters of sender adapter:
    <i>Quality of service: Exactly once
    Poll interval: 60 secs
    Processing mode: Archive
    Connect Mode: Per File Transfer
    Transfer Mode: Binary</i>
    Can anybody help me out in resolving such a problem in this scenario?

    Hi Jayakrishnan,
    Thanks for your reply.
    Once again the same problem is noticed. i.e., for the first time when file adapter is activated the file got picked, activities were logged in monitoring and IDoc got posted to destination system. For the second time when file is placed, before 60 secs got completed the file is picked and archived in the target directory. No activities in monitoring are logged.
    I have tried it checking the message at adapter level, but it is showing 'No results' (even in the case of successful pick of the file for the first time, not even it is showing other file adapters).
    I was not able to understand where the problem could lie?
    Regards,
    Suraj Kumar

  • Export the Biztalk error to a file from the Biztalk project.

    Hi,
    I have created console app in VS 2012 to export the biztalk errors from Event Viewer to a text file.
    Here i have used eventlog class to fetch the application log errors on click of .Exe file it will generate the the text file.
    So I need to integrate this .exe or .net code to Biztalk project. How can i integrate this one. Any idea on this - how can i achieve this.
    Biztalk handles error but i need to export that biztalk error which occured in the application in to seperate text file in a location. Because  each time user needs to go to Adminstrative console then to EventViewer->Windows log->Application - >
    to view the Biztalk error. In this case i need to export the errors to a text file from the project instead of going to view error in Admin Console. i need some code samples on how to make it.
    But in .net we can achieve it using EventLog class to export the event viewer appplication log to a text file.As i said in first Earlier.Whether it can be integrate in to biztalk project through Custom Pipeline or any other way.
       

    Hi Vijayan,
    What is the objective of your requirement? Is this just to save user from going through Administrative console
    à EventViewer->Windows log->Application - > Filter event for BizTalk error?
    In this case you can create a custom event log for BizTalk and hold the events related to BizTalk in one node/category. So you’re users can directly to eventlog for
    Biztalk error. (FYI event log can be access without going through BizTalk admin console). So users can view information/warning/error specific to BizTalk in one view
    EventVieweràCustom
    viewàBizTalk.
    No automated steps required, just a simple one off configuration would do the trick. Read the following article on step-by-step guidance on achieving the same.
    Creating a custom event log under Event
    Viewer to log server events
    Or is requirement is due to some access issues you want to accumulate/consolidate all the BizTalk errors into one place so user can see BizTalk evenlog info in one place like
    a text file in a shared location, then the following article can help you to achieve the same.
    http://blogs.technet.com/b/heyscriptingguy/archive/2007/09/06/how-can-i-backup-an-event-log-to-a-text-file.aspx
    But what do you mean by integrate above process in to BizTalk. When you mean by “Biztalk handles error but i need to export that biztalk error which occured in the application
    in to seperate text file in a location”, are you looking to log the BizTalk “application” error/events i.e logging from your applications in BizTalk to a log file ? Then you can consider about using standard logging library like Enterprise
    Library Logging block, or NLog, or log4net. log4net can fit
    well comparing other logging framework.
    Following references can help you on this context:
    Write log file for Biztalk Logging
    with log4net – Sample
    Biztalk and Logging with log4net
    But keep in mind that this is application logging, i.e. logging from your BizTalk applications like logging while processing the message in pipeline/orchestration. But this will
    not log when one of the send port/receive location is stopped. These information are logged into eventlog.
    If you’re looking for application level logging then also know about
    BizTalk CAT Instrumentation Framework Controller. 
    Or if you want to your existing console application which exports the eventlog to text file to be automated, then use the Windows schedule task to run your console application
    periodically and let it export the errors to text file. You can console the export process in such a way that it can export the eventlog entries for the last one hour if you can configure the Windows schedule task to run every one hour to export the logs to
    text file.
    I have given various options, hope you can choose the one which suits your need best.
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • Programatically download files from WebDAV

    Hi,
    We have a requirement to download files programmatically from webDAV system. Any one please suggest some methods or share any sample code for doing this task.
    Thanks in advance.
    Regards,
    Nithyarajan M

    You can use UTL_HTTP. You must construct an HTTP header in a UTL_HTTP.req object and then receive the response in a UTL_HTTP.resp object
    request UTL_HTTP.req := NULL;
    response UTL_HTTP.resp := NULL;
    Prepare your header
    UTL_HTTP.write_text(request, message);
    response := UTL_HTTP.get_response(request);
    I have a sample using web services, later I will prepare a more elaborated sample, but by now you can research on this direction.

Maybe you are looking for

  • Creating Extranet and Intranet in a single web application?

    I'm confused ... again! Maybe you can help. Microsoft's best practices for setting up SharePoint 2013 is to utilize a single web application in a single web application pool. My Network Topology I am setting up my intranet AND extranet in a back-to-b

  • How do I use lightroom with a Canon EOS 7d mark ii

    I use Lightroom for everything and love it.  It is fantastic with all of my Canon cameras.   However, I just bought the new Canon 7D mark ii and Lightroom doesn't read the raw files.   I don't see Adobe having any updates for the new Raw file.   In t

  • Dunning Block removal from program.

    Hi all, I am creating a custom program which will be executed daily on background which has to remove dunning block. I couldnt find any function module or such to remove dunning block.Please share your views n how it could it be done. Best Regards, S

  • DW MX & Contribute

    Just wondering whether anyone can comment on this ftp log from trying to get my copy of DW MX to administer / set up Contribute fucntionality on a site (server passes tests with the adobe downloadable ftp testing tool) server ftp software is pure_FTP

  • Far fewer print settings in this version?

    In the previous iPhoto, I was easily able to select different printing layouts that would print a bunch of photos on a single page in such a way that they were laid out nicely, filling the available space and all the right way up. Can't seem to find