Type.registerNamespace('GDF2.services');
GDF2.services.Cartelera=function() {
GDF2.services.Cartelera.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
GDF2.services.Cartelera.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return GDF2.services.Cartelera._staticInstance.get_path();},
getLocalidades:function(enlace,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getLocalidades',false,{enlace:enlace},succeededCallback,failedCallback,userContext); },
getCines:function(enlace,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getCines',false,{enlace:enlace},succeededCallback,failedCallback,userContext); },
SetPersCartLoc:function(locLink,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SetPersCartLoc',false,{locLink:locLink},succeededCallback,failedCallback,userContext); },
getPersCartLoc:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getPersCartLoc',false,{},succeededCallback,failedCallback,userContext); },
getCinesByLocName:function(enlace,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getCinesByLocName',false,{enlace:enlace},succeededCallback,failedCallback,userContext); },
getCinesByLocNameAndPel:function(enlace,idPel,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getCinesByLocNameAndPel',false,{enlace:enlace,idPel:idPel},succeededCallback,failedCallback,userContext); }}
GDF2.services.Cartelera.registerClass('GDF2.services.Cartelera',Sys.Net.WebServiceProxy);
GDF2.services.Cartelera._staticInstance = new GDF2.services.Cartelera();
GDF2.services.Cartelera.set_path = function(value) { GDF2.services.Cartelera._staticInstance.set_path(value); }
GDF2.services.Cartelera.get_path = function() { return GDF2.services.Cartelera._staticInstance.get_path(); }
GDF2.services.Cartelera.set_timeout = function(value) { GDF2.services.Cartelera._staticInstance.set_timeout(value); }
GDF2.services.Cartelera.get_timeout = function() { return GDF2.services.Cartelera._staticInstance.get_timeout(); }
GDF2.services.Cartelera.set_defaultUserContext = function(value) { GDF2.services.Cartelera._staticInstance.set_defaultUserContext(value); }
GDF2.services.Cartelera.get_defaultUserContext = function() { return GDF2.services.Cartelera._staticInstance.get_defaultUserContext(); }
GDF2.services.Cartelera.set_defaultSucceededCallback = function(value) { GDF2.services.Cartelera._staticInstance.set_defaultSucceededCallback(value); }
GDF2.services.Cartelera.get_defaultSucceededCallback = function() { return GDF2.services.Cartelera._staticInstance.get_defaultSucceededCallback(); }
GDF2.services.Cartelera.set_defaultFailedCallback = function(value) { GDF2.services.Cartelera._staticInstance.set_defaultFailedCallback(value); }
GDF2.services.Cartelera.get_defaultFailedCallback = function() { return GDF2.services.Cartelera._staticInstance.get_defaultFailedCallback(); }
GDF2.services.Cartelera.set_path("/services/Cartelera.asmx");
GDF2.services.Cartelera.getLocalidades= function(enlace,onSuccess,onFailed,userContext) {GDF2.services.Cartelera._staticInstance.getLocalidades(enlace,onSuccess,onFailed,userContext); }
GDF2.services.Cartelera.getCines= function(enlace,onSuccess,onFailed,userContext) {GDF2.services.Cartelera._staticInstance.getCines(enlace,onSuccess,onFailed,userContext); }
GDF2.services.Cartelera.SetPersCartLoc= function(locLink,onSuccess,onFailed,userContext) {GDF2.services.Cartelera._staticInstance.SetPersCartLoc(locLink,onSuccess,onFailed,userContext); }
GDF2.services.Cartelera.getPersCartLoc= function(onSuccess,onFailed,userContext) {GDF2.services.Cartelera._staticInstance.getPersCartLoc(onSuccess,onFailed,userContext); }
GDF2.services.Cartelera.getCinesByLocName= function(enlace,onSuccess,onFailed,userContext) {GDF2.services.Cartelera._staticInstance.getCinesByLocName(enlace,onSuccess,onFailed,userContext); }
GDF2.services.Cartelera.getCinesByLocNameAndPel= function(enlace,idPel,onSuccess,onFailed,userContext) {GDF2.services.Cartelera._staticInstance.getCinesByLocNameAndPel(enlace,idPel,onSuccess,onFailed,userContext); }
