0
我有这样一个类:爪哇 - JAX-WS的WebService(SOAP)
public class Foo {
private int id;
private Foo children;
//here default constructor and setter/getter for both (id and children)
}
和一个服务是这样的:
@WebMethod
public boolean setTree(Foo foo) {
//do something
}
当我导入具有的wsimport的类Foo礼物的WSDL只有int id属性的getter和setter。为什么Foo儿童财产不见了? ws导入是正确的(没有错误),并且服务调用正确结束... 注意:我的Foo类必须映射Foo对象的树(子项proprety将在List子级中更改)。
我的错误在哪里? 在此先感谢