summaryrefslogtreecommitdiffstats
path: root/sca-java-1.x/branches/java-M1/java/sca/containers/container.rhino/src/test/resources/org/apache/tuscany/container/rhino/rhino/RhinoE4XScriptTestCase.js
diff options
context:
space:
mode:
authorlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2009-11-11 23:11:40 +0000
committerlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2009-11-11 23:11:40 +0000
commit76e9f96ca7f494088fe3af5a46ad0d153e961008 (patch)
treee44436205dcb28d3d8c6352fa7b36a90f59db2a1 /sca-java-1.x/branches/java-M1/java/sca/containers/container.rhino/src/test/resources/org/apache/tuscany/container/rhino/rhino/RhinoE4XScriptTestCase.js
parentf9be2165328dc76f562938566057e89c0723fe08 (diff)
Moving 1.x branches
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@835139 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-1.x/branches/java-M1/java/sca/containers/container.rhino/src/test/resources/org/apache/tuscany/container/rhino/rhino/RhinoE4XScriptTestCase.js')
-rw-r--r--sca-java-1.x/branches/java-M1/java/sca/containers/container.rhino/src/test/resources/org/apache/tuscany/container/rhino/rhino/RhinoE4XScriptTestCase.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/sca-java-1.x/branches/java-M1/java/sca/containers/container.rhino/src/test/resources/org/apache/tuscany/container/rhino/rhino/RhinoE4XScriptTestCase.js b/sca-java-1.x/branches/java-M1/java/sca/containers/container.rhino/src/test/resources/org/apache/tuscany/container/rhino/rhino/RhinoE4XScriptTestCase.js
new file mode 100644
index 0000000000..20dc2245f9
--- /dev/null
+++ b/sca-java-1.x/branches/java-M1/java/sca/containers/container.rhino/src/test/resources/org/apache/tuscany/container/rhino/rhino/RhinoE4XScriptTestCase.js
@@ -0,0 +1,11 @@
+
+function process(inXML) {
+
+ var greeting = "hello " + inXML..*::in0;
+ var outXML =
+ <helloworldaxis:getGreetingsResponse xmlns:helloworldaxis="http://helloworld.samples.tuscany.apache.org">
+ <helloworldaxis:getGreetingsReturn>{ greeting }</helloworldaxis:getGreetingsReturn>
+ </helloworldaxis:getGreetingsResponse>;
+
+ return outXML;
+}