File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes Newbie question - the suitable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Newbie question - the suitable "architecture" for this web services application." Watch "Newbie question - the suitable "architecture" for this web services application." New topic
Author

Newbie question - the suitable "architecture" for this web services application.

Simon Yue
Greenhorn

Joined: Aug 11, 2009
Posts: 15
I have to develop the following application ...

An "WSDL" file already exists. An web services "client" and an web services "server" should be developed in accordance to the WSDL file.

To simplify, the client will compose an web services message comprised of three data fields, two of which are string and one is a base64binary file.

In the server side, the web services message is received with the three data fields got. Some verification on these data fields will be conducted and in return, two java objects should be included in the reply.

In receiving the reply, the client should be able to decompose it into a string and one or more e-cert (encoded in base64binary, I think).

What modules should I select in Eclipse? Should I select EJB project in both sides or should I use Dynamic Web Project for the Clients? What else should I pay attention to?

Please give your suggestion or comment. Thanks very very much ...
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
Hi!
While it is slightly aged, I still recommend taking a look at the following (free) book regarding web service design:
http://java.sun.com/blueprints/guidelines/designing_webservices/
Best wishes!
James Ward
Ranch Hand

Joined: Apr 27, 2003
Posts: 263
Apache Axis2 is what will be best suited for this.
http://ws.apache.org/axis2/

With a WSDL, Apache Axis2 can easily generate server side and client side classes.

Here is a good link for client side (i.e classes to invoke a webservice whose wsdl is available) classes:
http://qnatech.wordpress.com/category/web-service/
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42263
    
  64
James Ward wrote:Apache Axis2 is what will be best suited for this.

Why? What does Axis do that other SOAP stacks don't? But the question is about architecture, not implementation, so a discussion about the stack to be used would probably be premature anyway.


Ping & DNS - my free Android networking tools app
Simon Yue
Greenhorn

Joined: Aug 11, 2009
Posts: 15
Any further suggestions? Please help and thanks.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Newbie question - the suitable "architecture" for this web services application.