Click here to Skip to main content
15,926,939 members
Home / Discussions / Web Development
   

Web Development

 
GeneralDynamic Filter Form Function Pin
DEWright_CA24-Nov-03 12:45
DEWright_CA24-Nov-03 12:45 
GeneralRe: Dynamic Filter Form Function Pin
allia24-Nov-03 12:54
allia24-Nov-03 12:54 
Questionuploading files, ASP? Pin
allia23-Nov-03 13:10
allia23-Nov-03 13:10 
AnswerRe: uploading files, ASP? Pin
alex.barylski23-Nov-03 18:45
alex.barylski23-Nov-03 18:45 
GeneralRe: uploading files, ASP? Pin
allia24-Nov-03 13:01
allia24-Nov-03 13:01 
AnswerRe: uploading files, ASP? Pin
Populate1233-Dec-03 22:17
Populate1233-Dec-03 22:17 
GeneralHierachical DropDownList Controls Q. Pin
xpurt21-Nov-03 20:15
xpurt21-Nov-03 20:15 
GeneralWebservices and Custom Type Objects Pin
JoostV21-Nov-03 9:30
JoostV21-Nov-03 9:30 
Hi all,

I'm kind of a newby in webservices so I think this will be a simple question for you all.

I want to create an object on de webservice side (server) and return it to the application (client). The object on the client side must have the methods of the original object.

The code on the client side:

[webmethod]
public car createCar (string licenceplate)
{
car car = new car(licencePlate);
return car;
}

method in object class file (car.cs)
public string getLicencePlate
{
return this.licencePlate;
}


on the client side i want to ask the object its licenceplate. So: car.getLicencePlate();
But i can't see the methods. I only get the public attributes (and i don't want those)

Does anyone have a clear sample of returning Custom Type objects with WebServices or maybe give me a lesson in Serializable.
Ow.. I forgot... the client side is reacting asyn.

I hope someone can help me.

Kind regards,

Joost Voskuil
The Netherlands.



GeneralRe: Webservices and Custom Type Objects Pin
Heath Stewart22-Nov-03 5:11
protectorHeath Stewart22-Nov-03 5:11 
GeneralRe: Webservices and Custom Type Objects Pin
JoostV23-Nov-03 1:11
JoostV23-Nov-03 1:11 
GeneralRe: Webservices and Custom Type Objects Pin
Heath Stewart24-Nov-03 4:19
protectorHeath Stewart24-Nov-03 4:19 
GeneralCSS Help Needed - Clickable Table Cell Pin
BrianReeve21-Nov-03 9:11
BrianReeve21-Nov-03 9:11 
GeneralRe: CSS Help Needed - Clickable Table Cell Pin
Ian Darling21-Nov-03 9:33
Ian Darling21-Nov-03 9:33 
GeneralRe: CSS Help Needed - Clickable Table Cell Pin
Roger Wright21-Nov-03 9:37
professionalRoger Wright21-Nov-03 9:37 
GeneralRe: CSS Help Needed - Clickable Table Cell Pin
Rohit  Sinha21-Nov-03 10:42
Rohit  Sinha21-Nov-03 10:42 
GeneralHelp! Connection String Pin
CillyMe21-Nov-03 3:02
CillyMe21-Nov-03 3:02 
GeneralRe: Help! Connection String Pin
Terry O'Nolley23-Nov-03 18:11
Terry O'Nolley23-Nov-03 18:11 
GeneralRe: Help! Connection String Pin
Populate1233-Dec-03 22:29
Populate1233-Dec-03 22:29 
GeneralUnable to browse asp.net code Pin
okoji Cyril20-Nov-03 21:00
okoji Cyril20-Nov-03 21:00 
GeneralRe: Unable to browse asp.net code Pin
Paul Watson20-Nov-03 21:25
sitebuilderPaul Watson20-Nov-03 21:25 
Generalidiot question... Pin
l a u r e n20-Nov-03 8:36
l a u r e n20-Nov-03 8:36 
GeneralRe: idiot question... Pin
allia20-Nov-03 8:56
allia20-Nov-03 8:56 
GeneralRe: idiot question... Pin
l a u r e n20-Nov-03 9:04
l a u r e n20-Nov-03 9:04 
GeneralRe: idiot question... Pin
l a u r e n20-Nov-03 9:29
l a u r e n20-Nov-03 9:29 
GeneralRe: idiot question... Pin
allia20-Nov-03 10:21
allia20-Nov-03 10:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.