Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > WebService â?" Returning an Object

Reply
Thread Tools

WebService â?" Returning an Object

 
 
Matthew Holton
Guest
Posts: n/a
 
      01-15-2004
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..
>
>Why am I getting such error in Windows 2000 Advanced

Server machine only?
>
>Thanks and Regards
>
>Siva
>
>
>---
>Posted using Wimdows.net Newsgroups -

http://www.wimdows.net/newsgroups/
>.
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mocked object returning another Mocked object Jean-Michel Pichavant Python 1 07-13-2012 10:37 AM
Returning Object From Webservice Asim Qazi ASP .Net 2 10-16-2006 11:58 AM
returning none when it should be returning a list? randomtalk@gmail.com Python 11 05-02-2006 10:26 AM
Object creation - Do we really need to create a parent for a derieved object - can't the base object just point to an already created base object jon wayne C++ 9 09-22-2005 02:06 AM
WebService – Returning an Object Karuppasamy ASP .Net 0 01-15-2004 04:38 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57