File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
forum!
JavaRanch
»
Java Forums
»
Java
»
Web Services
Author
Missing default constructor returning bean from Axis.
Kevin P Smith
Ranch Hand
Joined: Feb 18, 2005
Posts: 362
posted
Mar 26, 2010 05:15:09
0
I am getting this error on returning my bean in Axis.
org.xml.sax.SAXException
: Unable to create JavaBean of type com.project.axis.MyBean. Missing default constructor? Error was:
java.lang.InstantiationException
: com.project.axis.MyBean.
Sounds pretty obvious but the bean does have a default constructor:
public MyBean() { super(); }
So I'm thinking this is a bit of a Red Herring error!
KS
I agree. Here's the link:
http://aspose.com/file-tools
subject: Missing default constructor returning bean from Axis.
Similar Threads
useBean error
How come I can pull a session attribute in a JSP page but not in a Servlet?
Constructors in EJBs
About Default Constructor in a Bean
what is the difference???
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter