首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > asp.net >

紧急在线 webservice有关问题,解决给者给满分

2012-04-07 
紧急在线求助 webservice问题,解决给者给满分webservice端是用 axis1.4发布的。URL: http://.......?wsdl这

紧急在线求助 webservice问题,解决给者给满分
webservice端是用 axis1.4发布的。URL: http://.......?wsdl
这边是用vs2008引用webservice接口

UserLoginAuthReq loginReq = new UserLoginAuthReq();
  loginReq.version = Config.version;
  loginReq.transactionID = Common.CreateTransactionID();
  loginReq.traceFlag = "1";
  loginReq.accountType = Convert.ToInt32(nameKeys["accountType"]);
  loginReq.userAccount = nameKeys["userAccount"];
  loginReq.password = Common.AESEncrypt(nameKeys["password"]);
  UserProfileServiceImplService ImplService = new UserProfileServiceImplService();
  UserLoginAuthRsp loginRsp = new UserLoginAuthRsp();
  loginRsp = ImplService.userLoginAuth(loginReq);

到这里都能正常运行,但是返回的loginRsp 里面的属性全部为null
期待高手解决,今晚12点结贴,请大家帮忙解决,谢谢!


[解决办法]
这个问题估计除了webservice的开发人员能回答你以外,其他无人能回答,返回的null就是webservice返回给你的,你得去与原webservice开发人员联系
[解决办法]
看看 防火墙 开了吗。
[解决办法]
loginRsp = ImplService.userLoginAuth(loginReq);
-----------------
登录帐号有吗,或者是允许吗?
 这个返回空,就没有获取到值。
[解决办法]
UserLoginAuthReq loginReq = new UserLoginAuthReq();
 
你的这个类支持序列化吗? 必须支持序列化才能在WEBService中进行传递。
[解决办法]
UserLoginAuthRsp loginRsp = new UserLoginAuthRsp();
还有这个类也是

热点排行