Revision: 4725
Author:   seba.wagner
Date:     Thu Dec 15 02:59:46 2011
Log:      Add Integration Section in Website / Docs
http://code.google.com/p/openmeetings/source/detail?r=4725

Added:
 /trunk/singlewebapp/docs/SoapRestAPI.html
 /trunk/singlewebapp/xdocs/SoapRestAPI.xml
Modified:
 /trunk/singlewebapp/docs/RestAPI.html
 /trunk/singlewebapp/docs/css/openmeetings.css
 /trunk/singlewebapp/docs/dependencies.html
 /trunk/singlewebapp/docs/documentation.html
 /trunk/singlewebapp/docs/downloads.html
 /trunk/singlewebapp/docs/get-involved.html
 /trunk/singlewebapp/docs/index.html
 /trunk/singlewebapp/docs/license.html
 /trunk/singlewebapp/docs/mail-lists.html
 /trunk/singlewebapp/docs/svn.html
 /trunk/singlewebapp/docs/team-list.html
 /trunk/singlewebapp/xdocs/RestAPI.xml
 /trunk/singlewebapp/xdocs/css/openmeetings.css
 /trunk/singlewebapp/xdocs/stylesheets/project.xml

=======================================
--- /dev/null
+++ /trunk/singlewebapp/docs/SoapRestAPI.html   Thu Dec 15 02:59:46 2011
@@ -0,0 +1,294 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd";>
+
+<!--
+Copyright 1999-2004 The Apache Software Foundation
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+
+<!-- Content Stylesheet for Site -->
+
+
+<!-- start the processing -->
+ <!-- ====================================================================== --> + <!-- GENERATED FILE, DO NOT EDIT, EDIT THE XML FILE IN xdocs INSTEAD! -->
+    <!-- Main Page Section -->
+ <!-- ====================================================================== -->
+    <html>
+        <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
+
+ <meta name="author" value="
+                       Sebastian Wagner
+               ">
+            <meta name="email" value="[email protected]">
+
+
+
+
+
+
+
+            <title>Apache OpenMeetings - Home</title>
+ <link rel="stylesheet" type="text/css" href="css/openmeetings.css">
+        </head>
+
+ <body bgcolor="#ffffff" text="#000000" link="#123465" vlink="#123465" alink="#000000">
+            <table border="0" width="100%" cellspacing="0">
+                <!-- TOP IMAGE -->
+                <tr>
+                    <td align='LEFT'>
+                    <td align="left">
+<a href="http://incubator.apache.org/openmeetings/";><img src="./images/logo-2.jpg" alt="Apache OpenMeetings" border="0"/></a>
+</td>
+                    </td>
+                    <td align='LEFT'>
+                    <td width="80%" align="left" valign="bottom" >
+
+</td>
+                    </td>
+                </tr>
+            </table>
+            <table border="0" width="100%" cellspacing="4">
+                <tr><td colspan="2">
+                    <hr noshade="" size="1"/>
+                </td></tr>
+
+                <tr>
+                    <!-- LEFT SIDE NAVIGATION -->
+                    <td width="10%" valign="top" nowrap="true">
+
+                    <!-- special ACon Logo - leave here for next time
+                    <a href="http://apachecon.com/2005/US/";>
+ <img src="http://apache.org/images/ac2005us_blue_125x125.jpg"; height="125" + width="125" border="0" alt="ApacheCon US 2005" />
+                    </a>  -->
+
+                   <!-- regular menu -->
+
+
+    <!-- ============================================================ -->
+
+               <div class="ro">
+                 <div class="lo">
+                   <div class="ru">
+                     <div class="lu">
+                       <div class="inhalt">
+
+               <font color="#000000" face="arial,helvetica,sanserif" size="2pt" 
>
+               <b>General</b>
+               </a>
+ <hr style="width:100%; color:#999999; background-color:#999999; height:1px; border:0px;"/>
+                      <ul>
+ <font color="#000000" face="arial,helvetica,sanserif" size="2pt">
+                               <li>    <a href="./index.html">Home</a>
+</li>
+                               </font>
+ <font color="#000000" face="arial,helvetica,sanserif" size="2pt">
+                               <li>    <a href="./license.html">License</a>
+</li>
+                               </font>
+ <font color="#000000" face="arial,helvetica,sanserif" size="2pt">
+                               <li>    <a href="http://www.apache.org/";>ASF</a>
+</li>
+                               </font>
+ <font color="#000000" face="arial,helvetica,sanserif" size="2pt">
+                               <li>    <a href="./downloads.html">Downloads</a>
+</li>
+                               </font>
+                                               </ul>
+               </div>
+             </div>
+           </div>
+         </div>
+       </div>
+               <div class="ro">
+                 <div class="lo">
+                   <div class="ru">
+                     <div class="lu">
+                       <div class="inhalt">
+
+               <font color="#000000" face="arial,helvetica,sanserif" size="2pt" 
>
+               <b>Community</b>
+               </a>
+ <hr style="width:100%; color:#999999; background-color:#999999; height:1px; border:0px;"/>
+                      <ul>
+ <font color="#000000" face="arial,helvetica,sanserif" size="2pt">
+                               <li>    <a href="./get-involved.html">Get 
Involved</a>
+</li>
+                               </font>
+ <font color="#000000" face="arial,helvetica,sanserif" size="2pt">
+                               <li>    <a 
href="./team-list.html">Committers</a>
+</li>
+                               </font>
+ <font color="#000000" face="arial,helvetica,sanserif" size="2pt">
+                               <li>    <a href="./mail-lists.html">Mailing 
Lists</a>
+</li>
+                               </font>
+ <font color="#000000" face="arial,helvetica,sanserif" size="2pt"> + <li> <a href=".https://cwiki.apache.org/OPENMEETINGS/";>Wiki</a>
+</li>
+                               </font>
+                                               </ul>
+               </div>
+             </div>
+           </div>
+         </div>
+       </div>
+               <div class="ro">
+                 <div class="lo">
+                   <div class="ru">
+                     <div class="lu">
+                       <div class="inhalt">
+
+               <font color="#000000" face="arial,helvetica,sanserif" size="2pt" 
>
+               <b>Development</b>
+               </a>
+ <hr style="width:100%; color:#999999; background-color:#999999; height:1px; border:0px;"/>
+                      <ul>
+ <font color="#000000" face="arial,helvetica,sanserif" size="2pt">
+                               <li>    <a href="./svn.html">Source Code</a>
+</li>
+                               </font>
+ <font color="#000000" face="arial,helvetica,sanserif" size="2pt"> + <li> <a href="http://issues.apache.org/jira/browse/OPENMEETINGS";>JIRA</a>
+</li>
+                               </font>
+ <font color="#000000" face="arial,helvetica,sanserif" size="2pt">
+                               <li>    <a 
href="./dependencies.html">Dependencies</a>
+</li>
+                               </font>
+                                               </ul>
+               </div>
+             </div>
+           </div>
+         </div>
+       </div>
+               <div class="ro">
+                 <div class="lo">
+                   <div class="ru">
+                     <div class="lu">
+                       <div class="inhalt">
+
+               <font color="#000000" face="arial,helvetica,sanserif" size="2pt" 
>
+               <b>Integration</b>
+               </a>
+ <hr style="width:100%; color:#999999; background-color:#999999; height:1px; border:0px;"/>
+                      <ul>
+ <font color="#000000" face="arial,helvetica,sanserif" size="2pt">
+                               <li>    <a href="./SoapRestAPI.html">SOAP/REST 
API</a>
+</li>
+                               </font>
+ <font color="#000000" face="arial,helvetica,sanserif" size="2pt">
+                               <li>    <a href="./RestAPI.html">REST API 
Sample</a>
+</li>
+                               </font>
+                                               </ul>
+               </div>
+             </div>
+           </div>
+         </div>
+       </div>
+        <br/>
+ <img src="images/apache-incubator-logo-no-borders.png" alt="apache-incubator-logo-no-borders.png" border="0"/>
+
+                    </td>
+                    <td width="90%" align="left" valign="top">
+ <table border="0" cellspacing="0" cellpadding="0" cellspacing="0" width="100%">
+      <tr><td ><!-- bgcolor="#EEEEEE" -->
+        <font color="#000000" face="verdana,arial,helvetica,sanserif">
+ <a name="Available WebServices"><strong>Available WebServices</strong></a> + <hr style="width:100%; color:#999999; background-color:#999999; height:1px; border:0px;"/>
+        </font>
+      </td></tr>
+      <tr><td>
+        <blockquote>
+                                    <div>
+                               <div>
+                                       <a href="UserService.html" 
target="_BLANK">
+                                               <b>UserService</b>
+                                       </a>
+                                       <br />
+                                       <div style="margin-left:20px">
+                                               <i>The Service contains methods 
to login and create hash to
+                                                       directly enter
+                                                       conference rooms, 
recordings or the application in general
+                                               </i>
+                                       </div>
+                               </div>
+                               <div>
+                                       <a href="RoomService.html" 
target="_BLANK">
+                                               <b>RoomService</b>
+                                       </a>
+                                       <br />
+                                       <div style="margin-left:20px">
+                                               <i>RoomService contains methods 
to manipulate rooms and create
+                                                       invitation hash</i>
+                                       </div>
+                               </div>
+                               <div>
+                                       <a href="FileService.html" 
target="_BLANK">
+                                               <b>FileService</b>
+                                       </a>
+                                       <br />
+                                       <div style="margin-left:20px">
+                                               <i>Contains methods to import 
and upload files into the Files
+                                                       section of the
+                                                       conference room and the 
personal drive of any user
+                                               </i>
+                                       </div>
+                               </div>
+                       </div>
+                            </blockquote>
+        </p>
+      </td></tr>
+      <tr><td><br/></td></tr>
+    </table>
+                                        </td>
+                </tr>
+
+                <!-- FOOTER -->
+                <tr><td colspan="2">
+                    <hr noshade="" size="1"/>
+                </td></tr>
+                <tr><td colspan="2">
+ <div align="center"><font color="#123465" size="-1"><em> + Copyright &#169; 2003-2011, The Apache Software Foundation
+                    </em></font></div>
+                </td></tr>
+            </table>
+        </body>
+    </html>
+<!-- end the processing -->
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
=======================================
--- /dev/null
+++ /trunk/singlewebapp/xdocs/SoapRestAPI.xml   Thu Dec 15 02:59:46 2011
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!-- Copyright 2006 The Apache Software Foundation Licensed under the Apache
+       License, Version 2.0 (the "License"); you may not use this file except 
in
+ compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software distributed
+       under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
+       OR CONDITIONS OF ANY KIND, either express or implied. See the License 
for
+ the specific language governing permissions and limitations under the License. -->
+<document>
+
+       <properties>
+               <title>Home</title>
+               <author email="[email protected]">
+                       Sebastian Wagner
+               </author>
+       </properties>
+
+       <body>
+
+               <section name="Available WebServices">
+
+                       <div>
+                               <div>
+                                       <a href="UserService.html" 
target="_BLANK">
+                                               <b>UserService</b>
+                                       </a>
+                                       <br />
+                                       <div style="margin-left:20px">
+                                               <i>The Service contains methods 
to login and create hash to
+                                                       directly enter
+                                                       conference rooms, 
recordings or the application in general
+                                               </i>
+                                       </div>
+                               </div>
+                               <div>
+                                       <a href="RoomService.html" 
target="_BLANK">
+                                               <b>RoomService</b>
+                                       </a>
+                                       <br />
+                                       <div style="margin-left:20px">
+                                               <i>RoomService contains methods 
to manipulate rooms and create
+                                                       invitation hash</i>
+                                       </div>
+                               </div>
+                               <div>
+                                       <a href="FileService.html" 
target="_BLANK">
+                                               <b>FileService</b>
+                                       </a>
+                                       <br />
+                                       <div style="margin-left:20px">
+                                               <i>Contains methods to import 
and upload files into the Files
+                                                       section of the
+                                                       conference room and the 
personal drive of any user
+                                               </i>
+                                       </div>
+                               </div>
+                       </div>
+
+               </section>
+
+
+       </body>
+</document>
=======================================
--- /trunk/singlewebapp/docs/RestAPI.html       Thu Dec 15 02:37:02 2011
+++ /trunk/singlewebapp/docs/RestAPI.html       Thu Dec 15 02:59:46 2011
@@ -167,6 +167,31 @@
<font color="#000000" face="arial,helvetica,sanserif" size="2pt">
                                <li>    <a 
