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