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