• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic