You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by an...@apache.org on 2007/05/10 21:37:15 UTC
svn commit: r536976 -
/incubator/tuscany/java/sca/samples/helloworld-jsonrpc/src/main/webapp/HelloWorldJSONRPC.html
Author: antelder
Date: Thu May 10 12:37:15 2007
New Revision: 536976
URL: http://svn.apache.org/viewvc?view=rev&rev=536976
Log:
TUSCANY-1262, Apply patch from Bert Lamb to fix the jsonrpc sample
Modified:
incubator/tuscany/java/sca/samples/helloworld-jsonrpc/src/main/webapp/HelloWorldJSONRPC.html
Modified: incubator/tuscany/java/sca/samples/helloworld-jsonrpc/src/main/webapp/HelloWorldJSONRPC.html
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/helloworld-jsonrpc/src/main/webapp/HelloWorldJSONRPC.html?view=diff&rev=536976&r1=536975&r2=536976
==============================================================================
--- incubator/tuscany/java/sca/samples/helloworld-jsonrpc/src/main/webapp/HelloWorldJSONRPC.html (original)
+++ incubator/tuscany/java/sca/samples/helloworld-jsonrpc/src/main/webapp/HelloWorldJSONRPC.html Thu May 10 12:37:15 2007
@@ -25,7 +25,7 @@
//djConfig.debugAtAllCosts = true;
</script>
- <script type="text/javascript" src="services/services/SCA/scripts"></script>
+ <script type="text/javascript" src="services/SCA/scripts"></script>
<script language="JavaScript">
SCA = new JSONRpcClient("services/services/HelloWorldJSONService");
@@ -62,7 +62,7 @@
This example uses the JavaScript served from
<a href="services/SCA/scripts">services/SCA/scripts</a>
to make JSON-RPC requests to the service located at
- <a href="services/HelloWorldJSONService">services/HelloWorldJSONService</a>
+ <a href="services/services/HelloWorldJSONService">services/HelloWorldJSONService</a>
</tr>
<tr>
<td>Request</td>
@@ -95,7 +95,7 @@
to create a JavaScript object <code>helloWorldService</code> for the service at
<a href="services/HelloWorldJSONService">services/HelloWorldJSONService</a>
using <a href="http://manual.dojotoolkit.org/WikiHome/DojoDotBook/Book9">Dojo's RPC classes</a>
- and providing them with <a href="services/HelloWorldJSONService?smd">services/HelloWorldJSONService?smd</a>
+ and providing them with <a href="services/services/HelloWorldJSONService?smd">services/services/HelloWorldJSONService?smd</a>
for <a href="http://dojo.jot.com/SMD">Simple Method Description (SMD)</a> input.</p>
<p>It then creates a Dojo button that will envoke the <code>getGreetings</code> method of the <code>helloWorldService</code> object.</p>
</tr>
@@ -128,7 +128,7 @@
handlerNode.innerHTML = "<p>" + result + "</p>" ;
}
- var helloWorldService = new dojo.rpc.JsonService("services/HelloWorldJSONService?smd");
+ var helloWorldService = new dojo.rpc.JsonService("services/services/HelloWorldJSONService?smd");
</script>
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org