Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Receiving files via HTTP
- This topic has 3 replies, 1 voice, and was last updated 8 years, 4 months ago by
community-content.
-
AuthorPosts
-
-
April 1, 2008 at 10:56 AM #19218
I am developing a project that requires a web front end where clients can upload Invoices and then receive an HTTP response as to the compliance of their Invoice File. I see 2 ways of doing this and I don’t know which will work better or whether it is even possible
1. Setup HTTP receive location and receive file directly into BizTalk, run the file through a validation map, then do an HTTP send with a report
2. Setup a FILE receive location, send uploaded file to that location, run the file through a validation map, then do an HTTP send with a report
Is it possible for the HTTP receive adapater to get a file through HTTP? What would be the best approach to go from submitting the file (through either mechanism) and then sending an HTTP response to the client? When they click the upload button can I simply redirect them to a URL that my HTTP Send adapter is connected to?
If anyone has any links to articles on HTTP Send/Receive adapters/application could you post them?
-
April 1, 2008 at 11:32 PM #19225
Greg,
it’s not clear for me what the users exerience should be. Do they get an acknowledgment that the file was uploaded? Or that it was processed? What is the nature of the respose you send back?
In general my preference would be to have a layer of separation. The incoming file is delivered by HTTP and dropped into a file location.This lets you test the downstream part locally without HTTP – just drop files.
John D.
-
April 2, 2008 at 6:15 AM #19235
Hey John,
I want the user to browse for a file, then click a “Test” button. I then want them to be redirected to another page where they can see a report showing the status of their test. This report will be generated by BizTalk and publish via an HTTP send port.
I need it to be a seamless processes. User submits file, use gets report.
-
April 18, 2008 at 7:29 AM #19390
Does it make more sense to use Web Services for this process?
I could write an ASP .NET web application that receives the file, creates a SOAP messages and passes the received file to BizTalk vai a Web Service adapters. Once BizTalk is done processing the message it will repond with a report message.
Will this allow me to do a synchronous process meaning the user would only have to click the test button and would be automatically be redirected to a report page when BizTalk reponds with the report.
Anyone have any experience with an application like this?
-
-
-
-
AuthorPosts
- The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.