var Service_Section=function() {
Service_Section.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Service_Section.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Service_Section._staticInstance.get_path();},
getSection:function(sec_id,succeededCallback, failedCallback, userContext) {
/// <param name="sec_id" 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(), 'getSection',false,{sec_id:sec_id},succeededCallback,failedCallback,userContext); },
getSection_pdf:function(sec_id,succeededCallback, failedCallback, userContext) {
/// <param name="sec_id" 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(), 'getSection_pdf',false,{sec_id:sec_id},succeededCallback,failedCallback,userContext); },
getSection_mobileLink:function(issue_id,vn_number,vn_title,sec_Id,succeededCallback, failedCallback, userContext) {
/// <param name="issue_id" type="String">System.String</param>
/// <param name="vn_number" type="String">System.String</param>
/// <param name="vn_title" type="String">System.String</param>
/// <param name="sec_Id" 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(), 'getSection_mobileLink',false,{issue_id:issue_id,vn_number:vn_number,vn_title:vn_title,sec_Id:sec_Id},succeededCallback,failedCallback,userContext); },
getSection_RSSLink:function(issue_id,vn_number,vn_title,sec_Id,succeededCallback, failedCallback, userContext) {
/// <param name="issue_id" type="String">System.String</param>
/// <param name="vn_number" type="String">System.String</param>
/// <param name="vn_title" type="String">System.String</param>
/// <param name="sec_Id" 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(), 'getSection_RSSLink',false,{issue_id:issue_id,vn_number:vn_number,vn_title:vn_title,sec_Id:sec_Id},succeededCallback,failedCallback,userContext); }}
Service_Section.registerClass('Service_Section',Sys.Net.WebServiceProxy);
Service_Section._staticInstance = new Service_Section();
Service_Section.set_path = function(value) {
Service_Section._staticInstance.set_path(value); }
Service_Section.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return Service_Section._staticInstance.get_path();}
Service_Section.set_timeout = function(value) {
Service_Section._staticInstance.set_timeout(value); }
Service_Section.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return Service_Section._staticInstance.get_timeout(); }
Service_Section.set_defaultUserContext = function(value) { 
Service_Section._staticInstance.set_defaultUserContext(value); }
Service_Section.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return Service_Section._staticInstance.get_defaultUserContext(); }
Service_Section.set_defaultSucceededCallback = function(value) { 
 Service_Section._staticInstance.set_defaultSucceededCallback(value); }
Service_Section.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return Service_Section._staticInstance.get_defaultSucceededCallback(); }
Service_Section.set_defaultFailedCallback = function(value) { 
Service_Section._staticInstance.set_defaultFailedCallback(value); }
Service_Section.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return Service_Section._staticInstance.get_defaultFailedCallback(); }
Service_Section.set_enableJsonp = function(value) { Service_Section._staticInstance.set_enableJsonp(value); }
Service_Section.get_enableJsonp = function() { 
/// <value type="Boolean">Specifies whether the service supports JSONP for cross domain calling.</value>
return Service_Section._staticInstance.get_enableJsonp(); }
Service_Section.set_jsonpCallbackParameter = function(value) { Service_Section._staticInstance.set_jsonpCallbackParameter(value); }
Service_Section.get_jsonpCallbackParameter = function() { 
/// <value type="String">Specifies the parameter name that contains the callback function name for a JSONP request.</value>
return Service_Section._staticInstance.get_jsonpCallbackParameter(); }
Service_Section.set_path("http://www.asre-iranian.ir/WCF/Service_Section.svc");
Service_Section.getSection= function(sec_id,onSuccess,onFailed,userContext) {
/// <param name="sec_id" 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>
Service_Section._staticInstance.getSection(sec_id,onSuccess,onFailed,userContext); }
Service_Section.getSection_pdf= function(sec_id,onSuccess,onFailed,userContext) {
/// <param name="sec_id" 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>
Service_Section._staticInstance.getSection_pdf(sec_id,onSuccess,onFailed,userContext); }
Service_Section.getSection_mobileLink= function(issue_id,vn_number,vn_title,sec_Id,onSuccess,onFailed,userContext) {
/// <param name="issue_id" type="String">System.String</param>
/// <param name="vn_number" type="String">System.String</param>
/// <param name="vn_title" type="String">System.String</param>
/// <param name="sec_Id" 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>
Service_Section._staticInstance.getSection_mobileLink(issue_id,vn_number,vn_title,sec_Id,onSuccess,onFailed,userContext); }
Service_Section.getSection_RSSLink= function(issue_id,vn_number,vn_title,sec_Id,onSuccess,onFailed,userContext) {
/// <param name="issue_id" type="String">System.String</param>
/// <param name="vn_number" type="String">System.String</param>
/// <param name="vn_title" type="String">System.String</param>
/// <param name="sec_Id" 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>
Service_Section._staticInstance.getSection_RSSLink(issue_id,vn_number,vn_title,sec_Id,onSuccess,onFailed,userContext); }

