File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes How deploy my web service client to html ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "How deploy my web service client to html ?" Watch "How deploy my web service client to html ?" New topic

How deploy my web service client to html ?

John Santy

Joined: Nov 03, 2011
Posts: 21
Hi all,

I have created a web service client using Eclipse and it is working fine. I have written a java code to access all the methods provided by the web service. Now, I would like to deploy my java code(web service client) to a html page. Is it even possible? Do you have any suggestion so I could share or deploy the web service client ?


Vijitha Kumara

Joined: Mar 24, 2008
Posts: 3902

It's the web service we deploy and register which enables various clients to access them across networks, but not the client. What's that you are trying to accomplish/solve by doing so?

[How to ask questions] [Twitter]
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
Assuming you developed your web service client in Java or some other language that runs on a JVM, then the program containing the web service client must be deployed on a computer that contains a JVM.
The most common is to deploy to a web container, such as Tomcat or GlassFish. Since you mention HTML, I assume your program is a web application that will produce HTML.
If your web service client is indeed a part of a web application, then it must be invoked by some part of the application, perhaps by a controller (C in the MVC pattern).
Best wishes!

My free books and tutorials:
I agree. Here's the link:
subject: How deploy my web service client to html ?
It's not a secret anymore!