href="./dependencies.html">Dependencies</a>
 </li>
+                               </font>
+                                               </ul>
+               </div>
+             </div>
+           </div>
+         </div>
+       </div>
+               <div class="ro">
+                 <div class="lo">
+                   <div class="ru">
+                     <div class="lu">
+                       <div class="inhalt">
+
+               <font color="#000000" face="arial,helvetica,sanserif" size="2pt" 
>
+               <b>Integration</b>
+               </a>
+ <hr style="width:100%; color:#999999; background-color:#999999; height:1px; border:0px;"/>
+                      <ul>
+ <font color="#000000" face="arial,helvetica,sanserif" size="2pt">
+                               <li>    <a href="./SoapRestAPI.html">SOAP/REST 
API</a>
+</li>
+                               </font>
+ <font color="#000000" face="arial,helvetica,sanserif" size="2pt">
+                               <li>    <a href="./RestAPI.html">REST API 
Sample</a>
+</li>
                                </font>
                                                </ul>
                </div>
@@ -206,7 +231,46 @@
         <blockquote>
<p>For example for the method getSession in the UserService, you would use this URL via REST:
                        </p>
+                                                <p>Sample URL: </p>
<a href="http://demo.openmeetings.de/openmeetings/services/UserService/getSession";>http://demo.openmeetings.de/openmeetings/services/UserService/getSession</a>
+                                                <p>Result: </p>
+                                                <div class="xmlcode">
+                               &lt;ns:getSessionResponse&gt;<br />
+ &lt;ns:return type="org.openmeetings.app.hibernate.beans.basic.Sessiondata"&gt;<br />
+                                 &lt;ax219:id&gt;156971&lt;/ax219:id&gt;<br />
+                                 &lt;ax219:language_id xsi:nil="true"/&gt;<br 
/>
+                                 &lt;ax219:organization_id xsi:nil="true"/&gt;<br 
/>
+   &lt;ax219:refresh_time&gt;2011-07-03T14:40:44.000Z&lt;/ax219:refresh_time&gt;<br />
+                                 &lt;ax219:sessionXml xsi:nil="true"/&gt;<br />
+   &lt;ax219:session_id&gt;26584705202d7c1de6cc8e7e28890e3d&lt;/ax219:session_id&gt;<br /> +   &lt;ax219:starttermin_time&gt;2011-07-03T14:40:44.000Z&lt;/ax219:starttermin_time&gt;<br />
+                                 &lt;ax219:storePermanent xsi:nil="true"/&gt;<br 
/>
+                                 &lt;ax219:user_id xsi:nil="true"/&gt;<br />
+                               &lt;/ns:return&gt;<br />
+                               &lt;/ns:getSessionResponse&gt;<br />
+                       </div>
+ <p>To login a user the call to auth would be:</p>
+                                                <p>Sample URL: </p>
+ <a href="http://demo.openmeetings.de/openmeetings/services/UserService/loginUser?SID=26584705202d7c1de6cc8e7e28890e3d&amp;username=hans&amp;userpass=test";>http://demo.openmeetings.de/openmeetings/services/UserService/loginUser?SID=26584705202d7c1de6cc8e7e28890e3d&amp;username=han&amp;userpass=test</a>
+                                                <p>Result: </p>
+                                                <div class="xmlcode">
+                               &lt;ns:loginUserResponse&gt;<br />
+                                 &lt;ns:return&gt;-11&lt;/ns:return&gt;<br />
+                               &lt;/ns:loginUserResponse&gt;<br />
+                       </div>
+ <p>=&gt; It does return -10, which is the error id cause we will not write down a SOAP login to our public server in this wiki. However the correct way to check this error would be to invoke the call to get the localized error message. So we invoke the method to get the error via REST:</p>
+                                                <p>Sample URL: </p>
+ <a href="http://demo.openmeetings.de/openmeetings/services/UserService/getErrorByCode?SID=26584705202d7c1de6cc8e7e28890e3d&amp;errorid=-10&amp;language_id=1";>http://demo.openmeetings.de/openmeetings/services/UserService/getErrorByCode?SID=26584705202d7c1de6cc8e7e28890e3d&amp;errorid=-10&amp;language_id=1</a>
+                                                <p>Result:</p>
+                                                <div class="xmlcode">
+                               &lt;ns:getErrorByCodeResponse&gt;<br />
+ &lt;ns:return type="org.openmeetings.app.data.beans.basic.ErrorResult"&gt;<br /> +   &lt;ax218:errmessage&gt;Username not found&lt;/ax218:errmessage&gt;<br />
+                                 
&lt;ax218:errorId&gt;-10&lt;/ax218:errorId&gt;<br />
+                                 
&lt;ax218:errortype&gt;Error&lt;/ax218:errortype&gt;<br />
+                               &lt;/ns:return&gt;<br />
+                               &lt;/ns:getErrorByCodeResponse&gt;<br />
+                       </div>
                             </blockquote>
         </p>
       </td></tr>
