コード例 #1
0
 /**
  * Executes this request.
  *
  * @return Service response.
  * @throws Exception the exception
  */
 protected GetPhoneCallResponse execute() throws Exception {
   GetPhoneCallResponse serviceResponse = (GetPhoneCallResponse) this.internalExecute();
   serviceResponse.throwIfNecessary();
   return serviceResponse;
 }
コード例 #2
0
 /**
  * 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;
 }