Bug in WSDL generation?
Here is the problem. I deploy a POJO and when AXIS2 (using nightly build 2007/07/25) automatically generated WSDL via ?wsdl it produces a WSDL file the includes the following: xs:complexType name=CONVERTTEMPInput xs:sequence xs:element minOccurs=0 name=tEMPIN nillable=true type=xs:string/ xs:element minOccurs=0 name=tEMPOUT nillable=true type=xs:string/ /xs:sequence /xs:complexType xs:complexType name=CONVERTTEMPResult xs:sequence xs:element minOccurs=0 name=tEMPIN nillable=true type=xs:string/ xs:element minOccurs=0 name=tEMPOUT nillable=true type=xs:string/ /xs:sequence /xs:complexType The problem is with the element names. It seems that AXIS2 is lowercasing the t in TEMPIN and TEMPOUT, which makes the service unusable. The CONVERTTEMPInput class is as follows: public class CONVERTTEMPInput implements Serializable { private static final long serialVersionUID = -884605419035002637L; public CONVERTTEMPInput() { } public void setTEMPIN( String TEMPIN ) { _TEMPIN = TEMPIN; } public String getTEMPIN( ) { return _TEMPIN; } public void setTEMPOUT( String TEMPOUT ) { _TEMPOUT = TEMPOUT; } public String getTEMPOUT( ) { return _TEMPOUT; } private String _TEMPIN = ; private String _TEMPOUT = ; } If I add an underscore prior to TEMPIN and TEMPOUT in the methods, things start to work. Is this a bug? Nadir K. Amra - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Bug in WSDL generation?
Jira please! thanks, dims On 7/25/07, Nadir Amra [EMAIL PROTECTED] wrote: Here is the problem. I deploy a POJO and when AXIS2 (using nightly build 2007/07/25) automatically generated WSDL via ?wsdl it produces a WSDL file the includes the following: xs:complexType name=CONVERTTEMPInput xs:sequence xs:element minOccurs=0 name=tEMPIN nillable=true type=xs:string/ xs:element minOccurs=0 name=tEMPOUT nillable=true type=xs:string/ /xs:sequence /xs:complexType xs:complexType name=CONVERTTEMPResult xs:sequence xs:element minOccurs=0 name=tEMPIN nillable=true type=xs:string/ xs:element minOccurs=0 name=tEMPOUT nillable=true type=xs:string/ /xs:sequence /xs:complexType The problem is with the element names. It seems that AXIS2 is lowercasing the t in TEMPIN and TEMPOUT, which makes the service unusable. The CONVERTTEMPInput class is as follows: public class CONVERTTEMPInput implements Serializable { private static final long serialVersionUID = -884605419035002637L; public CONVERTTEMPInput() { } public void setTEMPIN( String TEMPIN ) { _TEMPIN = TEMPIN; } public String getTEMPIN( ) { return _TEMPIN; } public void setTEMPOUT( String TEMPOUT ) { _TEMPOUT = TEMPOUT; } public String getTEMPOUT( ) { return _TEMPOUT; } private String _TEMPIN = ; private String _TEMPOUT = ; } If I add an underscore prior to TEMPIN and TEMPOUT in the methods, things start to work. Is this a bug? Nadir K. Amra - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Davanum Srinivas :: http://davanum.wordpress.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 20107] - WSDL generation incomplete/incorrect on services with java:MSG provider
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=20107. 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=20107 WSDL generation incomplete/incorrect on services with java:MSG provider [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Additional Comments From [EMAIL PROTECTED] 2003-07-09 19:15 --- Closing Bug. Verified that this works fine. Please reopen if you still see problems. thanks, dims
DO NOT REPLY [Bug 17655] - WSDL generation is broken for DataTypesService
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=17655. 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=17655 WSDL generation is broken for DataTypesService [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Additional Comments From [EMAIL PROTECTED] 2003-03-06 04:42 --- Fixed.
DO NOT REPLY [Bug 17655] - WSDL generation is broken for DataTypesService
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=17655. 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=17655 WSDL generation is broken for DataTypesService --- Additional Comments From [EMAIL PROTECTED] 2003-03-05 03:04 --- Oh, sorry, the code in question is JavaBeanHelperWriter:276-286