File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes Missing default constructor returning bean from Axis. 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
Reply Bookmark "Missing default constructor returning bean from Axis." Watch "Missing default constructor returning bean from Axis." New topic
Author

Missing default constructor returning bean from Axis.

Kevin P Smith
Ranch Hand

Joined: Feb 18, 2005
Posts: 362
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:


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???