=======================================
--- /trunk/singlewebapp/docs/css/openmeetings.css       Thu Dec 15 02:37:02 2011
+++ /trunk/singlewebapp/docs/css/openmeetings.css       Thu Dec 15 02:59:46 2011
@@ -53,3 +53,8 @@
        margin: 0;
        padding: 0;
 }
+.xmlcode {
+       margin-left: 20px;
+       background-color: #eeeeee;
+       color: #0000ff;
+}
=======================================
--- /trunk/singlewebapp/docs/dependencies.html  Thu Dec 15 02:37:02 2011
+++ /trunk/singlewebapp/docs/dependencies.html  Thu Dec 15 02:59:46 2011
@@ -166,6 +166,31 @@
<font color="#000000" face="arial,helvetica,sanserif" size="2pt">
                                <li>    <a 
href="./dependencies.html">Dependencies</a>
 </li>
+                               </font>
+                                               </ul>
+               </div>
+             </div>
+           </div>
+         </div>
+       </div>
+               <div class="ro">
+                 <div class="lo">
+                   <div class="ru">
+                     <div class="lu">
+                       <div class="inhalt">
+
+               <font color="#000000" face="arial,helvetica,sanserif" size="2pt" 
>
+               <b>Integration</b>
+               </a>
+ <hr style="width:100%; color:#999999; background-color:#999999; height:1px; border:0px;"/>
+                      <ul>
+ <font color="#000000" face="arial,helvetica,sanserif" size="2pt">
+                               <li>    <a href="./SoapRestAPI.html">SOAP/REST 
API</a>
+</li>
+                               </font>
+ <font color="#000000" face="arial,helvetica,sanserif" size="2pt">
+                               <li>    <a href="./RestAPI.html">REST API 
Sample</a>
+</li>
                                </font>
                                                </ul>
                </div>
