You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@tuscany.apache.org by Murtaza Goga <Mu...@trisyngroup.com> on 2008/06/10 14:29:01 UTC

Proxy Resolution Non Containment References

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.