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

