0

我是 Web 服务的新手,我已经从 Web 服务获得了肥皂响应,但是在 List JAXBElement 中?它返回对象而不是值..这是我正在使用 java 的肥皂响应

在此处输入图像描述

@XmlElementRef(name = "AdditionalStatus", namespace = "urn:ifxforum-org:XSD:1", type = JAXBElement.class, required = false)
protected List<JAXBElement<? extends org.ifxforum.xsd._1.AdditionalStatusType>> additionalStatus;



public class AdditionalStatusType {

@XmlElement(name = "StatusCode")
protected Long statusCode;
@XmlElement(name = "ServerStatusCode")
protected String serverStatusCode;
@XmlElement(name = "Severity", required = true)
@XmlSchemaType(name = "string")
protected SeverityType severity;
@XmlElement(name = "StatusDesc")
protected String statusDesc;
}
4

0 回答 0