WebService – Returning an Object

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,540
Members
45,025
Latest member
KetoRushACVFitness

Latest Threads

Top