473,326 Members | 2,012 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Multiuser access to a shared resource under a web service


Suppose I want to write a webservice, where an XML file is loaded in
XmlDocument and then a web method is built that would take in an XPath
query as a parameter, and a string value.

The Xpath query would be used to find the node, and the value would update
the InnerXml attribute.

The question is: how can a web service provide multiuser access to the same
XmlDocument?

Should I use a mutex?

I'm not sure if a Web service that is accessed by multiple consumers each
would act like a thread on the shared document, or if there would be
collisions during simultaneous access.

In which case, do I have to write an external *Xmldocument* *server* ?
Nov 16 '05 #1
0 924

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Ketchup Kerry | last post by:
I wrote a multithreaded windows service that has read/write access to an XML file using a mutex. I started wondering -- a multiuser XML file could be really useful in cases where a small,...
0
by: Caesare Gentile | last post by:
Suppose I want to write a webservice, where an XML file is loaded in XmlDocument and then a web method is built that would take in an XPath query as a parameter, and a string value. The Xpath...
6
by: Mike Wiseley | last post by:
We recently converted our department wide shared Access97 database to Access2K. We used to be able to open various reports in design mode and make changes to the design (or create new reports) even...
3
by: ajdfljsdf | last post by:
After some basic research, I am still somewhat unclear on how Access would be used in a workgroup setting. Basically, we want to run 10 MS Access clients to access an MS Access database on a...
2
by: marifusman | last post by:
Acees 2.0 application when user run application it give following error. The database is opened by user "Admin" on machine "abc". you can not open this database exclusively. Please help me...
16
by: Rob Geraghty | last post by:
I've just spent some time looking through FAQ sites and searching the google archives of this newsgroup, but I still haven't been able to find a clear explanation of an issue with multi-user...
9
by: John Bailo | last post by:
As far as I can tell, there is no way in a Web service, per se, to have a truly shared object or resource such as a file...one that I can manage multiple updates on with a mutex for both reading...
3
by: Nick | last post by:
I've created a user control that extracts data from a database. The VB code is all contained in a code-behind file. I'm trying to extract a value from the request.querystring but keep getting...
1
by: Duffman | last post by:
Hi, I have what seems to be a common problem, but the solutions I've found don't seem to work. I would like to use a web service to create a file at a UNC location in a shared file. Currently...
0
by: dinoo | last post by:
I did not find the right forum to post this issue, please excuse me for this. But I need the help here very badly. I am having a Windows Service in .NET which is accessing a MDB file which is...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.