S
stotty
Send a data structure using Web Services.
Data structure looks like:
Class Person {
int age;
string name;
Pets pet;
}
However the age field is optional and the name field is required and
must be between 4 and 20 characters.
The web service just returns the class i.e
[WebMethod]
public Person PersonInfo(Person person)
{
return person;
}
Data structure looks like:
Class Person {
int age;
string name;
Pets pet;
}
However the age field is optional and the name field is required and
must be between 4 and 20 characters.
The web service just returns the class i.e
[WebMethod]
public Person PersonInfo(Person person)
{
return person;
}