Type.registerNamespace('FcTelegraph.Ws');
FcTelegraph.Ws.WsFoto=function() {
FcTelegraph.Ws.WsFoto.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
FcTelegraph.Ws.WsFoto.prototype={
GetZufallsfoto:function(succeededCallback, failedCallback, userContext) {
return this._invoke(FcTelegraph.Ws.WsFoto.get_path(), 'GetZufallsfoto',false,{},succeededCallback,failedCallback,userContext); }}
FcTelegraph.Ws.WsFoto.registerClass('FcTelegraph.Ws.WsFoto',Sys.Net.WebServiceProxy);
FcTelegraph.Ws.WsFoto._staticInstance = new FcTelegraph.Ws.WsFoto();
FcTelegraph.Ws.WsFoto.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; FcTelegraph.Ws.WsFoto._staticInstance._path = value; }
FcTelegraph.Ws.WsFoto.get_path = function() { return FcTelegraph.Ws.WsFoto._staticInstance._path; }
FcTelegraph.Ws.WsFoto.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); }
FcTelegraph.Ws.WsFoto._staticInstance._timeout = value; }
FcTelegraph.Ws.WsFoto.get_timeout = function() { 
return FcTelegraph.Ws.WsFoto._staticInstance._timeout; }
FcTelegraph.Ws.WsFoto.set_defaultUserContext = function(value) { 
FcTelegraph.Ws.WsFoto._staticInstance._userContext = value; }
FcTelegraph.Ws.WsFoto.get_defaultUserContext = function() { 
return FcTelegraph.Ws.WsFoto._staticInstance._userContext; }
FcTelegraph.Ws.WsFoto.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; FcTelegraph.Ws.WsFoto._staticInstance._succeeded = value; }
FcTelegraph.Ws.WsFoto.get_defaultSucceededCallback = function() { 
return FcTelegraph.Ws.WsFoto._staticInstance._succeeded; }
FcTelegraph.Ws.WsFoto.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; FcTelegraph.Ws.WsFoto._staticInstance._failed = value; }
FcTelegraph.Ws.WsFoto.get_defaultFailedCallback = function() { 
return FcTelegraph.Ws.WsFoto._staticInstance._failed; }
FcTelegraph.Ws.WsFoto.set_path("/public/webservice/WsFoto.asmx");
FcTelegraph.Ws.WsFoto.GetZufallsfoto= function(onSuccess,onFailed,userContext) {FcTelegraph.Ws.WsFoto._staticInstance.GetZufallsfoto(onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(FotoItem) === 'undefined') {
var FotoItem=gtc("FotoItem");
FotoItem.registerClass('FotoItem');
}
