Bug 112656 - Not having default constructor for bean does not allow WSDL generation
Summary: Not having default constructor for bean does not allow WSDL generation
Status: CLOSED DUPLICATE of bug 132905
Alias: None
Product: WTP Webservices
Classification: WebTools
Component: jst.ws (show other bugs)
Version: 0.7   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: jst.ws CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-14 12:39 EDT by Xavier Lopez CLA
Modified: 2006-11-28 15:49 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Xavier Lopez CLA 2005-10-14 12:39:24 EDT
If you create a Web Service which operations use beans, and you do not define 
default constructor for those beans, a "BEAN is referenced but not defined" 
error message appears and the WSDL is not generated. It took me hours to find 
out the problem was being cause by the absence of default constructors. If WTP 
needs the default constructors then the message should be improved, if it 
doesn't then the problem should not even occur!
Comment 1 Chris Brealey CLA 2006-05-05 17:12:25 EDT
Xavier, there are several requirements laid down by JAX-RPC (to which Axis complies) on service classes. Having a public default CTOR is one of them. I completely agree the tools should catch this sort of thing earlier in the process and provide a good message. We're working on a fix to this via bug 132905. Messages MSG_JAXRPC11_NOT_COMPLIANT and MSG_JAXRPC11_RULE_0001 in that bug apply to your case.

*** This bug has been marked as a duplicate of 132905 ***
Comment 2 John Lanuti CLA 2006-11-28 15:49:55 EST
This is part of a mass update to close out all stale WTP bugs which are in the resolved state without an appropriate targeted version.  If you feel this bug was closed inappropriately, please reopen.