One-to-Many WSDL binding

Hi all!

Here we have two WSDL services, loadCompany() which load the company info for editing, and save(Company), the Company Object have a List of Department Objects.

So, by using SmartGWT, can we bind a DynamicForm to Company, and a ListGrid to the company’s Departments with a single DataSource? Do we must have two DS? Can we save the data by only 1 save() service call? Is there any sample similar to this situation?

Thank you!

Here is a sample of the data XML:

<company>
  <name>Microsoft</name>
  <employees>5000</employees>
  <department>
    <name>Sales</name>
    <leader>Sam</leader>
  </department>
  <department>
    <name>Development</name>
    <leader>Mike</leader>
  </department>
</company>

Can you help me please, Isomorphic? Need I post some other kind of infomation?