axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Barrett <barre...@us.ibm.com>
Subject Axis2: Getting compile errors in 1.5 branch integration module
Date Fri, 16 Jan 2009 02:33:45 GMT
Hi Folks,

I'm trying to run the tests on the 1.5 branch and I'm getting compile 
errors in the integration module:

     [copy] Copying 1 file to 
C:\blddir\eclipse\axis2\axis2-apache-1_5\modules\integration\target\test-classes\modules
    [mkdir] Created dir: 
C:\blddir\eclipse\axis2\axis2-apache-1_5\modules\integration\target\wsdl
     [echo] Compiling ComplexDataTypes.wsdl
    [mkdir] Created dir: 
C:\blddir\eclipse\axis2\axis2-apache-1_5\modules\integration\target\wsdl\complexdatatype
     [java] Retrieving document at 
'test-resources/ComplexDataTypes/ComplexDataTypes.wsdl'.
    [javac] Compiling 98 source files to 
C:\blddir\eclipse\axis2\axis2-apache-1_5\modules\integration\target\classes
    [javac] 
C:\blddir\eclipse\axis2\axis2-apache-1_5\modules\integration\target\wsdl\complexdatatype\src\org\tempuri\complex\ComplexDataTypesComplexDataTypesHttpEndpointStub.java:7541:

cannot find symbol
    [javac] symbol  : method setInDecimal(java.math.BigDecimal)
    [javac] location: class org.tempuri.complex.RetDecimal
    [javac] wrappedType.setInDecimal(param1);
    [javac]                                                          ^
    [javac] 
C:\blddir\eclipse\axis2\axis2-apache-1_5\modules\integration\target\wsdl\complexdatatype\src\org\tempuri\complex\ComplexDataTypesComplexDataTypesHttpSoap11EndpointStub.java:7161:

cannot find symbol
    [javac] symbol  : method setInDecimal(java.math.BigDecimal)
    [javac] location: class org.tempuri.complex.RetDecimal
    [javac] wrappedType.setInDecimal(param1);
    [javac]                                                          ^
    [javac] 
C:\blddir\eclipse\axis2\axis2-apache-1_5\modules\integration\target\wsdl\complexdatatype\src\org\tempuri\complex\ComplexDataTypesComplexDataTypesHttpSoap12EndpointStub.java:7164:

cannot find symbol
    [javac] symbol  : method setInDecimal(java.math.BigDecimal)
    [javac] location: class org.tempuri.complex.RetDecimal
    [javac] wrappedType.setInDecimal(param1);
    [javac]                                                          ^

Looking at RetDecimal.java, the method is indeed not there.  It looks like 
the method is set_return(int) rather than setInDecimal(int):

                                    protected int local_return ;
 
                           /*  This tracker boolean wil be used to detect 
whether the user called the set method
                          *   for this attribute. It will be used to 
determine whether to include this field
                           *   in the serialized XML
                           */
                           protected boolean local_returnTracker = false ;
 

                           /**
                           * Auto generated getter method
                           * @return int
                           */
                           public  int get_return(){
                               return local_return;
                           }
 
 
                            /**
                               * Auto generated setter method
                               * @param param _return
                               */
                               public void set_return(int param){
 
I looked at a few other classes and they have the expected getters and 
setters.  For example, RetChar has a setInChar and related attribute name:
                        /**
                        * field for InChar
                        */

 
                                    protected int localInChar ;
 
                           /*  This tracker boolean wil be used to detect 
whether the user called the set method
                          *   for this attribute. It will be used to 
determine whether to include this field
                           *   in the serialized XML
                           */
                           protected boolean localInCharTracker = false ;
 

                           /**
                           * Auto generated getter method
                           * @return int
                           */
                           public  int getInChar(){
                               return localInChar;
                           }

 
 
                            /**
                               * Auto generated setter method
                               * @param param InChar
                               */
                               public void setInChar(int param){


I'm building from a fresh checkout of 1.5 and removed the repository 
before building.  Any help or suggestions would be MUCH appreciated.

Thanks in advance,
Jeff

IBM Software Group - WebSphere Web Services Development
Phone: (512) 286-5256 or TieLine: 363-5256
Internet e-mail and Sametime ID: barrettj@us.ibm.com

Mime
View raw message