The moose likes Web Services and the fly likes clientgen not including class files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "clientgen not including class files" Watch "clientgen not including class files" New topic

clientgen not including class files

s rufus

Joined: Sep 21, 2005
Posts: 10
I am using weblogic 8.1 sp4 server.I am running a web service which exposes a method which takes an argument of type baseClass.However, I would like to pass on subclasses of the baseClass as argument to the method.When I try to generate the webservice client.jar using clientgen I found that my client doesnot compile, because the client jar generated only contains the baseClass class file and not the subclass class files that I require.

Can anybody suggest a solution to this ? Is there any other way of genrating the client jar ?

Thanks in advance
s rufus

Joined: Sep 21, 2005
Posts: 10
Well .. found a solution.
There is an ant task called autotype

I agree. Here's the link: http://aspose.com/file-tools
subject: clientgen not including class files
Similar Threads
NoClassDefFoundError - XmlException + weblogic 10
Errors when using clientgen
Getting Exception :Problem: failed to create task or type arg in build.xml while creating webservice
WebService for checking a dictionary word
Clientgen ant task throwing errors in Weblogic 8.1 SP4