Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Simon Yue
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 263
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Simon Yue
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any further suggestions? Please help and thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic