Type.registerNamespace('ComponentArt.SOA.UI');
ComponentArt.SOA.UI.ISoaToolBarService=function() {
ComponentArt.SOA.UI.ISoaToolBarService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
ComponentArt.SOA.UI.ISoaToolBarService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return ComponentArt.SOA.UI.ISoaToolBarService._staticInstance.get_path();},
GetItems:function(request,succeededCallback, failedCallback, userContext) {
/// <param name="request" type="ComponentArt.SOA.UI.SoaToolBarGetItemsRequest">ComponentArt.SOA.UI.SoaToolBarGetItemsRequest</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(), 'GetItems',false,{request:request},succeededCallback,failedCallback,userContext); }}
ComponentArt.SOA.UI.ISoaToolBarService.registerClass('ComponentArt.SOA.UI.ISoaToolBarService',Sys.Net.WebServiceProxy);
ComponentArt.SOA.UI.ISoaToolBarService._staticInstance = new ComponentArt.SOA.UI.ISoaToolBarService();
ComponentArt.SOA.UI.ISoaToolBarService.set_path = function(value) {
ComponentArt.SOA.UI.ISoaToolBarService._staticInstance.set_path(value); }
ComponentArt.SOA.UI.ISoaToolBarService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return ComponentArt.SOA.UI.ISoaToolBarService._staticInstance.get_path();}
ComponentArt.SOA.UI.ISoaToolBarService.set_timeout = function(value) {
ComponentArt.SOA.UI.ISoaToolBarService._staticInstance.set_timeout(value); }
ComponentArt.SOA.UI.ISoaToolBarService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return ComponentArt.SOA.UI.ISoaToolBarService._staticInstance.get_timeout(); }
ComponentArt.SOA.UI.ISoaToolBarService.set_defaultUserContext = function(value) { 
ComponentArt.SOA.UI.ISoaToolBarService._staticInstance.set_defaultUserContext(value); }
ComponentArt.SOA.UI.ISoaToolBarService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return ComponentArt.SOA.UI.ISoaToolBarService._staticInstance.get_defaultUserContext(); }
ComponentArt.SOA.UI.ISoaToolBarService.set_defaultSucceededCallback = function(value) { 
 ComponentArt.SOA.UI.ISoaToolBarService._staticInstance.set_defaultSucceededCallback(value); }
