[ http://issues.apache.org/jira/browse/TUSCANY-418?page=all ]
Venkatakrishnan updated TUSCANY-418:
------------------------------------
Attachment: Tuscany-JS-E4X-J418-Aug-26.diff
Here is a patch that ports the e4x capability of the javascript container from
M1. I have also added the following: -
- introduced a testcase to invoke a js function that uses e4x. The input to
this function is an XML and the output is also an XML. The
RhinoFunctionInvoker class's data conversion methods have been tweaked a bit
for handling OMElement
- enabled references in the javascript component type. There is testcase that
demonstrates a javascript function calling over a reference. For this I have
introduced two classes - a Proxy and an InvocationHandler
- there is an xml beans based utility that I have included for creating xml
instances for xsds. This is used to ease (as you have illustrated in the
mailing list) e4x programming. Though this utility serves well at the present
moment it could be enhanced in the future.
I downloaded the current source at Revision: 437172 and applied all the changes
after which I built successfully. I did a svn diff from
sca\containers\container.javascript for this patch.
Thanks
- Venkat
> JavaScript components using E4X with service references
> -------------------------------------------------------
>
> Key: TUSCANY-418
> URL: http://issues.apache.org/jira/browse/TUSCANY-418
> Project: Tuscany
> Issue Type: Improvement
> Components: Java SCA JavaScript Container
> Affects Versions: Java-M2
> Reporter: ant elder
> Fix For: Java-M2
>
> Attachments: Tuscany-JS-E4X-J418-Aug-26.diff
>
>
> Currently JavaScript components cannot use E4X when calling service references
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]