=======================================
--- /trunk/singlewebapp/docs/documentation.html Thu Dec 15 02:37:02 2011
+++ /trunk/singlewebapp/docs/documentation.html Thu Dec 15 02:59:46 2011
@@ -166,6 +166,31 @@
<font color="#000000" face="arial,helvetica,sanserif" size="2pt">
                                <li>    <a 
href="./dependencies.html">Dependencies</a>
 </li>
+                               </font>
+                                               </ul>
+               </div>
+             </div>
+           </div>
+         </div>
+       </div>
+               <div class="ro">
+                 <div class="lo">
+                   <div class="ru">
+                     <div class="lu">
+                       <div class="inhalt">
+
+               <font color="#000000" face="arial,helvetica,sanserif" size="2pt" 
>
+               <b>Integration</b>
+               </a>
+ <hr style="width:100%; color:#999999; background-color:#999999; height:1px; border:0px;"/>
+                      <ul>
+ <font color="#000000" face="arial,helvetica,sanserif" size="2pt">
+                               <li>    <a href="./SoapRestAPI.html">SOAP/REST 
API</a>
+</li>
+                               </font>
+ <font color="#000000" face="arial,helvetica,sanserif" size="2pt">
+                               <li>    <a href="./RestAPI.html">REST API 
Sample</a>
+</li>
                                </font>
                                                </ul>
                </div>
