AnsweredAssumed Answered

java webservice content transformation

Question asked by leftright on Mar 29, 2014
Latest reply on Apr 4, 2014 by kaynezhang
I am interested how transform method from ContentServiceSoapBindingStub works for java webservice:(link below), java.lang.String, org.alfresco.webservice.types.Reference, java.lang.String, org.alfresco.webservice.types.ContentFormat)
Method has the following parameters
(Reference source, java.lang.String property, Reference destinationReference, java.lang.String destinationProperty, ContentFormat destinationFormat)
So if I understand correctly:  source is the reference to source of transformation, destinationReference is the target of transformation, content fromat is a pair of mimetype and encoding(ContentFormat format = new ContentFormat("image/jpeg", "UTF-8");  ).

But what are the other two parameters java.lang.String destinationProperty  and java.lang.String property.
Also how does this method work does it actually create new transormed Node or does it just return the transformed node content.
How does one know if the transformation fails with this method?