Bad constructor with derived classes that inherit xs:any members
----------------------------------------------------------------

         Key: AXIS-2236
         URL: http://issues.apache.org/jira/browse/AXIS-2236
     Project: Apache Axis
        Type: Bug
  Components: WSDL processing  
    Versions: current (nightly)    
    Reporter: Steve Green


w2j is generating constructors that take a parameter for all of the members, 
including super class members.  The generator constructor contains a call to 
"super" that passes inherited values to the super class constructor.  The 
generated constructor is not generating the proper parameter type for xs:any 
values.  The following is generated from the saml2 metadata xsd.

    public IndexedEndpointType(
           org.apache.axis.types.URI binding,
           org.apache.axis.types.URI location,
           org.apache.axis.types.URI responseLocation,
           org.w3.www._2001.XMLSchema.Any any,
           org.apache.axis.types.UnsignedShort index,
           boolean isDefault) {
        super(
            binding,
            location,
            responseLocation,
            any);
        this.index = index;
        this.isDefault = isDefault;
    }

I am working on a simplified wsdl.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to