【发布时间】:2012-11-20 13:58:23
【问题描述】:
我有一颗豆子
@XmlRootElement(name = "alpha")
public class MyBean {
private String thetaValue;
@XmlPath("beta/theta/text()")
public String getThetaValue() {
return this.thetaValue;
}
public void setThetaValue(String thetaValue) {
this.thetaValue = thetaValue;
}
}
这是使用 eclipselink moxy jaxb 注释的。我想使用相同的 bean 和 Xpath 来托管 Web 服务。我该怎么做呢? Web 服务将托管在 Tomcat 6 或 7 上
【问题讨论】:
标签: java web-services jakarta-ee jax-ws moxy