WebService â?" Returning an Object

M

Matthew Holton

Could the difference simply be a difference in versioning
of the .Net Framework across the two platforms? Or even
the XML parser?

Take a look at this document:

ms-
help://MS.VSCC/MS.MSDNVS/cpguide/html/cpconcustomizingsoap
inaspnetwebserviceswebserviceclients.htm


-----Original Message-----
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.
â?oSystem.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..
 

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

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top