var BookSender=function() {
BookSender.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
BookSender.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return BookSender._staticInstance.get_path();},
Send:function(name,subject,message,email,succeededCallback, failedCallback, userContext) {
/// <param name="name" type="String">System.String</param>
/// <param name="subject" type="String">System.String</param>
/// <param name="message" type="String">System.String</param>
/// <param name="email" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'Send',false,{name:name,subject:subject,message:message,email:email},succeededCallback,failedCallback,userContext); }}
BookSender.registerClass('BookSender',Sys.Net.WebServiceProxy);
BookSender._staticInstance = new BookSender();
BookSender.set_path = function(value) {
BookSender._staticInstance.set_path(value); }
BookSender.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return BookSender._staticInstance.get_path();}
BookSender.set_timeout = function(value) {
BookSender._staticInstance.set_timeout(value); }
BookSender.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return BookSender._staticInstance.get_timeout(); }
BookSender.set_defaultUserContext = function(value) { 
BookSender._staticInstance.set_defaultUserContext(value); }
BookSender.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return BookSender._staticInstance.get_defaultUserContext(); }
BookSender.set_defaultSucceededCallback = function(value) { 
 BookSender._staticInstance.set_defaultSucceededCallback(value); }
BookSender.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return BookSender._staticInstance.get_defaultSucceededCallback(); }
BookSender.set_defaultFailedCallback = function(value) { 
BookSender._staticInstance.set_defaultFailedCallback(value); }
BookSender.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return BookSender._staticInstance.get_defaultFailedCallback(); }
BookSender.set_path("/BookSender.asmx");
BookSender.Send= function(name,subject,message,email,onSuccess,onFailed,userContext) {
/// <param name="name" type="String">System.String</param>
/// <param name="subject" type="String">System.String</param>
/// <param name="message" type="String">System.String</param>
/// <param name="email" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
BookSender._staticInstance.Send(name,subject,message,email,onSuccess,onFailed,userContext); }

