Author: keith
Date: Mon Jun  2 22:20:20 2008
New Revision: 17808
URL: http://wso2.org/svn/browse/wso2?view=rev&revision=17808

Log:
Updating docs so that we suggest importing the wsrequest js relatively


Modified:
   trunk/mashup/java/xdocs/consumingservices.html
   trunk/mashup/java/xdocs/helloworldclient.html

Modified: trunk/mashup/java/xdocs/consumingservices.html
URL: 
http://wso2.org/svn/browse/wso2/trunk/mashup/java/xdocs/consumingservices.html?rev=17808&r1=17807&r2=17808&view=diff
==============================================================================
--- trunk/mashup/java/xdocs/consumingservices.html      (original)
+++ trunk/mashup/java/xdocs/consumingservices.html      Mon Jun  2 22:20:20 2008
@@ -216,7 +216,7 @@
     order to use the native version, import it like this:</p>
 
 <p class="Code">&lt;script type="text/javascript"
-    src="/js/wso2/WSRequest.js"&gt;&lt;/script&gt;</p>
+    src="js/wso2/WSRequest.js"&gt;&lt;/script&gt;</p>
 
 <p></p>
 

Modified: trunk/mashup/java/xdocs/helloworldclient.html
URL: 
http://wso2.org/svn/browse/wso2/trunk/mashup/java/xdocs/helloworldclient.html?rev=17808&r1=17807&r2=17808&view=diff
==============================================================================
--- trunk/mashup/java/xdocs/helloworldclient.html       (original)
+++ trunk/mashup/java/xdocs/helloworldclient.html       Mon Jun  2 22:20:20 2008
@@ -38,7 +38,7 @@
     
 <p>In Notepad or your favorite html editor, type the following text:</p>
 
-<pre class="Code">&lt;html&gt;<br>    &lt;head&gt;<br>        &lt;META 
http-equiv="Content-Type" content="text/html; charset=UTF-8"&gt;<br>        
&lt;title&gt;Hello World Client&lt;/title&gt;<br>        &lt;script 
type="text/javascript" src="/js/wso2/WSRequest.js"&gt;&lt;/script&gt;<br>       
 &lt;script type="text/javascript" 
src="/services/bob/helloworld?stub"&gt;&lt;/script&gt;<br>    &lt;/head&gt;<br> 
   &lt;body&gt;<br>        &lt;p&gt;  <br>            &lt;script&gt;<br>        
        &lt;!-- use the generated stub to call the mashup service --&gt;<br>    
            var response = helloworld.hello();<br><br>                &lt;!-- 
write the response to the browser --&gt;<br>                
document.write(response);<br>            &lt;/script&gt; <br>        &lt;/p&gt; 
  <br>    &lt;/body&gt;<br>&lt;/html&gt;</pre>
+<pre class="Code">&lt;html&gt;<br>    &lt;head&gt;<br>        &lt;META 
http-equiv="Content-Type" content="text/html; charset=UTF-8"&gt;<br>        
&lt;title&gt;Hello World Client&lt;/title&gt;<br>        &lt;script 
type="text/javascript" src="js/wso2/WSRequest.js"&gt;&lt;/script&gt;<br>        
&lt;script type="text/javascript" 
src="/services/bob/helloworld?stub"&gt;&lt;/script&gt;<br>    &lt;/head&gt;<br> 
   &lt;body&gt;<br>        &lt;p&gt;  <br>            &lt;script&gt;<br>        
        &lt;!-- use the generated stub to call the mashup service --&gt;<br>    
            var response = helloworld.hello();<br><br>                &lt;!-- 
write the response to the browser --&gt;<br>                
document.write(response);<br>            &lt;/script&gt; <br>        &lt;/p&gt; 
  <br>    &lt;/body&gt;<br>&lt;/html&gt;</pre>
 
 
     

_______________________________________________
Mashup-dev mailing list
[email protected]
http://www.wso2.org/cgi-bin/mailman/listinfo/mashup-dev

Reply via email to