=======================================
--- /trunk/singlewebapp/docs/downloads.html     Thu Dec 15 02:37:02 2011
+++ /trunk/singlewebapp/docs/downloads.html     Thu Dec 15 02:59:46 2011
@@ -166,6 +166,31 @@
<font color="#000000" face="arial,helvetica,sanserif" size="2pt">
                                <li>    <a 
href="./dependencies.html">Dependencies</a>
 </li>
+                               </font>
+                                               </ul>
+               </div>
+             </div>
+           </div>
+         </div>
+       </div>
+               <div class="ro">
+                 <div class="lo">
+                   <div class="ru">
+                     <div class="lu">
+                       <div class="inhalt">
+
+               <font color="#000000" face="arial,helvetica,sanserif" size="2pt" 
>
+               <b>Integration</b>
+               </a>
+ <hr style="width:100%; color:#999999; background-color:#999999; height:1px; border:0px;"/>
+                      <ul>
+ <font color="#000000" face="arial,helvetica,sanserif" size="2pt">
+                               <li>    <a href="./SoapRestAPI.html">SOAP/REST 
API</a>
+</li>
+                               </font>
+ <font color="#000000" face="arial,helvetica,sanserif" size="2pt">
+                               <li>    <a href="./RestAPI.html">REST API 
Sample</a>
+</li>
                                </font>
                                                </ul>
                </div>
=======================================
--- /trunk/singlewebapp/docs/get-involved.html  Thu Dec 15 02:37:02 2011
+++ /trunk/singlewebapp/docs/get-involved.html  Thu Dec 15 02:59:46 2011
@@ -166,6 +166,31 @@
<font color="#000000" face="arial,helvetica,sanserif" size="2pt">
                                <li>    <a 
href="./dependencies.html">Dependencies</a>
 </li>
