Topic - How to register transreptor? (How to make transreptor available for modules to use?)
Topic - How to register transreptor? (How to make transreptor available for modules to use?) Topic - How to register transreptor? (How to make transreptor available for modules to use?)
from forum General Support
 forum index   my profile   search 
 new topic  post reply 
moderators: pjr tab
How to register transreptor? (How to make transreptor available for modules to use?)
Joined: 14-August-2008
Posts: 2
Posted: 14-August-2008 22:11
I have just created a new transreptor in module A and want to use it in module B. Module A has <transreptors> specified in the module.xml and exports the new transreptor. Module B uses the new transreptor that converts POJOAspect to DOMXDA. When I ran Resource Request Trace Tool, I got No Transreptor Found Error.

No suitable transreptor found for conversion from [org.ten60.netkernel.layer1.representation.POJOAspect] to [org.ten60.netkernel.xml.xda.DOMXDA]

executing subrequest:
[TRANSREPRESENT literal:var275 in urn:com:findlaw:gating-services as org.ten60.netkernel.xml.xda.DOMXDA]

Any ideas what is missing?

Thanks for all your help!
tracking down the cause...
Joined: 7-February-2005
Posts: 249
Location: Uncharted territory
Posted: 18-August-2008 10:26
Hi Syne,

There should be no issues with what you are trying to achieve. Unfortunately the trace tool will not be that useful for testing the resolution of transreptors, it is more effective for accessors though. Do you see the same resolution failure when used in the context of your application? If so can you send me your module.xml and supports() method of your transreptor. If this contains sensitive stuff please send it to the support@1060research.com email.

Cheers,
Tony
It's fixed !
Joined: 14-August-2008
Posts: 2
Posted: 19-August-2008 16:21
Hi Tab - Thanks for your reply.

It turns out that I just have to specify the correct return class in supports(IURRepresentation aFrom, Class aTo) method. ;)

DOMXDAAspect instead of IURAspect ...


   
 new topic  post reply  To find out about new replies to this post as they occur
please subscribe to one of these feeds:
AtomRSS moderate 
© 2003-2006, 1060 Research Limited. 1060 registered trademark, NetKernel trademark of 1060 Research Limited.