We are attempting to create an SCA service that returns SDO objects to
a JSONRPC binding. We get the same "circular references" error as in
this 2007 email:
http://mail-archives.apache.org/mod_mbox/tuscany-dev/200706.mbox/%[email protected]%3e

A solution is proposed in
http://mail-archives.apache.org/mod_mbox/tuscany-dev/200706.mbox/%[email protected]%3e
- the URL in this email has moved to
http://svn.apache.org/repos/asf/tuscany/sandbox/old/contrib/

The JSON data binding and XSDStream2JSON transformer code from this
directory now appear to be in the correct place in the SCA code:
http://svn.apache.org/repos/asf/tuscany/sca-java-1.x/trunk/modules/databinding-json/src/main/java/org/apache/tuscany/sca/databinding/json/

However, we still get the "circular references" error, as though the
code was not there.

The PullTransformer metadata file contains the registrations for these
conversions:
http://svn.apache.org/repos/asf/tuscany/sca-java-1.x/trunk/modules/databinding-json/src/main/resources/META-INF/services/org.apache.tuscany.sca.databinding.PullTransformer

However, most of the registration lines in this file include the
clause "public=false". Does this affect the visibility of the
transformations in the databinding graph? Could this be the reason for
the error message we are getting?

Is it possible to use SDO and JSONRPC together?

Thanks,
Jon.

Reply via email to