最后,我在我的应用程序中发现我的错误,即我的请求和响应pojo不正确。
我的回应是这样的
@XmlAccessorType(XmlAccessType.FIELD)@XmlRootElement(name = "CardUpdateResponse",namespace="http://www.corecard.com/Prepaid")public class FVCardUpdateResponse { @XmlElement(name="CARDUPDATE_RET", namespace="http://www.corecard.com/Prepaid") private CARDUPDATE_RET response; //Getters and setters public static class CARDUPDATE_RET{ @XmlElement(name = "ACCOUNTNUMBER", namespace="http://www.corecard.com/Prepaid") private String AccountNumber; @XmlElement(name = "ResCode", namespace="http://www.corecard.com/Prepaid") private String ResCode; @XmlElement(name = "ResErrorCode", namespace="http://www.corecard.com/Prepaid") private String ResErrorCode; @XmlElement(name = "ResErrorMsg", namespace="http://www.corecard.com/Prepaid") private String ResErrorMsg; //Getters and Setters }}