+                               </font>
+                                               </ul>
+               </div>
+             </div>
+           </div>
+         </div>
+       </div>
+               <div class="ro">
+                 <div class="lo">
+                   <div class="ru">
+                     <div class="lu">
+                       <div class="inhalt">
+
+               <font color="#000000" face="arial,helvetica,sanserif" size="2pt" 
>
+               <b>Integration</b>
+               </a>
+ <hr style="width:100%; color:#999999; background-color:#999999; height:1px; border:0px;"/>
+                      <ul>
+ <font color="#000000" face="arial,helvetica,sanserif" size="2pt">
+                               <li>    <a href="./SoapRestAPI.html">SOAP/REST 
API</a>
+</li>
+                               </font>
+ <font color="#000000" face="arial,helvetica,sanserif" size="2pt">
+                               <li>    <a href="./RestAPI.html">REST API 
Sample</a>
+</li>
                                </font>
                                                </ul>
                </div>
=======================================
--- /trunk/singlewebapp/docs/index.html Thu Dec 15 02:37:02 2011
+++ /trunk/singlewebapp/docs/index.html Thu Dec 15 02:59:46 2011
@@ -167,6 +167,31 @@
<font color="#000000" face="arial,helvetica,sanserif" size="2pt">
                                <li>    <a 
href="./dependencies.html">Dependencies</a>
 </li>
+                               </font>
+                                               </ul>
+               </div>
+             </div>
+           </div>
+         </div>
+       </div>
+               <div class="ro">
+                 <div class="lo">
+                   <div class="ru">
+                     <div class="lu">
+                       <div class="inhalt">
+
+               <font color="#000000" face="arial,helvetica,sanserif" size="2pt" 
>
+               <b>Integration</b>
+               </a>
+ <hr style="width:100%; color:#999999; background-color:#999999; height:1px; border:0px;"/>
+                      <ul>
+ <font color="#000000" face="arial,helvetica,sanserif" size="2pt">
+                               <li>    <a href="./SoapRestAPI.html">SOAP/REST 
API</a>
+</li>
+                               </font>
+ <font color="#000000" face="arial,helvetica,sanserif" size="2pt">
+                               <li>    <a href="./RestAPI.html">REST API 
Sample</a>
+</li>
                                </font>
                                                </ul>
                </div>
=======================================
--- /trunk/singlewebapp/docs/license.html       Thu Dec 15 02:37:02 2011
+++ /trunk/singlewebapp/docs/license.html       Thu Dec 15 02:59:46 2011
@@ -166,6 +166,31 @@
<font color="#000000" face="arial,helvetica,sanserif" size="2pt">
                                <li>    <a 
href="./dependencies.html">Dependencies</a>
 </li>
+                               </font>
+                                               </ul>
+               </div>
+             </div>
+           </div>
+         </div>
+       </div>
+               <div class="ro">
+                 <div class="lo">
+                   <div class="ru">
+                     <div class="lu">
+                       <div class="inhalt">
+
+               <font color="#000000" face="arial,helvetica,sanserif" size="2pt" 
>
+               <b>Integration</b>
+               </a>
+ <hr style="width:100%; color:#999999; background-color:#999999; height:1px; border:0px;"/>
+                      <ul>
+ <font color="#000000" face="arial,helvetica,sanserif" size="2pt">
+                               <li>    <a href="./SoapRestAPI.html">SOAP/REST 
API</a>
+</li>
+                               </font>
+ <font color="#000000" face="arial,helvetica,sanserif" size="2pt">
+                               <li>    <a href="./RestAPI.html">REST API 
Sample</a>
+</li>
                                </font>
                                                </ul>
                </div>
=======================================
--- /trunk/singlewebapp/docs/mail-lists.html    Thu Dec 15 02:37:02 2011
+++ /trunk/singlewebapp/docs/mail-lists.html    Thu Dec 15 02:59:46 2011
@@ -166,6 +166,31 @@
<font color="#000000" face="arial,helvetica,sanserif" size="2pt">
                                <li>    <a 
href="./dependencies.html">Dependencies</a>
 </li>
