This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
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

Ideas - single client specific webservice client in a product which has 100s of clients

 
Gnanasekaran Sakthivel
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am working for a product which is a J2EE project. There is a requirement that we need to call a Webservice to get a document associated to a person entity. Now this requirement itself is specific to one client (out of 100s customers). Besides, even if other clients need this, they would have a different Webservice (i.e. different WSDL, etc) for the same document acquisition task.

I am no expert in Webservices other than having read couple books. I do not want to add this Web Service client code into the product. I created Webservice client using Axis2 and tested it.

I thought about creating an Interface in our product so that the implementation gets packaged with the Webservice client. Basically like a wrapper around the Webservice client. Is this a valid simple approach that does not harm standards.

Similarly I looked into Spring IOC. I am not sure if this is too much for implementing a "detached" Webservice client.

As always, due to time restrictions, without having done anything with Spring in the past, I am looking for standard ideas and/or a simple approach possible (at least for this release).

I also posted the same in Java World. If I get answers, I will link them across.

thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic