webservice howto transfer object properties

D

Daniel

hi ng,
i have a webservice method that provides a object array that i would
like to bind with a datalist on client side.
the problem is that a datalist needs property fields to bind to, but
webservice client side, the objects properties are recognized as public
fields.
And in the wsdl file, there is no difference between for example:

public string Field1;
and
private string _Field2
public string Field2
{
set{value=_Field2;}
get{return _Field2;}
}

so the question is: is there a way to define field as a property for the
wsdl file?

thank you very much for any help!
daniel
 

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

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,576
Members
45,054
Latest member
LucyCarper

Latest Threads

Top