我正在使用wsdl Web服务。我在这里生成了代码。我想直接从myClass获取xml键值。在这里,我想获取 out_BIN_Data,out_Status和out_XML_Data 属性值。
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ApiResponse", namespace = "http://response.api", propOrder = {
"outBINData",
"outStatus",
"outXMLData"
})
public class ApiResponse {
@XmlElement(name = "out_BIN_Data", required = true, nillable = true)
protected String outBINData;
@XmlElement(name = "out_Status", required = true, nillable = true)
protected String outStatus;
@XmlElement(name = "out_XML_Data", required = true, nillable = true)
protected String outXMLData;
}
请帮助我