var haberservice=function() {
haberservice.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
haberservice.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return haberservice._staticInstance.get_path();},
getVizyonYorumlari:function(pageid,vizyonid,PageStatus,succeededCallback, failedCallback, userContext) {
/// <param name="pageid" type="Number">System.Int32</param>
/// <param name="vizyonid" type="Number">System.Int32</param>
/// <param name="PageStatus" type="PageAttribute">PageAttribute</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(), 'getVizyonYorumlari',false,{pageid:pageid,vizyonid:vizyonid,PageStatus:PageStatus},succeededCallback,failedCallback,userContext); },
getDosyaMakaleYorumlari:function(pageid,makaleid,PageStatus,succeededCallback, failedCallback, userContext) {
/// <param name="pageid" type="Number">System.Int32</param>
/// <param name="makaleid" type="Number">System.Int32</param>
/// <param name="PageStatus" type="PageAttribute">PageAttribute</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(), 'getDosyaMakaleYorumlari',false,{pageid:pageid,makaleid:makaleid,PageStatus:PageStatus},succeededCallback,failedCallback,userContext); },
getHaberlers:function(pageid,PageStatus,succeededCallback, failedCallback, userContext) {
/// <param name="pageid" type="Number">System.Int32</param>
/// <param name="PageStatus" type="PageAttribute">PageAttribute</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(), 'getHaberlers',false,{pageid:pageid,PageStatus:PageStatus},succeededCallback,failedCallback,userContext); },
getDosyalar:function(pageid,PageStatus,succeededCallback, failedCallback, userContext) {
/// <param name="pageid" type="Number">System.Int32</param>
/// <param name="PageStatus" type="PageAttribute">PageAttribute</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(), 'getDosyalar',false,{pageid:pageid,PageStatus:PageStatus},succeededCallback,failedCallback,userContext); },
sendFriend:function(emails,senderName,senderEmail,url,not,succeededCallback, failedCallback, userContext) {
/// <param name="emails" type="String">System.String</param>
/// <param name="senderName" type="String">System.String</param>
/// <param name="senderEmail" type="String">System.String</param>
/// <param name="url" type="String">System.String</param>
/// <param name="not" 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(), 'sendFriend',false,{emails:emails,senderName:senderName,senderEmail:senderEmail,url:url,not:not},succeededCallback,failedCallback,userContext); }}
haberservice.registerClass('haberservice',Sys.Net.WebServiceProxy);
haberservice._staticInstance = new haberservice();
haberservice.set_path = function(value) {
haberservice._staticInstance.set_path(value); }
haberservice.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return haberservice._staticInstance.get_path();}
haberservice.set_timeout = function(value) {
haberservice._staticInstance.set_timeout(value); }
haberservice.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return haberservice._staticInstance.get_timeout(); }
haberservice.set_defaultUserContext = function(value) { 
haberservice._staticInstance.set_defaultUserContext(value); }
haberservice.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return haberservice._staticInstance.get_defaultUserContext(); }
haberservice.set_defaultSucceededCallback = function(value) { 
 haberservice._staticInstance.set_defaultSucceededCallback(value); }
haberservice.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return haberservice._staticInstance.get_defaultSucceededCallback(); }
haberservice.set_defaultFailedCallback = function(value) { 
haberservice._staticInstance.set_defaultFailedCallback(value); }
haberservice.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return haberservice._staticInstance.get_defaultFailedCallback(); }
haberservice.set_path("/haberservice.svc");
haberservice.getVizyonYorumlari= function(pageid,vizyonid,PageStatus,onSuccess,onFailed,userContext) {
/// <param name="pageid" type="Number">System.Int32</param>
/// <param name="vizyonid" type="Number">System.Int32</param>
/// <param name="PageStatus" type="PageAttribute">PageAttribute</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>
haberservice._staticInstance.getVizyonYorumlari(pageid,vizyonid,PageStatus,onSuccess,onFailed,userContext); }
haberservice.getDosyaMakaleYorumlari= function(pageid,makaleid,PageStatus,onSuccess,onFailed,userContext) {
/// <param name="pageid" type="Number">System.Int32</param>
/// <param name="makaleid" type="Number">System.Int32</param>
/// <param name="PageStatus" type="PageAttribute">PageAttribute</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>
haberservice._staticInstance.getDosyaMakaleYorumlari(pageid,makaleid,PageStatus,onSuccess,onFailed,userContext); }
haberservice.getHaberlers= function(pageid,PageStatus,onSuccess,onFailed,userContext) {
/// <param name="pageid" type="Number">System.Int32</param>
/// <param name="PageStatus" type="PageAttribute">PageAttribute</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>
haberservice._staticInstance.getHaberlers(pageid,PageStatus,onSuccess,onFailed,userContext); }
haberservice.getDosyalar= function(pageid,PageStatus,onSuccess,onFailed,userContext) {
/// <param name="pageid" type="Number">System.Int32</param>
/// <param name="PageStatus" type="PageAttribute">PageAttribute</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>
haberservice._staticInstance.getDosyalar(pageid,PageStatus,onSuccess,onFailed,userContext); }
haberservice.sendFriend= function(emails,senderName,senderEmail,url,not,onSuccess,onFailed,userContext) {
/// <param name="emails" type="String">System.String</param>
/// <param name="senderName" type="String">System.String</param>
/// <param name="senderEmail" type="String">System.String</param>
/// <param name="url" type="String">System.String</param>
/// <param name="not" 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>
haberservice._staticInstance.sendFriend(emails,senderName,senderEmail,url,not,onSuccess,onFailed,userContext); }
if (typeof(PageAttribute) === 'undefined') {
PageAttribute = function() { throw Error.invalidOperation(); }
PageAttribute.prototype = {NORMAL: 0,ONCEKI: 1,SONRAKI: 2}
PageAttribute.registerEnum('PageAttribute', true);
}

