Type.registerNamespace('gPowered.CourseSelection.Web');
gPowered.CourseSelection.Web.Services=function() {
gPowered.CourseSelection.Web.Services.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
gPowered.CourseSelection.Web.Services.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return gPowered.CourseSelection.Web.Services._staticInstance.get_path();},
getProspectus:function(SubjectId,succeededCallback, failedCallback, userContext) {
/// <param name="SubjectId" 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(), 'getProspectus',false,{SubjectId:SubjectId},succeededCallback,failedCallback,userContext); },
searchProspectus:function(Query,succeededCallback, failedCallback, userContext) {
/// <param name="Query" 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(), 'searchProspectus',false,{Query:Query},succeededCallback,failedCallback,userContext); }}
gPowered.CourseSelection.Web.Services.registerClass('gPowered.CourseSelection.Web.Services',Sys.Net.WebServiceProxy);
gPowered.CourseSelection.Web.Services._staticInstance = new gPowered.CourseSelection.Web.Services();
gPowered.CourseSelection.Web.Services.set_path = function(value) {
gPowered.CourseSelection.Web.Services._staticInstance.set_path(value); }
gPowered.CourseSelection.Web.Services.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return gPowered.CourseSelection.Web.Services._staticInstance.get_path();}
gPowered.CourseSelection.Web.Services.set_timeout = function(value) {
gPowered.CourseSelection.Web.Services._staticInstance.set_timeout(value); }
gPowered.CourseSelection.Web.Services.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return gPowered.CourseSelection.Web.Services._staticInstance.get_timeout(); }
gPowered.CourseSelection.Web.Services.set_defaultUserContext = function(value) { 
gPowered.CourseSelection.Web.Services._staticInstance.set_defaultUserContext(value); }
gPowered.CourseSelection.Web.Services.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return gPowered.CourseSelection.Web.Services._staticInstance.get_defaultUserContext(); }
gPowered.CourseSelection.Web.Services.set_defaultSucceededCallback = function(value) { 
 gPowered.CourseSelection.Web.Services._staticInstance.set_defaultSucceededCallback(value); }
gPowered.CourseSelection.Web.Services.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return gPowered.CourseSelection.Web.Services._staticInstance.get_defaultSucceededCallback(); }
gPowered.CourseSelection.Web.Services.set_defaultFailedCallback = function(value) { 
gPowered.CourseSelection.Web.Services._staticInstance.set_defaultFailedCallback(value); }
gPowered.CourseSelection.Web.Services.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return gPowered.CourseSelection.Web.Services._staticInstance.get_defaultFailedCallback(); }
gPowered.CourseSelection.Web.Services.set_path("/Services.asmx");
gPowered.CourseSelection.Web.Services.getProspectus= function(SubjectId,onSuccess,onFailed,userContext) {
/// <param name="SubjectId" 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>
gPowered.CourseSelection.Web.Services._staticInstance.getProspectus(SubjectId,onSuccess,onFailed,userContext); }
gPowered.CourseSelection.Web.Services.searchProspectus= function(Query,onSuccess,onFailed,userContext) {
/// <param name="Query" 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>
gPowered.CourseSelection.Web.Services._staticInstance.searchProspectus(Query,onSuccess,onFailed,userContext); }
