// method to list shipments public static Shipment[] List(string apiUrl, string sessionId, object[] args) { IShipment proxy = (IShipment)XmlRpcProxyGen.Create(typeof(IShipment)); proxy.Url = apiUrl; return(proxy.List(sessionId, _sales_order_shipment_list, args)); }