Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / November 2005

Tip: Looking for answers? Try searching our database.

WebService Design

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
JJ - 04 Nov 2005 01:55 GMT
Hi All,

 Heres the scenario: I have a couple of xml feeds coming in from
another company. I need, if possible a web service to check every so
often for these xml files. The web service would parse the xml data out
and check it against our database and maybe add some things to a new
xml file to be sent out. Is this possible for a webservice to do? and
if so what would we use in the webservice to cause a check event to be
executed? A timer in a win app equivalent is what I need. If this is
not a possible design. what is your thoughts of using a windows .net
service instead?

Also in the parsing of the xml file to weed out the data. I would
assume the best way to approach this is to use xslt/xpath for
extraction? Anybody have any examples in using xslt to extract data
from an xml file in c# ?

Thanks,

JJ
Peter Kelcey - 04 Nov 2005 19:40 GMT
JJ

A windows service is the solution you should be using in this case.  A
webservice is best suited for integrating two or more separate
applications and for facilitating easy communication between them. Web
services are really designed to work under a request/response pattern
where a client application makes a call to consume the web service. The
call from the consumer is what triggers the web service to start. In
the model you've proposed, you would need to have a client repeatedly
calling your web service.

A windows service is exactly what you need here. It can be setup to
repeatedly scan a directory to look for new XML files and then perform
whatever processing you need.

Hope that helps

Peter Kelcey

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.