Exemplo n.º 1
0
 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));
     }
 }
Exemplo n.º 2
0
 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));
 }
Exemplo n.º 3
0
 public ServiceStack.Examples.Clients.Soap11ServiceReference.CustomerOrders GetNorthwindCustomerOrders(out ServiceStack.ServiceInterface.ServiceModel.ResponseStatus ResponseStatus, string CustomerId)
 {
     return(base.Channel.GetNorthwindCustomerOrders(out ResponseStatus, CustomerId));
 }
Exemplo n.º 4
0
 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));
 }