public static void CheckResponseStatus(ServiceStack.ServiceInterface.ServiceModel.ResponseStatus status) { if (status.ErrorCode != "200" && status.ErrorCode != "204") { throw new Exception(String.Format("{0}: {1}\n{2}", status.ErrorCode, status.Message, status.StackTrace)); } }
public ServiceStack.Examples.Clients.Soap11ServiceReference.Movie[] Movies(out ServiceStack.ServiceInterface.ServiceModel.ResponseStatus ResponseStatus, string Id, ServiceStack.Examples.Clients.Soap11ServiceReference.Movie Movie) { return(base.Channel.Movies(out ResponseStatus, Id, Movie)); }
public ServiceStack.Examples.Clients.Soap11ServiceReference.CustomerOrders GetNorthwindCustomerOrders(out ServiceStack.ServiceInterface.ServiceModel.ResponseStatus ResponseStatus, string CustomerId) { return(base.Channel.GetNorthwindCustomerOrders(out ResponseStatus, CustomerId)); }
public System.DateTime GetNorthwindCustomerOrdersCached(out ServiceStack.Examples.Clients.Soap11ServiceReference.CustomerOrders CustomerOrders, out ServiceStack.ServiceInterface.ServiceModel.ResponseStatus ResponseStatus, string CustomerId, bool RefreshCache) { return(base.Channel.GetNorthwindCustomerOrdersCached(out CustomerOrders, out ResponseStatus, CustomerId, RefreshCache)); }