Type.registerNamespace('Forms');
Forms.FormsService=function() {
Forms.FormsService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Forms.FormsService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Forms.FormsService._staticInstance.get_path();},
RecordContactRequest:function(request,succeededCallback, failedCallback, userContext) {
/// <param name="request" type="Forms.ContactRequest">Forms.ContactRequest</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(), 'RecordContactRequest',false,{request:request},succeededCallback,failedCallback,userContext); },
SendToFriend:function(request,succeededCallback, failedCallback, userContext) {
/// <param name="request" type="Forms.SendToFriendRequest">Forms.SendToFriendRequest</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(), 'SendToFriend',false,{request:request},succeededCallback,failedCallback,userContext); },
RecordAddTalkback:function(request,succeededCallback, failedCallback, userContext) {
/// <param name="request" type="Forms.AddTalkbackRequest">Forms.AddTalkbackRequest</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(), 'RecordAddTalkback',false,{request:request},succeededCallback,failedCallback,userContext); }}
Forms.FormsService.registerClass('Forms.FormsService',Sys.Net.WebServiceProxy);
Forms.FormsService._staticInstance = new Forms.FormsService();
Forms.FormsService.set_path = function(value) {
Forms.FormsService._staticInstance.set_path(value); }
Forms.FormsService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return Forms.FormsService._staticInstance.get_path();}
Forms.FormsService.set_timeout = function(value) {
Forms.FormsService._staticInstance.set_timeout(value); }
Forms.FormsService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return Forms.FormsService._staticInstance.get_timeout(); }
Forms.FormsService.set_defaultUserContext = function(value) { 
Forms.FormsService._staticInstance.set_defaultUserContext(value); }
Forms.FormsService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return Forms.FormsService._staticInstance.get_defaultUserContext(); }
Forms.FormsService.set_defaultSucceededCallback = function(value) { 
 Forms.FormsService._staticInstance.set_defaultSucceededCallback(value); }
Forms.FormsService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return Forms.FormsService._staticInstance.get_defaultSucceededCallback(); }
Forms.FormsService.set_defaultFailedCallback = function(value) { 
Forms.FormsService._staticInstance.set_defaultFailedCallback(value); }
Forms.FormsService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return Forms.FormsService._staticInstance.get_defaultFailedCallback(); }
Forms.FormsService.set_path("/webservices/FormsService.asmx");
Forms.FormsService.RecordContactRequest= function(request,onSuccess,onFailed,userContext) {
/// <param name="request" type="Forms.ContactRequest">Forms.ContactRequest</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>
Forms.FormsService._staticInstance.RecordContactRequest(request,onSuccess,onFailed,userContext); }
Forms.FormsService.SendToFriend= function(request,onSuccess,onFailed,userContext) {
/// <param name="request" type="Forms.SendToFriendRequest">Forms.SendToFriendRequest</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>
Forms.FormsService._staticInstance.SendToFriend(request,onSuccess,onFailed,userContext); }
Forms.FormsService.RecordAddTalkback= function(request,onSuccess,onFailed,userContext) {
/// <param name="request" type="Forms.AddTalkbackRequest">Forms.AddTalkbackRequest</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>
Forms.FormsService._staticInstance.RecordAddTalkback(request,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(Forms.ContactRequest) === 'undefined') {
Forms.ContactRequest=gtc("Forms.ContactRequest");
Forms.ContactRequest.registerClass('Forms.ContactRequest');
}
if (typeof(Forms.SendToFriendRequest) === 'undefined') {
Forms.SendToFriendRequest=gtc("Forms.SendToFriendRequest");
Forms.SendToFriendRequest.registerClass('Forms.SendToFriendRequest');
}
if (typeof(Forms.AddTalkbackRequest) === 'undefined') {
Forms.AddTalkbackRequest=gtc("Forms.AddTalkbackRequest");
Forms.AddTalkbackRequest.registerClass('Forms.AddTalkbackRequest');
}

