var DynamicServiceSelector=function() {
DynamicServiceSelector.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
DynamicServiceSelector.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return DynamicServiceSelector._staticInstance.get_path();},
GetServices:function(targetGroups,destinations,cargoTypes,involvedOrganisations,succeededCallback, failedCallback, userContext) {
/// <param name="targetGroups" type="String">System.String</param>
/// <param name="destinations" type="String">System.String</param>
/// <param name="cargoTypes" type="String">System.String</param>
/// <param name="involvedOrganisations" type="String">System.String</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(), 'GetServices',false,{targetGroups:targetGroups,destinations:destinations,cargoTypes:cargoTypes,involvedOrganisations:involvedOrganisations},succeededCallback,failedCallback,userContext); }}
DynamicServiceSelector.registerClass('DynamicServiceSelector',Sys.Net.WebServiceProxy);
DynamicServiceSelector._staticInstance = new DynamicServiceSelector();
DynamicServiceSelector.set_path = function(value) {
DynamicServiceSelector._staticInstance.set_path(value); }
DynamicServiceSelector.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return DynamicServiceSelector._staticInstance.get_path();}
DynamicServiceSelector.set_timeout = function(value) {
DynamicServiceSelector._staticInstance.set_timeout(value); }
DynamicServiceSelector.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return DynamicServiceSelector._staticInstance.get_timeout(); }
DynamicServiceSelector.set_defaultUserContext = function(value) { 
DynamicServiceSelector._staticInstance.set_defaultUserContext(value); }
DynamicServiceSelector.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return DynamicServiceSelector._staticInstance.get_defaultUserContext(); }
DynamicServiceSelector.set_defaultSucceededCallback = function(value) { 
 DynamicServiceSelector._staticInstance.set_defaultSucceededCallback(value); }
DynamicServiceSelector.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return DynamicServiceSelector._staticInstance.get_defaultSucceededCallback(); }
DynamicServiceSelector.set_defaultFailedCallback = function(value) { 
DynamicServiceSelector._staticInstance.set_defaultFailedCallback(value); }
DynamicServiceSelector.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return DynamicServiceSelector._staticInstance.get_defaultFailedCallback(); }
DynamicServiceSelector.set_path("/Services/DynamicServiceSelector.asmx");
DynamicServiceSelector.GetServices= function(targetGroups,destinations,cargoTypes,involvedOrganisations,onSuccess,onFailed,userContext) {
/// <param name="targetGroups" type="String">System.String</param>
/// <param name="destinations" type="String">System.String</param>
/// <param name="cargoTypes" type="String">System.String</param>
/// <param name="involvedOrganisations" type="String">System.String</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>
DynamicServiceSelector._staticInstance.GetServices(targetGroups,destinations,cargoTypes,involvedOrganisations,onSuccess,onFailed,userContext); }