+                               </font>
+                                               </ul>
+               </div>
+             </div>
+           </div>
+         </div>
+       </div>
+               <div class="ro">
+                 <div class="lo">
+                   <div class="ru">
+                     <div class="lu">
+                       <div class="inhalt">
+
+               <font color="#000000" face="arial,helvetica,sanserif" size="2pt" 
>
+               <b>Integration</b>
+               </a>
+ <hr style="width:100%; color:#999999; background-color:#999999; height:1px; border:0px;"/>
+                      <ul>
+ <font color="#000000" face="arial,helvetica,sanserif" size="2pt">
+                               <li>    <a href="./SoapRestAPI.html">SOAP/REST 
API</a>
+</li>
+                               </font>
+ <font color="#000000" face="arial,helvetica,sanserif" size="2pt">
+                               <li>    <a href="./RestAPI.html">REST API 
Sample</a>
+</li>
                                </font>
                                                </ul>
                </div>
=======================================
--- /trunk/singlewebapp/docs/svn.html   Thu Dec 15 02:37:02 2011
+++ /trunk/singlewebapp/docs/svn.html   Thu Dec 15 02:59:46 2011
@@ -166,6 +166,31 @@
<font color="#000000" face="arial,helvetica,sanserif" size="2pt">
                                <li>    <a 
href="./dependencies.html">Dependencies</a>
 </li>
+                               </font>
+                                               </ul>
+               </div>
+             </div>
+           </div>
+         </div>
+       </div>
+               <div class="ro">
+                 <div class="lo">
+                   <div class="ru">
+                     <div class="lu">
+                       <div class="inhalt">
+
+               <font color="#000000" face="arial,helvetica,sanserif" size="2pt" 
>
+               <b>Integration</b>
+               </a>
+ <hr style="width:100%; color:#999999; background-color:#999999; height:1px; border:0px;"/>
+                      <ul>
+ <font color="#000000" face="arial,helvetica,sanserif" size="2pt">
+                               <li>    <a href="./SoapRestAPI.html">SOAP/REST 
API</a>
+</li>
+                               </font>
+ <font color="#000000" face="arial,helvetica,sanserif" size="2pt">
+                               <li>    <a href="./RestAPI.html">REST API 
Sample</a>
+</li>
                                </font>
                                                </ul>
                </div>
=======================================
--- /trunk/singlewebapp/docs/team-list.html     Thu Dec 15 02:37:02 2011
+++ /trunk/singlewebapp/docs/team-list.html     Thu Dec 15 02:59:46 2011
@@ -166,6 +166,31 @@
<font color="#000000" face="arial,helvetica,sanserif" size="2pt">
                                <li>    <a 
href="./dependencies.html">Dependencies</a>
 </li>
+                               </font>
+                                               </ul>
+               </div>
+             </div>
+           </div>
+         </div>
+       </div>
+               <div class="ro">
+                 <div class="lo">
+                   <div class="ru">
+                     <div class="lu">
+                       <div class="inhalt">
+
+               <font color="#000000" face="arial,helvetica,sanserif" size="2pt" 
>
+               <b>Integration</b>
+               </a>
+ <hr style="width:100%; color:#999999; background-color:#999999; height:1px; border:0px;"/>
+                      <ul>
+ <font color="#000000" face="arial,helvetica,sanserif" size="2pt">
+                               <li>    <a href="./SoapRestAPI.html">SOAP/REST 
API</a>
+</li>
+                               </font>
+ <font color="#000000" face="arial,helvetica,sanserif" size="2pt">
+                               <li>    <a href="./RestAPI.html">REST API 
Sample</a>
+</li>
                                </font>
                                                </ul>
                </div>
=======================================
--- /trunk/singlewebapp/xdocs/RestAPI.xml       Thu Dec 15 02:37:02 2011
+++ /trunk/singlewebapp/xdocs/RestAPI.xml       Thu Dec 15 02:59:46 2011
@@ -28,8 +28,43 @@

<p>For example for the method getSession in the UserService, you would use this URL via REST:
                        </p>
