我是Web服务的新手,我已经从Web服务获得了soap响应但是在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;
}