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의 클래스 푸 선물 WSDL을 가져 오면 int id 속성의 getter 및 setter. 왜 Foo 아이들의 자산이 누락 되었습니까? ws 가져 오기가 정확하고 (오류 없음) 서비스 호출이 올바르게 종료됩니다. 참고 : my Foo 클래스는 Foo 객체의 트리를 매핑해야합니다 (자식 속성은 List 자식에서 변경됩니다).
어디에서 오류가 있습니까? 미리 감사드립니다.