// method to list a shipment public static ShipmentInfo Info(string apiUrl, string sessionId, object[] args) { IShipment proxy = (IShipment)XmlRpcProxyGen.Create(typeof(IShipment)); proxy.Url = apiUrl; return(proxy.Info(sessionId, _sales_order_shipment_info, args)); }