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