DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21817>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21817 Java2WSDL creates elements for read only bean properties Summary: Java2WSDL creates elements for read only bean properties Product: Axis Version: 1.1 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: WSDL processing AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I generated WSDL with some beans that had read only properties The type information contained elements for all properties. Try generating WSDL for the class below. The Corresponding entry in the types element should have one subelement for "thing". You'll get elements for "thing" and "something". I browsed through the code and it looks like the BeanSerializer fails to check if a property is writable when it generates the schema and when it serializes. public class MyBean { private String thing; public MyBean(){} public abstract String getSomething(); public String getThing() { return thing; } public void setThing(String s) { thing=s; } }
