/** * Executes this request. * * @return Service response. * @throws Exception the exception */ protected GetPhoneCallResponse execute() throws Exception { GetPhoneCallResponse serviceResponse = (GetPhoneCallResponse) this.internalExecute(); serviceResponse.throwIfNecessary(); return serviceResponse; }
/** * Parses the response. * * @param reader the reader * @return Response object. * @throws Exception the exception */ @Override protected Object parseResponse(EwsServiceXmlReader reader) throws Exception { GetPhoneCallResponse response = new GetPhoneCallResponse(getService()); response.loadFromXml(reader, XmlElementNames.GetPhoneCallResponse); return response; }