- <a href="http://demo.openmeetings.de/openmeetings/services/UserService/getSession";>http://demo.openmeetings.de/openmeetings/services/UserService/getSession</a>
-
+ <p>Sample URL: </p><a href="http://demo.openmeetings.de/openmeetings/services/UserService/getSession";>http://demo.openmeetings.de/openmeetings/services/UserService/getSession</a>
+                       <p>Result: </p>
+                       <div class="xmlcode">
+                               &#60;ns:getSessionResponse&#62;<br/>
+ &#60;ns:return type="org.openmeetings.app.hibernate.beans.basic.Sessiondata"&#62;<br/>
+                               
&#160;&#160;&#60;ax219:id&#62;156971&#60;/ax219:id&#62;<br/>
+                               &#160;&#160;&#60;ax219:language_id 
xsi:nil="true"/&#62;<br/>
+                               &#160;&#160;&#60;ax219:organization_id 
xsi:nil="true"/&#62;<br/>
+ &#160;&#160;&#60;ax219:refresh_time&#62;2011-07-03T14:40:44.000Z&#60;/ax219:refresh_time&#62;<br/>
+                               &#160;&#160;&#60;ax219:sessionXml 
xsi:nil="true"/&#62;<br/>
+ &#160;&#160;&#60;ax219:session_id&#62;26584705202d7c1de6cc8e7e28890e3d&#60;/ax219:session_id&#62;<br/> + &#160;&#160;&#60;ax219:starttermin_time&#62;2011-07-03T14:40:44.000Z&#60;/ax219:starttermin_time&#62;<br/>
+                               &#160;&#160;&#60;ax219:storePermanent 
xsi:nil="true"/&#62;<br/>
+                               &#160;&#160;&#60;ax219:user_id 
xsi:nil="true"/&#62;<br/>
+                               &#60;/ns:return&#62;<br/>
+                               &#60;/ns:getSessionResponse&#62;<br/>
+                       </div>
+                       <p>To login a user the call to auth would be:</p>
+ <p>Sample URL: </p><a href="http://demo.openmeetings.de/openmeetings/services/UserService/loginUser?SID=26584705202d7c1de6cc8e7e28890e3d&#38;username=hans&#38;userpass=test";>http://demo.openmeetings.de/openmeetings/services/UserService/loginUser?SID=26584705202d7c1de6cc8e7e28890e3d&#38;username=han&#38;userpass=test</a>
+                       <p>Result: </p>
+                       <div class="xmlcode">
+                               &#60;ns:loginUserResponse&#62;<br/>
+                               
&#160;&#160;&#60;ns:return&#62;-11&#60;/ns:return&#62;<br/>
+                               &#60;/ns:loginUserResponse&#62;<br/>
+                       </div>
+ <p>=> It does return -10, which is the error id cause we will not write down a SOAP login to our public server in this wiki. However the correct way to check this error would be to invoke the call to get the localized error message. So we invoke the method to get the error via REST:</p> + <p>Sample URL: </p><a href="http://demo.openmeetings.de/openmeetings/services/UserService/getErrorByCode?SID=26584705202d7c1de6cc8e7e28890e3d&#38;errorid=-10&#38;language_id=1";>http://demo.openmeetings.de/openmeetings/services/UserService/getErrorByCode?SID=26584705202d7c1de6cc8e7e28890e3d&#38;errorid=-10&#38;language_id=1</a>
+                       <p>Result:</p>
+                       <div class="xmlcode">
+                               &#60;ns:getErrorByCodeResponse&#62;<br/>
+ &#60;ns:return type="org.openmeetings.app.data.beans.basic.ErrorResult"&#62;<br/> + &#160;&#160;&#60;ax218:errmessage&#62;Username not found&#60;/ax218:errmessage&#62;<br/>
+                               
&#160;&#160;&#60;ax218:errorId&#62;-10&#60;/ax218:errorId&#62;<br/>
+ &#160;&#160;&#60;ax218:errortype&#62;Error&#60;/ax218:errortype&#62;<br/>
+                               &#60;/ns:return&#62;<br/>
+                               &#60;/ns:getErrorByCodeResponse&#62;<br/>
+                       </div>
                </section>


=======================================
--- /trunk/singlewebapp/xdocs/css/openmeetings.css      Thu Dec 15 02:37:02 2011
+++ /trunk/singlewebapp/xdocs/css/openmeetings.css      Thu Dec 15 02:59:46 2011
@@ -53,3 +53,8 @@
        margin: 0;
        padding: 0;
 }
+.xmlcode {
+       margin-left: 20px;
+       background-color: #eeeeee;
+       color: #0000ff;
+}
=======================================
--- /trunk/singlewebapp/xdocs/stylesheets/project.xml Thu Dec 15 02:37:02 2011 +++ /trunk/singlewebapp/xdocs/stylesheets/project.xml Thu Dec 15 02:59:46 2011
@@ -32,6 +32,11 @@
         <item name="Dependencies"           href="/dependencies.html"/>
     </menu>

+    <menu name="Integration">
+        <item name="SOAP/REST API"          href="/SoapRestAPI.html"/>
+        <item name="REST API Sample"           href="/RestAPI.html"/>
+    </menu>
+
     <!--
     <menu name="Integration">
         <item name="SOAP/REST API"          href="/integration_api.html"/>

--
You received this message because you are subscribed to the Google Groups 
"OpenMeetings developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/openmeetings-dev?hl=en.

Reply via email to