[mashup-dev] svn commit r6639 -
trunk/mashup/java/modules/samples/storexml
svn at wso2.org
svn at wso2.org
Mon Aug 27 04:37:05 PDT 2007
Author: keith
Date: Mon Aug 27 04:36:57 2007
New Revision: 6639
Modified:
trunk/mashup/java/modules/samples/storexml/storexml.js
Log:
Changing anyType to any
Modified: trunk/mashup/java/modules/samples/storexml/storexml.js
==============================================================================
--- trunk/mashup/java/modules/samples/storexml/storexml.js (original)
+++ trunk/mashup/java/modules/samples/storexml/storexml.js Mon Aug 27 04:36:57 2007
@@ -30,8 +30,8 @@
removal of the element. This operation returns a copy of the XML element
stored (when successful) or a <fault> element when it fails. If the name
already exists, the XML associated with it is replaced by the submitted value.</div>;
-store.inputTypes = {"name" : "string", "value" : "anyType"};
-store.outputType = "anyType";
+store.inputTypes = {"name" : "string", "value" : "any"};
+store.outputType = "any";
function store(name, value) {
try {
var valueXML = value.toXMLString();
@@ -54,7 +54,7 @@
<fault> element when it fails (e.g. no element has been stored with that
name).</div>;
retrieve.inputTypes = {"name" : "string"};
-retrieve.outputType = "anyType";
+retrieve.outputType = "any";
retrieve.safe = true;
function retrieve(name) {
var file = new File(storepath + name + ".xml");
@@ -75,7 +75,7 @@
a copy of the XML element that has just been deleted (when successful) or a
<fault> element when it fails.</div>;
remove.inputTypes = {"name" : "string"};
-remove.outputType = "anyType";
+remove.outputType = "any";
function remove(name) {
var file = new File(storepath + name + ".xml");
More information about the Mashup-dev
mailing list