We're a community of 1077K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,076,524 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

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.

5
Contributors
6
Replies
1 Month
Discussion Span
1 Year Ago
Last Updated
7
Views
riahc3
 
Team Colleague
1,304 posts since May 2008
Reputation Points: 62
Solved Threads: 13
Skill Endorsements: 11

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
Skill Endorsements: 0

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
 
Team Colleague
1,304 posts since May 2008
Reputation Points: 62
Solved Threads: 13
Skill Endorsements: 11

No help or ideas?

riahc3
 
Team Colleague
1,304 posts since May 2008
Reputation Points: 62
Solved Threads: 13
Skill Endorsements: 11

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

pritaeas
Posting Prodigy
Moderator
9,320 posts since Jul 2006
Reputation Points: 1,178
Solved Threads: 1,467
Skill Endorsements: 86

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
 
Team Colleague
1,304 posts since May 2008
Reputation Points: 62
Solved Threads: 13
Skill Endorsements: 11

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
1 post since Mar 2012
Reputation Points: 0
Solved Threads: 0
Skill Endorsements: 0

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
 
© 2013 DaniWeb® LLC
Page rendered in 0.0767 seconds using 2.68MB