K
Karuppasamy
Hi
I have a WebService calling a Method in a Remote Object. The Remote method Returns an Object. This Webservice also returns the same object. All things are working fine when this Web Service is running in a Windows XP. But when I am trying to run the same webservice in a Windows 2000 Advanced Server Machine, I am getting the following error.
“System.Web.Services.Protocols.SoapException: Server was unable to process request. System.Exception: Return argument has an invalid type. at MyComponent.Users.DoLogin(String userName, String password)â€
When I am running some other Web Methods returning void or string or integer, its working fine.
So when I am running a webmethod returning an object in a Windows 2000 Advanced Server machine, anything has to be done related security, etc..
Why am I getting such error in Windows 2000 Advanced Server machine only?
Thanks and Regards
Siva
I have a WebService calling a Method in a Remote Object. The Remote method Returns an Object. This Webservice also returns the same object. All things are working fine when this Web Service is running in a Windows XP. But when I am trying to run the same webservice in a Windows 2000 Advanced Server Machine, I am getting the following error.
“System.Web.Services.Protocols.SoapException: Server was unable to process request. System.Exception: Return argument has an invalid type. at MyComponent.Users.DoLogin(String userName, String password)â€
When I am running some other Web Methods returning void or string or integer, its working fine.
So when I am running a webmethod returning an object in a Windows 2000 Advanced Server machine, anything has to be done related security, etc..
Why am I getting such error in Windows 2000 Advanced Server machine only?
Thanks and Regards
Siva