Exemplo n.º 1
0
        // method to create a customer address
        public static string Create(string apiUrl, string sessionId, CustomerAddress customer)
        {
            ICustomerAddress proxyCustomer = (ICustomerAddress)XmlRpcProxyGen.Create(typeof(ICustomerAddress));

            proxyCustomer.Url = apiUrl;

            return(proxyCustomer.Create(sessionId, _customer_create, new object[] { customer }));
        }