vlad romascanu
2018-04-18 23:10:10 UTC
Hello,
I'm migrating from Axis 1.4 to Axis2 1.7.7. I have observed that for
the following WSDL:
...
   <types>
       <schema elementFormDefault="qualified"
           targetNamespace="..."
           xmlns="http://www.w3.org/2001/XMLSchema">
...
           <complexType name="HostType">
            <sequence>
...
                   <element minOccurs="1" maxOccurs="1"
                       name="SSLEnabled" type="boolean" />
...
            </sequence>
         </complexType>
...
Axis 1.4's wsdl2java ANT task (output, testcase="false", serverside,
url, mapping options) generated:
   /**
    * Gets the SSLEnabled value for this HostType.
    *
    * @return SSLEnabled
    */
   public boolean isSSLEnabled() {
       return SSLEnabled;
   }
whereas Axis2 1.7.7's ANT task (output, testcase="false",
syncOnly="false", serverSide, wsdlfilename, generateServiceXml options)
now generates:
   /**
    * Auto generated getter method
    * @return boolean
    */
   public boolean getSSLEnabled() {
       return localSSLEnabled;
   }
Notice how the old isXXX() has become getXXX().
I couldn't find this addressed on this list or elsewhere.
Is this change expected behaviour, and is it controllable in any way?
Thanks,
V.
I'm migrating from Axis 1.4 to Axis2 1.7.7. I have observed that for
the following WSDL:
...
   <types>
       <schema elementFormDefault="qualified"
           targetNamespace="..."
           xmlns="http://www.w3.org/2001/XMLSchema">
...
           <complexType name="HostType">
            <sequence>
...
                   <element minOccurs="1" maxOccurs="1"
                       name="SSLEnabled" type="boolean" />
...
            </sequence>
         </complexType>
...
Axis 1.4's wsdl2java ANT task (output, testcase="false", serverside,
url, mapping options) generated:
   /**
    * Gets the SSLEnabled value for this HostType.
    *
    * @return SSLEnabled
    */
   public boolean isSSLEnabled() {
       return SSLEnabled;
   }
whereas Axis2 1.7.7's ANT task (output, testcase="false",
syncOnly="false", serverSide, wsdlfilename, generateServiceXml options)
now generates:
   /**
    * Auto generated getter method
    * @return boolean
    */
   public boolean getSSLEnabled() {
       return localSSLEnabled;
   }
Notice how the old isXXX() has become getXXX().
I couldn't find this addressed on this list or elsewhere.
Is this change expected behaviour, and is it controllable in any way?
Thanks,
V.