You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Steve Green (JIRA)" <ax...@ws.apache.org> on 2005/09/26 22:29:47 UTC

[jira] Created: (AXIS-2236) Bad constructor with derived classes that inherit xs:any members

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


[jira] Resolved: (AXIS-2236) Bad constructor with derived classes that inherit xs:any members

Posted by "Davanum Srinivas (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS-2236?page=all ]
     
Davanum Srinivas resolved AXIS-2236:
------------------------------------

    Resolution: Fixed

Please try this ASAP and let me know.

thanks,
dims

> 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