[jbossws-issues] [JBoss JIRA] Created: (JBWS-1505) Methods defined in an interface superclass don't appear in WSDL.

Iaacov Rosenberg (JIRA) jira-events at jboss.com
Mon Feb 5 18:40:20 EST 2007


Methods defined in an interface superclass don't appear in WSDL.
----------------------------------------------------------------

                 Key: JBWS-1505
                 URL: http://jira.jboss.com/jira/browse/JBWS-1505
             Project: JBoss Web Services
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: jbossws-1.0.4
         Environment: JBoss 4.0.5 GA, JRE 1.5.0_10, WinXP
            Reporter: Iaacov Rosenberg


Given the following scenario:

public interface Intf1 {
  public int getMember1();
  public void setMember1(int member1);
}

public interface Intf2 extends Intf1 {
  public int getMember2();
  public void setMember2(int member2);
}

Whenever JBossWS uses reflection, either when generating the WSDL file or when returning values that implement Intf2, only members defined in Intf2 (i.e. Member2) are processed, while ignoring inherited members.
This only happens with interfaces. Inherited classes are processed correctly.

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

        



More information about the jbossws-issues mailing list