// method to get a list of allowed carriers for this shipment public static XmlRpcStruct GetCarriers(string apiUrl, string sessionId, object[] args) { IShipment proxy = (IShipment)XmlRpcProxyGen.Create(typeof(IShipment)); proxy.Url = apiUrl; return(proxy.GetCarriers(sessionId, _sales_order_shipment_getCarriers, args)); }