var wsPeople=function() {
wsPeople.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
wsPeople.prototype={
getPeopleBySearch:function(fname,lname,office,dept,succeededCallback, failedCallback, userContext) {
return this._invoke(wsPeople.get_path(), 'getPeopleBySearch',false,{fname:fname,lname:lname,office:office,dept:dept},succeededCallback,failedCallback,userContext); },
emailBio:function(recEmail,name,senderEmail,message,member,bio,succeededCallback, failedCallback, userContext) {
return this._invoke(wsPeople.get_path(), 'emailBio',false,{recEmail:recEmail,name:name,senderEmail:senderEmail,message:message,member:member,bio:bio},succeededCallback,failedCallback,userContext); },
emailArticle:function(recEmail,name,senderEmail,message,title,article,succeededCallback, failedCallback, userContext) {
return this._invoke(wsPeople.get_path(), 'emailArticle',false,{recEmail:recEmail,name:name,senderEmail:senderEmail,message:message,title:title,article:article},succeededCallback,failedCallback,userContext); }}
wsPeople.registerClass('wsPeople',Sys.Net.WebServiceProxy);
wsPeople._staticInstance = new wsPeople();
wsPeople.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; wsPeople._staticInstance._path = value; }
wsPeople.get_path = function() { return wsPeople._staticInstance._path; }
wsPeople.set_timeout = function(value) { var e = Function._validateParams(arguments, [{name: 'timeout', type: Number}]); if (e) throw e; if (value < 0) { throw Error.argumentOutOfRange('value', value, Sys.Res.invalidTimeout); }
wsPeople._staticInstance._timeout = value; }
wsPeople.get_timeout = function() { 
return wsPeople._staticInstance._timeout; }
wsPeople.set_defaultUserContext = function(value) { 
wsPeople._staticInstance._userContext = value; }
wsPeople.get_defaultUserContext = function() { 
return wsPeople._staticInstance._userContext; }
wsPeople.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; wsPeople._staticInstance._succeeded = value; }
wsPeople.get_defaultSucceededCallback = function() { 
return wsPeople._staticInstance._succeeded; }
wsPeople.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; wsPeople._staticInstance._failed = value; }
wsPeople.get_defaultFailedCallback = function() { 
return wsPeople._staticInstance._failed; }
wsPeople.set_path("/webservices/wsPeople.asmx");
wsPeople.getPeopleBySearch= function(fname,lname,office,dept,onSuccess,onFailed,userContext) {wsPeople._staticInstance.getPeopleBySearch(fname,lname,office,dept,onSuccess,onFailed,userContext); }
wsPeople.emailBio= function(recEmail,name,senderEmail,message,member,bio,onSuccess,onFailed,userContext) {wsPeople._staticInstance.emailBio(recEmail,name,senderEmail,message,member,bio,onSuccess,onFailed,userContext); }
wsPeople.emailArticle= function(recEmail,name,senderEmail,message,title,article,onSuccess,onFailed,userContext) {wsPeople._staticInstance.emailArticle(recEmail,name,senderEmail,message,title,article,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('StreampPeople');
if (typeof(StreampPeople.Person) === 'undefined') {
StreampPeople.Person=gtc("StreampPeople.Person");
StreampPeople.Person.registerClass('StreampPeople.Person');
}
