How do the proxies get resolved when a DataObject/DataGraph is
de-serialized?

 

Static code was generated against the bank.xsd example within Tuscany
and the serialized graph looks like below for two object instances:

 

<?xml version="1.0" encoding="UTF-8"?>

<bank:bank xmlns:bank="http://www.example.com/bank";>

  <Branch ID="theBranchID"/>

  <Customer ID="theCustomerID">

    <HomeBranch>#//@bank/@Branch.0</HomeBranch>

  </Customer>

</bank:bank>

 

After the object is loaded the 'customer' object contains a proxy to the
'branch'.  Is there a helper operation to resolve this proxy or a
de-serialization option to make sure proxies get resolved?

 

Thanks,

Murtaza.

Reply via email to