• 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

J2EE Web Service Client - best practice question

 
Sheriff
Posts: 3063
12
Mac IntelliJ IDE Python VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I used WSAD 5.1.2 to create a web services client following this article:
http://www-128.ibm.com/developerworks/websphere/library/techarticles/0308_soyannwo/soyannwo1.htm

Everything worked well. WSAD has a nifty wizard for creating the client and test code, so there's not any coding whatsoever. Just point it at the web service, fill in some parameters, and let it go.

However, the process added some reference libraries to the project. In particular: commons-discovery.jar, webservices.jar, wsdl4j.jar. Therefore, when I exported the project ear file and deployed it on a standalone WebSphere App Server, I got ClassNotFoundExceptions. Finally, I decided to put these three jars into WEB-INF/lib of the web project. I would have been happier, though, if this had been part of the process, given that everything else was automatic. What is the best practice here? Where should I put those jars?
reply
    Bookmark Topic Watch Topic
  • New Topic