Type.registerNamespace('KP.Web.Components.Service');
KP.Web.Components.Service.PhotoService=function() {
KP.Web.Components.Service.PhotoService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
KP.Web.Components.Service.PhotoService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return KP.Web.Components.Service.PhotoService._staticInstance.get_path();},
DeserializePhotoOrder:function(message,succeededCallback, failedCallback, userContext) {
/// <param name="message" type="KP.Web.Components.Service.PhotoHelperRequestMessage">KP.Web.Components.Service.PhotoHelperRequestMessage</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(), 'DeserializePhotoOrder',false,{message:message},succeededCallback,failedCallback,userContext); }}
KP.Web.Components.Service.PhotoService.registerClass('KP.Web.Components.Service.PhotoService',Sys.Net.WebServiceProxy);
KP.Web.Components.Service.PhotoService._staticInstance = new KP.Web.Components.Service.PhotoService();
KP.Web.Components.Service.PhotoService.set_path = function(value) {
KP.Web.Components.Service.PhotoService._staticInstance.set_path(value); }
KP.Web.Components.Service.PhotoService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return KP.Web.Components.Service.PhotoService._staticInstance.get_path();}
KP.Web.Components.Service.PhotoService.set_timeout = function(value) {
KP.Web.Components.Service.PhotoService._staticInstance.set_timeout(value); }
KP.Web.Components.Service.PhotoService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return KP.Web.Components.Service.PhotoService._staticInstance.get_timeout(); }
KP.Web.Components.Service.PhotoService.set_defaultUserContext = function(value) { 
KP.Web.Components.Service.PhotoService._staticInstance.set_defaultUserContext(value); }
KP.Web.Components.Service.PhotoService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return KP.Web.Components.Service.PhotoService._staticInstance.get_defaultUserContext(); }
KP.Web.Components.Service.PhotoService.set_defaultSucceededCallback = function(value) { 
 KP.Web.Components.Service.PhotoService._staticInstance.set_defaultSucceededCallback(value); }
KP.Web.Components.Service.PhotoService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return KP.Web.Components.Service.PhotoService._staticInstance.get_defaultSucceededCallback(); }
KP.Web.Components.Service.PhotoService.set_defaultFailedCallback = function(value) { 
KP.Web.Components.Service.PhotoService._staticInstance.set_defaultFailedCallback(value); }
KP.Web.Components.Service.PhotoService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return KP.Web.Components.Service.PhotoService._staticInstance.get_defaultFailedCallback(); }
KP.Web.Components.Service.PhotoService.set_path("/service/PhotoService.asmx");
KP.Web.Components.Service.PhotoService.DeserializePhotoOrder= function(message,onSuccess,onFailed,userContext) {
/// <param name="message" type="KP.Web.Components.Service.PhotoHelperRequestMessage">KP.Web.Components.Service.PhotoHelperRequestMessage</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>
KP.Web.Components.Service.PhotoService._staticInstance.DeserializePhotoOrder(message,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(KP.Web.Components.Service.PhotoHelperMessage) === 'undefined') {
KP.Web.Components.Service.PhotoHelperMessage=gtc("KP.Web.Components.Service.PhotoHelperMessage");
KP.Web.Components.Service.PhotoHelperMessage.registerClass('KP.Web.Components.Service.PhotoHelperMessage');
}
if (typeof(KP.Web.Components.Service.PhotoHelperRequestMessage) === 'undefined') {
KP.Web.Components.Service.PhotoHelperRequestMessage=gtc("KP.Web.Components.Service.PhotoHelperRequestMessage");
KP.Web.Components.Service.PhotoHelperRequestMessage.registerClass('KP.Web.Components.Service.PhotoHelperRequestMessage');
}
