You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by Gary Timuss <gt...@innopath.com> on 2006/06/14 19:59:36 UTC

Serializing org.apache.log4j.Level for WSDL

I see that the org.apache.log4j.Priority class has a default constructor
to help de-serialize the class (e.g. when binding over web services).
However, its subclass Level does not, that causing Axis java2wsdl to
complain: 

- The class org.apache.log4j.Level does not contain a default
constructor, which is a requirement for a bean class.  The class cannot
be converted into an xml schema type.  An xml schema anyType will be
used to define this class in the wsdl file.

 

Should Level not also have a Level() { super() } default constructor?

 

-Gary