ComponentArt.SOA.UI.ISoaToolBarService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return ComponentArt.SOA.UI.ISoaToolBarService._staticInstance.get_defaultSucceededCallback(); }
ComponentArt.SOA.UI.ISoaToolBarService.set_defaultFailedCallback = function(value) { 
ComponentArt.SOA.UI.ISoaToolBarService._staticInstance.set_defaultFailedCallback(value); }
ComponentArt.SOA.UI.ISoaToolBarService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return ComponentArt.SOA.UI.ISoaToolBarService._staticInstance.get_defaultFailedCallback(); }
ComponentArt.SOA.UI.ISoaToolBarService.set_enableJsonp = function(value) { ComponentArt.SOA.UI.ISoaToolBarService._staticInstance.set_enableJsonp(value); }
ComponentArt.SOA.UI.ISoaToolBarService.get_enableJsonp = function() { 
/// <value type="Boolean">Specifies whether the service supports JSONP for cross domain calling.</value>
return ComponentArt.SOA.UI.ISoaToolBarService._staticInstance.get_enableJsonp(); }
ComponentArt.SOA.UI.ISoaToolBarService.set_jsonpCallbackParameter = function(value) { ComponentArt.SOA.UI.ISoaToolBarService._staticInstance.set_jsonpCallbackParameter(value); }
ComponentArt.SOA.UI.ISoaToolBarService.get_jsonpCallbackParameter = function() { 
/// <value type="String">Specifies the parameter name that contains the callback function name for a JSONP request.</value>
return ComponentArt.SOA.UI.ISoaToolBarService._staticInstance.get_jsonpCallbackParameter(); }
ComponentArt.SOA.UI.ISoaToolBarService.set_path("http://www.financieredelacite.com/ToolBarService.svc");
ComponentArt.SOA.UI.ISoaToolBarService.GetItems= function(request,onSuccess,onFailed,userContext) {
/// <param name="request" type="ComponentArt.SOA.UI.SoaToolBarGetItemsRequest">ComponentArt.SOA.UI.SoaToolBarGetItemsRequest</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>
ComponentArt.SOA.UI.ISoaToolBarService._staticInstance.GetItems(request,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(ComponentArt.SOA.UI.SoaToolBarGetItemsRequest) === 'undefined') {
ComponentArt.SOA.UI.SoaToolBarGetItemsRequest=gtc("SoaToolBarGetItemsRequest:http://schemas.datacontract.org/2004/07/ComponentArt.SOA.UI");
ComponentArt.SOA.UI.SoaToolBarGetItemsRequest.registerClass('ComponentArt.SOA.UI.SoaToolBarGetItemsRequest');
}
if (typeof(ComponentArt.SOA.UI.SoaToolBarRequest) === 'undefined') {
ComponentArt.SOA.UI.SoaToolBarRequest=gtc("SoaToolBarRequest:http://schemas.datacontract.org/2004/07/ComponentArt.SOA.UI");
ComponentArt.SOA.UI.SoaToolBarRequest.registerClass('ComponentArt.SOA.UI.SoaToolBarRequest');
}
if (typeof(ComponentArt.SOA.UI.SoaToolBarGetItemsResponse) === 'undefined') {
ComponentArt.SOA.UI.SoaToolBarGetItemsResponse=gtc("SoaToolBarGetItemsResponse:http://schemas.datacontract.org/2004/07/ComponentArt.SOA.UI");
ComponentArt.SOA.UI.SoaToolBarGetItemsResponse.registerClass('ComponentArt.SOA.UI.SoaToolBarGetItemsResponse');
}
if (typeof(ComponentArt.SOA.UI.SoaToolBarResponse) === 'undefined') {
ComponentArt.SOA.UI.SoaToolBarResponse=gtc("SoaToolBarResponse:http://schemas.datacontract.org/2004/07/ComponentArt.SOA.UI");
ComponentArt.SOA.UI.SoaToolBarResponse.registerClass('ComponentArt.SOA.UI.SoaToolBarResponse');
}
if (typeof(ComponentArt.SOA.UI.SoaToolBarItem) === 'undefined') {
ComponentArt.SOA.UI.SoaToolBarItem=gtc("SoaToolBarItem:http://schemas.datacontract.org/2004/07/ComponentArt.SOA.UI");
ComponentArt.SOA.UI.SoaToolBarItem.registerClass('ComponentArt.SOA.UI.SoaToolBarItem');
}
if (typeof(ComponentArt.SOA.UI.SoaToolBarImageTextRelation) === 'undefined') {
ComponentArt.SOA.UI.SoaToolBarImageTextRelation = function() { throw Error.invalidOperation(); }
ComponentArt.SOA.UI.SoaToolBarImageTextRelation.prototype = {ImageAboveText: 0,ImageBeforeText: 1,ImageOnly: 2,TextAboveImage: 3,TextBeforeImage: 4,TextOnly: 5}
ComponentArt.SOA.UI.SoaToolBarImageTextRelation.registerEnum('ComponentArt.SOA.UI.SoaToolBarImageTextRelation', true);
}
if (typeof(ComponentArt.SOA.UI.SoaToolBarItemType) === 'undefined') {
ComponentArt.SOA.UI.SoaToolBarItemType = function() { throw Error.invalidOperation(); }
ComponentArt.SOA.UI.SoaToolBarItemType.prototype = {Button: 0,Radio: 1,Check: 2,Split: 3,Separator: 4}
ComponentArt.SOA.UI.SoaToolBarItemType.registerEnum('ComponentArt.SOA.UI.SoaToolBarItemType', true);
}

