var photo_news=function() {
photo_news.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
photo_news.prototype={
HelloWorld:function(succeededCallback, failedCallback, userContext) {
return this._invoke(photo_news.get_path(), 'HelloWorld',false,{},succeededCallback,failedCallback,userContext); },
get_picture_single:function(id,succeededCallback, failedCallback, userContext) {
return this._invoke(photo_news.get_path(), 'get_picture_single',false,{id:id},succeededCallback,failedCallback,userContext); },
get_picture:function(num,succeededCallback, failedCallback, userContext) {
return this._invoke(photo_news.get_path(), 'get_picture',false,{num:num},succeededCallback,failedCallback,userContext); },
get_picture_title:function(id,succeededCallback, failedCallback, userContext) {
return this._invoke(photo_news.get_path(), 'get_picture_title',false,{id:id},succeededCallback,failedCallback,userContext); }}
photo_news.registerClass('photo_news',Sys.Net.WebServiceProxy);
photo_news._staticInstance = new photo_news();
photo_news.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; photo_news._staticInstance._path = value; }
photo_news.get_path = function() { return photo_news._staticInstance._path; }
photo_news.set_timeout = function(value) { var e = Function._validateParams(arguments, [{name: 'timeout', type: Number}]); if (e) throw e; if (value < 0) { throw Error.argumentOutOfRange('value', value, Sys.Res.invalidTimeout); }
photo_news._staticInstance._timeout = value; }
photo_news.get_timeout = function() { 
return photo_news._staticInstance._timeout; }
photo_news.set_defaultUserContext = function(value) { 
photo_news._staticInstance._userContext = value; }
photo_news.get_defaultUserContext = function() { 
return photo_news._staticInstance._userContext; }
photo_news.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; photo_news._staticInstance._succeeded = value; }
photo_news.get_defaultSucceededCallback = function() { 
return photo_news._staticInstance._succeeded; }
photo_news.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; photo_news._staticInstance._failed = value; }
photo_news.get_defaultFailedCallback = function() { 
return photo_news._staticInstance._failed; }
photo_news.set_path("/ssd/photo_news.asmx");
photo_news.HelloWorld= function(onSuccess,onFailed,userContext) {photo_news._staticInstance.HelloWorld(onSuccess,onFailed,userContext); }
photo_news.get_picture_single= function(id,onSuccess,onFailed,userContext) {photo_news._staticInstance.get_picture_single(id,onSuccess,onFailed,userContext); }
photo_news.get_picture= function(num,onSuccess,onFailed,userContext) {photo_news._staticInstance.get_picture(num,onSuccess,onFailed,userContext); }
photo_news.get_picture_title= function(id,onSuccess,onFailed,userContext) {photo_news._staticInstance.get_picture_title(id,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(photo_item) === 'undefined') {
var photo_item=gtc("photo_item");
photo_item.registerClass('photo_item');
}
if (typeof(listitem) === 'undefined') {
var listitem=gtc("listitem");
listitem.registerClass('listitem');
}

