954,561 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Can multiple users call a web services at the same time?

Hey

Im wondering if various users can a web services at the same time and execute the same code to generate something. Does it do it at the same time on difference threads/objects? Is it FIFO (First in, first out)?

Questions like those.

Thank you.

riahc3
Posting Pro
545 posts since May 2008
Reputation Points: 50
Solved Threads: 2
 

A web service should be able to cope with simultaneous users but it's all dependent on how it's written. I suppose if you had a service that counted something then you may get users having different responses.

phper
Posting Whiz in Training
213 posts since Nov 2006
Reputation Points: 22
Solved Threads: 19
 

Well I just tried it and I got this error:

(Generated from a exception)

java.lang.ArrayIndexOutOfBoundsException: -1

This never happens when calling it just as one.

riahc3
Posting Pro
545 posts since May 2008
Reputation Points: 50
Solved Threads: 2
 

No help or ideas?

riahc3
Posting Pro
545 posts since May 2008
Reputation Points: 50
Solved Threads: 2
 

An out of bounds exception sounds like a coding error. Check your logic.

pritaeas
Posting Expert
Moderator
5,480 posts since Jul 2006
Reputation Points: 653
Solved Threads: 875
 
An out of bounds exception sounds like a coding error. Check your logic.


Sometimes it is a out of bound exception, other times it is a file error when trying to read/write/delete/move a file named the same but with different contents.........

So many things...

riahc3
Posting Pro
545 posts since May 2008
Reputation Points: 50
Solved Threads: 2
 

Yes, multiple users can call web services at the same time because programers defined the codeing to handle multiple task at same time.

sandrajustin
Newbie Poster
Banned
1 post since Mar 2012
Reputation Points: 0
Solved Threads: 0
Infraction Points: 15
 

Post: Markdown Syntax: Formatting Help
You