How to get the response value of List<JAXBElement extends Object>?

422 Views Asked by At

I am new in web service and I already get the soap response from web service but in List JAXBElement? it returns object not the value..here's the soap response i am using 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

There are 0 best solutions below