|
|
|
Last line of previous comment should read:
In case BeanD[] does not appear in any of the method prototypes of the ws, ... I had the exact same issue.
As far as I can tell the problem is in org.codehaus.xfire.aegis.type.basic.BeanType getDependencies method. The if statement that's suppose to add the dependencies should have info.getTypeClass() instead of info.getClass(). I attached here a patch for this. In my tests everything is working fine now. Thanks to both of you! This is fixed in SVN now.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||
public class BeanA
{
private String m_propA;
public String getPropA() { return m_propA; }
public void setPropA(String propA) { m_propA = propA; }
}
public class BeanB extends BeanA
{
private String m_propB;
public String getPropB() { return m_propB; }
public void setPropB(String propB) { m_propB = propB; }
}
public class BeanC extends BeanB
{
<...>
private BeanD[] m_tabC;
<...>
public BeanD getPropC() { return m_tabC; }
public void setTabC(BeanD[] tabC) { m_tabC = tabC; }
}
In case BeanD does not appear in any of the method prototypes of the ws, the complexType named ArrayOfBeanD will not be defined in the generated wsdl.