This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Web Services and the fly likes Advice needed concerning the design of a webservice Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Advice needed concerning the design of a webservice" Watch "Advice needed concerning the design of a webservice" New topic
Author

Advice needed concerning the design of a webservice

Geert Willems
Greenhorn

Joined: Jul 09, 2004
Posts: 1
I need to develop a webservice that has to process messages containing binary attachments. Not all clients that are going to access this webservice will be written in Java. The webservice will be deployed on Tomcat.

Since the processing of the message can be rather extensive I would like to set up the webservice in an asynchronous matter so that the client doesn't have to wait until the entire process is finished.

What should I use? I've read some articles and tutorials but I didn't get a clear answer about what to use (JAX-RPC, SAAJ, JAXM, ...)

Can anyone give me some guidelines please...

Thx in advance,
Geert
Sandeep Advani
Ranch Hand

Joined: Mar 11, 2004
Posts: 78
I am using Axis 1.1 where clients (only Java based) send binary data as array of bytes and not attachments to the Web Service. Processing takes place in a synchronous manner...I am trying to find out how to make this asynchronous. Shall let you know if I get something. At the same time, do post a message once you figure a way out of this.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Advice needed concerning the design of a webservice