Type.registerNamespace('CBC.Radio3.Publishing.WebServices');
CBC.Radio3.Publishing.WebServices.PublisherWebService=function() {
CBC.Radio3.Publishing.WebServices.PublisherWebService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
CBC.Radio3.Publishing.WebServices.PublisherWebService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return CBC.Radio3.Publishing.WebServices.PublisherWebService._staticInstance.get_path();},
PublishTrackAndPlaylist:function(trackPermalink,playlistPermalink,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'PublishTrackAndPlaylist',false,{trackPermalink:trackPermalink,playlistPermalink:playlistPermalink},succeededCallback,failedCallback,userContext); },
PublishBecameFanOfArtist:function(artistPermalink,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'PublishBecameFanOfArtist',false,{artistPermalink:artistPermalink},succeededCallback,failedCallback,userContext); }}
CBC.Radio3.Publishing.WebServices.PublisherWebService.registerClass('CBC.Radio3.Publishing.WebServices.PublisherWebService',Sys.Net.WebServiceProxy);
CBC.Radio3.Publishing.WebServices.PublisherWebService._staticInstance = new CBC.Radio3.Publishing.WebServices.PublisherWebService();
CBC.Radio3.Publishing.WebServices.PublisherWebService.set_path = function(value) { CBC.Radio3.Publishing.WebServices.PublisherWebService._staticInstance.set_path(value); }
CBC.Radio3.Publishing.WebServices.PublisherWebService.get_path = function() { return CBC.Radio3.Publishing.WebServices.PublisherWebService._staticInstance.get_path(); }
CBC.Radio3.Publishing.WebServices.PublisherWebService.set_timeout = function(value) { CBC.Radio3.Publishing.WebServices.PublisherWebService._staticInstance.set_timeout(value); }
CBC.Radio3.Publishing.WebServices.PublisherWebService.get_timeout = function() { return CBC.Radio3.Publishing.WebServices.PublisherWebService._staticInstance.get_timeout(); }
CBC.Radio3.Publishing.WebServices.PublisherWebService.set_defaultUserContext = function(value) { CBC.Radio3.Publishing.WebServices.PublisherWebService._staticInstance.set_defaultUserContext(value); }
CBC.Radio3.Publishing.WebServices.PublisherWebService.get_defaultUserContext = function() { return CBC.Radio3.Publishing.WebServices.PublisherWebService._staticInstance.get_defaultUserContext(); }
CBC.Radio3.Publishing.WebServices.PublisherWebService.set_defaultSucceededCallback = function(value) { CBC.Radio3.Publishing.WebServices.PublisherWebService._staticInstance.set_defaultSucceededCallback(value); }
CBC.Radio3.Publishing.WebServices.PublisherWebService.get_defaultSucceededCallback = function() { return CBC.Radio3.Publishing.WebServices.PublisherWebService._staticInstance.get_defaultSucceededCallback(); }
CBC.Radio3.Publishing.WebServices.PublisherWebService.set_defaultFailedCallback = function(value) { CBC.Radio3.Publishing.WebServices.PublisherWebService._staticInstance.set_defaultFailedCallback(value); }
CBC.Radio3.Publishing.WebServices.PublisherWebService.get_defaultFailedCallback = function() { return CBC.Radio3.Publishing.WebServices.PublisherWebService._staticInstance.get_defaultFailedCallback(); }
CBC.Radio3.Publishing.WebServices.PublisherWebService.set_path("/services/PublisherWebService.asmx");
CBC.Radio3.Publishing.WebServices.PublisherWebService.PublishTrackAndPlaylist= function(trackPermalink,playlistPermalink,onSuccess,onFailed,userContext) {CBC.Radio3.Publishing.WebServices.PublisherWebService._staticInstance.PublishTrackAndPlaylist(trackPermalink,playlistPermalink,onSuccess,onFailed,userContext); }
CBC.Radio3.Publishing.WebServices.PublisherWebService.PublishBecameFanOfArtist= function(artistPermalink,onSuccess,onFailed,userContext) {CBC.Radio3.Publishing.WebServices.PublisherWebService._staticInstance.PublishBecameFanOfArtist(artistPermalink,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('CBC.Radio3.Publishing.DataTransfer');
if (typeof(CBC.Radio3.Publishing.DataTransfer.PublishedTrackAndPlaylistDTO) === 'undefined') {
CBC.Radio3.Publishing.DataTransfer.PublishedTrackAndPlaylistDTO=gtc("CBC.Radio3.Publishing.DataTransfer.PublishedTrackAndPlaylistDTO");
CBC.Radio3.Publishing.DataTransfer.PublishedTrackAndPlaylistDTO.registerClass('CBC.Radio3.Publishing.DataTransfer.PublishedTrackAndPlaylistDTO');
}
if (typeof(CBC.Radio3.Publishing.DataTransfer.PublishedArtistDTO) === 'undefined') {
CBC.Radio3.Publishing.DataTransfer.PublishedArtistDTO=gtc("CBC.Radio3.Publishing.DataTransfer.PublishedArtistDTO");
CBC.Radio3.Publishing.DataTransfer.PublishedArtistDTO.registerClass('CBC.Radio3.Publishing.DataTransfer.PublishedArtistDTO');
}

