public bool GetSchema(string ServiceName, OELongchar JsonServiceParameter, out OELongchar JsonSchema) { JsonSchema = new OELongchar(); var post = new OpenEdgePostContent(); post.AddContent("MethodName", "GetSchema"); post.AddContent("ServiceName", ServiceName); post.AddContent("OpenEdgeServiceParameter", JsonServiceParameter.Data); var response = HttpRequest(post.GetJson()); JsonSchema.Data = response; return(true); }
public bool ClientEvent(string ServiceName, OELongchar JsonServiceParameter, OELongchar JsonDataRequest, out OELongchar JsonDataResponse) { JsonDataResponse = new OELongchar(); var post = new OpenEdgePostContent(); post.AddContent("MethodName", "ClientEvent"); post.AddContent("ServiceName", ServiceName); post.AddContent("OpenEdgeServiceParameter", JsonServiceParameter.Data); post.AddContent("OpenEdgeDataRequest", JsonDataRequest.Data); var response = HttpRequest(post.GetJson()); JsonDataResponse.Data = response; return(true); }