• 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 ...
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Unable to Deploy a web service on WAS 5.0

Ranch Hand
Posts: 548
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I have converted a simple 'hello world' java bean into a web service using WSAD 5.1.2. It has created a seperate ear-war projects for both server and client and I am able to access the web service from the sample web client generated by WSAD 5.1.2.

Now, before deploying this ear files in WAS 5.0 I want to make use of Apache AXIS jar files so that at the end I can deploy these ear web services successfully on both WAS 4.0 and WAS 5.0 and I dont want to rely on the soap implementations provided by each of these server versions as they can be different. So I have manually placed all the axis(axis-1_2RC1) jar files in each(client and server web applications) of web applications lib directory and exported them as ear files using WSAD and deployed these two ear files in WAS 5.0.

Now if I try access the web service using the url http://localhost:9080/HelloWorldWebServiceClientWeb/sample/HelloWorldBeanProxy/TestClient.jsp then I am getting numerous exceptions like "Error 404: File not found: services/HelloWorldBean" and "Failed to load servlet: java.lang.ClassCastException: helloworld.HelloWorldBean" etc.

Do I need to do anything other than making all the axis's jars available in web applications lib directory before I export ear files from WSAD to test the web service on WAS 5.0 ?

Please guide me friends ...

Thanks & Regards,
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I had similar issues when deplying on WAS because I was trying to use axis classe and it was not able to read the proper class from axis jar file, so what i did was , I dropped all the similar files which I used in wsad into "d:/Websphere/appserver/lib" and restarted the app, it worked fine for me.

What a show! What atmosphere! What fun! What a tiny ad!
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic