ReadSoapBody method

Future<AutodiscoverResponse> ReadSoapBody(
  1. EwsXmlReader reader
)
Read SOAP body. EwsXmlReader

Implementation

Future<AutodiscoverResponse> ReadSoapBody(EwsXmlReader reader) async {
  await reader.ReadStartElementWithNamespace(
      XmlNamespace.Soap, XmlElementNames.SOAPBodyElementName);
  AutodiscoverResponse responses = await this.LoadFromXml(reader);
  await reader.ReadEndElementWithNamespace(
      XmlNamespace.Soap, XmlElementNames.SOAPBodyElementName);
  return responses;
}