Community
Participate
Working Groups
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!
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 ***
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.