public GetTermsOfServiceContentRequestFactory() { request = new getTermsOfServiceContentRequest() { requestHeader = CreateRequestHeader() }; }
private String GetTermsOfServiceContentMethod() { GetTermsOfServiceContentClientService client = new GetTermsOfServiceContentClientService(); getTermsOfServiceContentResponse response = null; getTermsOfServiceContentRequest request = null; GetTermsOfServiceContentRequestFactory factory = new GetTermsOfServiceContentRequestFactory(); try { request = factory.Build(); response = client.OptionalRequest(MySession.Current.requestFilter, request); return(response.termsOfServiceHtmlContentTR); } catch (Exception ex) { ShowMessage(ex.Message); return(null); } }