function SendSample4b() { var u = new Object(); u.Id = 5271; u.Username = "Guest1"; u.Password = "GuestP@ss!"; u.ExpirationDate = new Date(); u.ExpirationDate.setMonth(u.ExpirationDate.getMonth() + 1); var pl = new SOAPClientParameters(); pl.add("user", u); SOAPClient.invoke(url, "SendSample4", pl, true, SendSamples_callBack); }