• 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

Help deploying simple web service using Axis/Tomcat

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

I'm very new to webservices and axis in general and I'm having a horrible time getting Axis to work correctly.

Some background:
I'm basically trying to deploy a simple web service over RPC. The service is supposed to query a DB and return some values encapsulated in simple java objects.
I have two complex types I am using: BasicChannel and ContentItem.
Both are composed only of Java primitives and string objects and contain nothing except accessor methods.

The Problem
I am able to successfully generate client stubs using WSDL2Java, however, when I try to call the webservice I get an InvocationTargetException. It's driving me nuts as I've achieved some limited success in the past but each time I add a little more complexity the entire thing falls over and I am back to square one.
Below is the code I am using, including the WSDD to deploy my service.
Any help would be wonderful. I'm afraid I will lose my mind soon

ContentProvider.java (my Webservice, with implementation highlights)




BasicChannel.java (minus method implementations)


ContentItem.java (again, minus implementations)


the error!

[Balaji]Edited to place the error message at the end.

[ August 27, 2004: Message edited by: Balaji Loganathan ]
[ August 27, 2004: Message edited by: Balaji Loganathan ]
 
Dan Harabox
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
*sigh*
I wish this board had a preview function. I posted my wsdd twice instead of the exception I was getting:

 
reply
    Bookmark Topic Watch Topic
  • New Topic