如何获取List <jaxbelement extends =“”object =“”>的响应值?

时间:2017-12-27 06:05:56

标签: java web-services jaxb soap-client jaxbelement

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

enter image description here

@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;
}

0 个答案:

没有答案
相关问题