On Thu, Feb 26, 2009 at 7:28 AM, Wouter Horré
<wouter.ho...@cs.kuleuven.be> wrote:
> Hi,
>
> Thanks for your clarification. I tried with 1.x from svn and I got it
> working now.
>
> One more question: the write method on my processor is never called. I
> had to implement toString() on my model classes to get it working. Is
> this intended behavior?

How are you testing the write method ? If you adapt the
testReadWriteCompositeWithAttributeProcessor test [1] to use your own
processor, does the write method gets called ? Note that this method
is only supposed to be called when you try to write the composite back
to a file.


[1] 
https://svn.apache.org/repos/asf/tuscany/branches/sca-java-1.x/modules/assembly-xml/src/test/java/org/apache/tuscany/sca/assembly/xml/ReadWriteAnyAttributeTestCase.java


-- 
Luciano Resende
Apache Tuscany, Apache PhotArk
http://people.apache.org/~lresende
http://lresende.blogspot.com/

Reply via email to