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 Web service in same time work as client? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Web service in same time work as client?" Watch "Web service in same time work as client?" New topic

Web service in same time work as client?

Nikola Stefanovic

Joined: Jul 15, 2011
Posts: 3


I have to implement web service and i'm using Eclipse Java EE IDE for Web developers (Indigo release), JAX-WS and Apache CXF 2.4. My web service must support collecting files from client (zip archiva) then process that files and send result to server over network, which will not be implement on same machine. Relation client-web service is easy and i already implemented, but problem is relation web service-server. Is it possible to implement web service to work like client, i.e after processing files to communicate with server program on other machine and work as client? I'm a newbie in this and sorry if i'm asking you stupid questions Smile

Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
Welcome to JavaRanch (seeing that this is your first post)!
Yes, it is possible that the server receiving the files in the ZIP archive plays the role of a client when interacting with another server.
It can also be accomplished using web services or FTP or anything else you find suitable.
Best wishes!

My free books and tutorials:
jQuery in Action, 3rd edition
subject: Web service in same time work as client?
It's not a secret anymore!