Guest Posted July 6, 2009 Share Posted July 6, 2009 (edited) I have recently made an ASP webservice and one in PHP using nuSOAP. They both work find locally with my C# application. However when i went to host my webservice, thats when the trouble started. I can call the web methods but they take AGES to come back. The first call takes about 30 seconds, but the others are not as bad... 2 - 3 seconds (still not acceptable though). What could be going wrong... Is this a firewall, hosting or another problem? EDIT: Tried a free webservice provided by w3schools.com and im experiencing the same problems. Guess it is the firewall then. Im in university at the moment so i have a fast connection, but a lot of the ports are closed. Anyway around this? Edited July 6, 2009 by Guest Link to comment Share on other sites More sharing options...
0 azcodemonkey Posted July 7, 2009 Share Posted July 7, 2009 Web services typically run over port 80, unless you're doing something with WCF and hosting on another port. Maybe the school is doing some sort of security analysis on each request. Link to comment Share on other sites More sharing options...
0 Guest Posted July 7, 2009 Share Posted July 7, 2009 Web services typically run over port 80, unless you're doing something with WCF and hosting on another port. Maybe the school is doing some sort of security analysis on each request. Could be something like that... :( I'll try the speed when I get home, dont have any extra security features set up at home. Just a general question then, which webservice would be best to use - the nuSOAP PHP webservice or the .NET one...? Is their much of a difference in performance, i dont have Windows Server hosting so I cant try out the latter. Link to comment Share on other sites More sharing options...
0 azcodemonkey Posted July 8, 2009 Share Posted July 8, 2009 I couldn't say with any authority. Just as a guess, I'd imagine the one that runs as compiled code and not script would be the fastest. But, really, it depends on what you're doing and how it's written. Link to comment Share on other sites More sharing options...
Question
Guest
I have recently made an ASP webservice and one in PHP using nuSOAP.
They both work find locally with my C# application. However when i went to host my webservice, thats when the trouble started.
I can call the web methods but they take AGES to come back.
The first call takes about 30 seconds, but the others are not as bad... 2 - 3 seconds (still not acceptable though).
What could be going wrong...
Is this a firewall, hosting or another problem?
EDIT: Tried a free webservice provided by w3schools.com and im experiencing the same problems.
Guess it is the firewall then. Im in university at the moment so i have a fast connection, but a lot of the ports are closed.
Anyway around this?
Edited by GuestLink to comment
Share on other sites
3 answers to this question
Recommended Posts