Type.registerNamespace('uniRMS.WebSite.WebServices');
uniRMS.WebSite.WebServices.ShoppingService=function() {
uniRMS.WebSite.WebServices.ShoppingService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
uniRMS.WebSite.WebServices.ShoppingService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return uniRMS.WebSite.WebServices.ShoppingService._staticInstance.get_path();},
GetEntyInfo:function(entyid,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetEntyInfo',false,{entyid:entyid},succeededCallback,failedCallback,userContext); },
AddEntyShoppingCart:function(strEntyId,strGoodsId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddEntyShoppingCart',false,{strEntyId:strEntyId,strGoodsId:strGoodsId},succeededCallback,failedCallback,userContext); },
UserBuyDoc:function(rsid,docid,docname,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'UserBuyDoc',false,{rsid:rsid,docid:docid,docname:docname},succeededCallback,failedCallback,userContext); },
AddUserShoppingCart:function(rsid,strDocs,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddUserShoppingCart',false,{rsid:rsid,strDocs:strDocs},succeededCallback,failedCallback,userContext); },
AddUserShoppingCartSS:function(rsid,strDocs,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddUserShoppingCartSS',false,{rsid:rsid,strDocs:strDocs},succeededCallback,failedCallback,userContext); },
FromOutSideAddToOrder:function(OrderXml,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'FromOutSideAddToOrder',false,{OrderXml:OrderXml},succeededCallback,failedCallback,userContext); },
IsUserNameExist:function(userName,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'IsUserNameExist',false,{userName:userName},succeededCallback,failedCallback,userContext); },
IsLoginIn:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'IsLoginIn',false,{},succeededCallback,failedCallback,userContext); },
AddToDcdjOrder:function(OrderXml,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddToDcdjOrder',false,{OrderXml:OrderXml},succeededCallback,failedCallback,userContext); },
ChangeDcdjOrderStatus:function(OrderXml,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ChangeDcdjOrderStatus',false,{OrderXml:OrderXml},succeededCallback,failedCallback,userContext); }}
uniRMS.WebSite.WebServices.ShoppingService.registerClass('uniRMS.WebSite.WebServices.ShoppingService',Sys.Net.WebServiceProxy);
uniRMS.WebSite.WebServices.ShoppingService._staticInstance = new uniRMS.WebSite.WebServices.ShoppingService();
uniRMS.WebSite.WebServices.ShoppingService.set_path = function(value) { uniRMS.WebSite.WebServices.ShoppingService._staticInstance.set_path(value); }
uniRMS.WebSite.WebServices.ShoppingService.get_path = function() { return uniRMS.WebSite.WebServices.ShoppingService._staticInstance.get_path(); }
uniRMS.WebSite.WebServices.ShoppingService.set_timeout = function(value) { uniRMS.WebSite.WebServices.ShoppingService._staticInstance.set_timeout(value); }
uniRMS.WebSite.WebServices.ShoppingService.get_timeout = function() { return uniRMS.WebSite.WebServices.ShoppingService._staticInstance.get_timeout(); }
uniRMS.WebSite.WebServices.ShoppingService.set_defaultUserContext = function(value) { uniRMS.WebSite.WebServices.ShoppingService._staticInstance.set_defaultUserContext(value); }
uniRMS.WebSite.WebServices.ShoppingService.get_defaultUserContext = function() { return uniRMS.WebSite.WebServices.ShoppingService._staticInstance.get_defaultUserContext(); }
uniRMS.WebSite.WebServices.ShoppingService.set_defaultSucceededCallback = function(value) { uniRMS.WebSite.WebServices.ShoppingService._staticInstance.set_defaultSucceededCallback(value); }
uniRMS.WebSite.WebServices.ShoppingService.get_defaultSucceededCallback = function() { return uniRMS.WebSite.WebServices.ShoppingService._staticInstance.get_defaultSucceededCallback(); }
uniRMS.WebSite.WebServices.ShoppingService.set_defaultFailedCallback = function(value) { uniRMS.WebSite.WebServices.ShoppingService._staticInstance.set_defaultFailedCallback(value); }
uniRMS.WebSite.WebServices.ShoppingService.get_defaultFailedCallback = function() { return uniRMS.WebSite.WebServices.ShoppingService._staticInstance.get_defaultFailedCallback(); }
uniRMS.WebSite.WebServices.ShoppingService.set_path("/WebServices/ShoppingService.asmx");
uniRMS.WebSite.WebServices.ShoppingService.GetEntyInfo= function(entyid,onSuccess,onFailed,userContext) {uniRMS.WebSite.WebServices.ShoppingService._staticInstance.GetEntyInfo(entyid,onSuccess,onFailed,userContext); }
uniRMS.WebSite.WebServices.ShoppingService.AddEntyShoppingCart= function(strEntyId,strGoodsId,onSuccess,onFailed,userContext) {uniRMS.WebSite.WebServices.ShoppingService._staticInstance.AddEntyShoppingCart(strEntyId,strGoodsId,onSuccess,onFailed,userContext); }
uniRMS.WebSite.WebServices.ShoppingService.UserBuyDoc= function(rsid,docid,docname,onSuccess,onFailed,userContext) {uniRMS.WebSite.WebServices.ShoppingService._staticInstance.UserBuyDoc(rsid,docid,docname,onSuccess,onFailed,userContext); }
uniRMS.WebSite.WebServices.ShoppingService.AddUserShoppingCart= function(rsid,strDocs,onSuccess,onFailed,userContext) {uniRMS.WebSite.WebServices.ShoppingService._staticInstance.AddUserShoppingCart(rsid,strDocs,onSuccess,onFailed,userContext); }
uniRMS.WebSite.WebServices.ShoppingService.AddUserShoppingCartSS= function(rsid,strDocs,onSuccess,onFailed,userContext) {uniRMS.WebSite.WebServices.ShoppingService._staticInstance.AddUserShoppingCartSS(rsid,strDocs,onSuccess,onFailed,userContext); }
uniRMS.WebSite.WebServices.ShoppingService.FromOutSideAddToOrder= function(OrderXml,onSuccess,onFailed,userContext) {uniRMS.WebSite.WebServices.ShoppingService._staticInstance.FromOutSideAddToOrder(OrderXml,onSuccess,onFailed,userContext); }
uniRMS.WebSite.WebServices.ShoppingService.IsUserNameExist= function(userName,onSuccess,onFailed,userContext) {uniRMS.WebSite.WebServices.ShoppingService._staticInstance.IsUserNameExist(userName,onSuccess,onFailed,userContext); }
uniRMS.WebSite.WebServices.ShoppingService.IsLoginIn= function(onSuccess,onFailed,userContext) {uniRMS.WebSite.WebServices.ShoppingService._staticInstance.IsLoginIn(onSuccess,onFailed,userContext); }
uniRMS.WebSite.WebServices.ShoppingService.AddToDcdjOrder= function(OrderXml,onSuccess,onFailed,userContext) {uniRMS.WebSite.WebServices.ShoppingService._staticInstance.AddToDcdjOrder(OrderXml,onSuccess,onFailed,userContext); }
uniRMS.WebSite.WebServices.ShoppingService.ChangeDcdjOrderStatus= function(OrderXml,onSuccess,onFailed,userContext) {uniRMS.WebSite.WebServices.ShoppingService._staticInstance.ChangeDcdjOrderStatus(OrderXml,onSuccess,onFailed,userContext); }

