Ask a Question related to ASP.NET Web Services, Design and Development.
-
Mark Thomson #1
Sending Objects / Proxy Class Question
I have a web service that has a Venue class on it. I also have a client
application running on pocket pc that has the same Venue class on it. The
problem is when i perform use the
[WebMethod]
Venue getVenue( )
from the client application, it maps the return type to
Webservicenamespace.Venue instead of Venue.
Should I be using Proxy classes for this or is there a better way to do it?
Mark Thomson Guest
-
proxy class doesn't seem to be recompiling
I'm using a ColdFusion app to consume a .NET webservice with 3 methods and I'm running into a problem. The first time I added a web reference &... -
Datagrid DataKeyField and Webservice Proxy Objects
Hi all, I have a web service that returns me an array of objects. When I try to set this array as the datasource for a Datagrid and call DataBind... -
Getting a Proxy Class into VBA
Hi All - I am trying to build a Web Service that can be accessed using an Excel spreadsheet. I have been able to do this for relatively simple... -
Web reference/Proxy class problems with custom objects
I have built a webservice which consumes and returns a custom object/class which was generated using XSD.exe from an XML schema. When WSDL.exe... -
NEWBIE question: web reference to a proxy class
Hi, I have used wsdl.exe to get the proxy class from a wsdl document that is saved locally on my comp. Can anyone please tell me how I can add a... -
Michael Nemtsev #2
Re: Sending Objects / Proxy Class Question
Hello Mark,
MT> I have a web service that has a Venue class on it. I also have a
MT> client application running on pocket pc that has the same Venue
MT> class on it. The problem is when i perform use the
MT>
MT> [WebMethod]
MT> Venue getVenue( )
MT> from the client application, it maps the return type to
MT> Webservicenamespace.Venue instead of Venue.
MT>
MT> Should I be using Proxy classes for this or is there a better way to
MT> do it?
U can't use proxy classes, due to u need to get access to your external class.
The solution is to remove Venue's class description from the proxy (client
class) and add using reference to your client Venue class in that proxy class.
Afther that just recompile your client application.
Be aware, that proxy return to its original state after u refresh your web-reference.
U need to remove class description again
---
WBR,
Michael Nemtsev
Michael Nemtsev Guest



Reply With Quote

