public override void EndElement(String localName) { if (localName.Equals(Constants.SERVICE_DESCRIPTOR_PROPERTY, StringComparison.OrdinalIgnoreCase)) { ProcessProperty(); } else if (localName.Equals(Constants.SERVICE_DESCRIPTOR_REQUEST, StringComparison.OrdinalIgnoreCase)) { serviceDescriptor.AddRequest(request); request = null; isRequest = false; } else if (localName.Equals(Constants.SERVICE_DESCRIPTOR_REQUEST_QUERY_PARAMETER, StringComparison.OrdinalIgnoreCase)) { request.AddQueryParameter(queryParameter); queryParameter = null; isQueryParameter = false; } else if (localName.Equals(Constants.SERVICE_DESCRIPTOR_REQUEST_HEADER_PARAMETER, StringComparison.OrdinalIgnoreCase)) { request.AddHeaderParameter(headerParameter); headerParameter = null; isHeaderParameter = false; } else if (localName.Equals(Constants.SERVICE_DESCRIPTOR_REQUEST_DATA_STREAM, StringComparison.OrdinalIgnoreCase)) { request.SetDataStream(tempValue.ToString()); } }