axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From limCH <lim...@m1.com.sg>
Subject Axis 1.4 Java Attribute is change to lower case in WSDL
Date Tue, 19 Aug 2008 04:16:28 GMT

I have a java class as following:

public class WebServiceResult  implements java.io.Serializable {
    public java.lang.String ErrorCode = "";

    public java.lang.String ErrorMessages = "";

    public WebServiceResult() {
    }

    public WebServiceResult(
           java.lang.String ErrorCode,
           java.lang.String ErrorMessages) {
           this.ErrorCode = ErrorCode;
           this.ErrorMessages = ErrorMessages;
    }
}

But when publish using Axis 1.4, the wsdl generated is using errorCode
instead of ErrorCode for the Element name. I need the element name to be in
"ErrorCode" and "ErrorMessages" since we are sharing the wsdl with others
and shouldn't change. Can anyone tell how to resolve this problem ? 
-- 
View this message in context: http://www.nabble.com/Axis-1.4-Java-Attribute-is-change-to-lower-case-in-WSDL-tp19044111p19044111.html
Sent from the Axis - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message