I'm really new to web services and need to create a webservice that can deal with object graphs. My canonical example would be a CRM web service that given a customer number would return an "object" of type Company with a collection property of Contacts.
ie:
[WebService]
public Company GetCompanyByCustomerNumber( string customerNumber ) {...}
would return an instance of:
public class Company
{
....
public List<Contact> Contacts { get { ... } }
}
It would be really nice to be able to create the webservice so that it easily can be consumed from Visual Studio so that it can work directly with the company and related contacts...
Is this possible?
Thanks Fredrik