A
A.M
Hi,
Using c# language,
I am developing a web service that needs to return mutiple values. I am,
therefore, returning a class contains mutiple values to be returned.
So the web method's definition is like this:
[WebMethod]
public LocationResult GetClosestPoint(string Licence,string Location, int
r,bool ReturnImage)
The problem is I have to have the definition of LocationResult in all client
projects.
Is there any better way to do this?
What is the best way to share the definition of LocationResult between
client applications?
Shouldn't I use struct instead of class?
Any help would be apprecited,
Alan
Using c# language,
I am developing a web service that needs to return mutiple values. I am,
therefore, returning a class contains mutiple values to be returned.
So the web method's definition is like this:
[WebMethod]
public LocationResult GetClosestPoint(string Licence,string Location, int
r,bool ReturnImage)
The problem is I have to have the definition of LocationResult in all client
projects.
Is there any better way to do this?
What is the best way to share the definition of LocationResult between
client applications?
Shouldn't I use struct instead of class?
Any help would be apprecited,
Alan