A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Calling a web service operation from a servlet
Joined: Dec 10, 2009
Mar 09, 2010 03:36:30
Hi, i wanted to ask this...
I have a
and web service
on the same server
, and i want to call a WS operation from the servlet.
How do i do this ?
"Quoting yourself is stupid" - Me
Joined: Dec 08, 2009
Mar 09, 2010 04:00:10
You have to write a Client depending on the type of webservice (Soap/REST).
Joined: Mar 22, 2005
Mar 09, 2010 04:18:56
If you can guarantee that they will always be on the same server, then you can factor out the business logic from the WS into their own classes, and then use those classes directly from within the servlet.
Ping & DNS, my free Android app for network diagnostics
It is sorta covered in the
JavaRanch Style Guide
subject: Calling a web service operation from a servlet
web servirce help
Web Service question - Need your suggestion.
How to call a web service from a servlet........
Pizza and Servlets
.NET service consumption from Java servlet
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013