Announcement

Collapse
No announcement yet.

Using portlets for openXchange

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Using portlets for openXchange

    Hello everybody,

    I have search the web for a long time without success.
    I want to create portlets with functionnalities of openXchange (one to display the calendar, an other to display mails, an other to show today's tasks ...).
    In one word, portlets which offers the functionnalities of the Portal (but not one big portlet, many simple ones).


    I see that openXchange starts a XML-RPC service.
    Did it offers web services ?
    How can I use XML-RPC ?

    Or, it is impossible to do a portal (like JBoss Portal or Liferay) with the functionnalities of openXchange ?


    Thanks.

  • #2
    I wouldn't know to which XML-RPC API you refer to, but the client interface I would recommend (for OX6, mind you) is the new Ajax Interface described here:



    Or you might want to give the WebDAV interface a look (depending on your tastes):



    I prefer the AJAX interface, but thats just personal preference. With this info it should be easy to write (and maybe contribute) an OX client API and with that in turn you should be able to write Portlets (or whatever).

    Comment


    • #3
      Ajax Get method don't works ?

      I've a server running at http://172.30.58.8/ (you can test it with user "yves", password "yves"). And I try, mannualy, to access it via the ajax method with http://172.30.58.8/ajax/login?action...&password=yves but it don't works.

      A solution ?

      Comment


      • #4
        Hm, it seems I can't access your server from here. Here is what usually works with a running OX:

        $ telnet localhost 80
        Trying ::1...
        telnet: connect to address ::1: Connection refused
        Trying 127.0.0.1...
        Connected to localhost.
        Escape character is '^]'.
        GET /ajax/login?action=login&name=mylogin&password=mypasswd
        {"session":"ee4c6c1304cd45cc3f91977142258b6c","ran dom":"1172665512186"}

        What did you try? Did you use your browser (that should work also)? What was the reaction you got?
        Last edited by Guest; 02-28-2007, 02:30 PM.

        Comment


        • #5
          I have done 3 tests

          1. I try via my firefox browser (http://172.30.58.8/ajax/login?action...&password=yves) and it gives me :
          -----------------------------------------------------------------------------------------
          -----------------------------------------------------------------------------------------
          Error 404
          172.30.58.8
          Wed Feb 28 15:07:46 2007
          Apache/2.0.49 (Linux/SuSE)


          2. I try telnet via the computer where the server is installed (o localhost 80), and it gives me :
          -----------------------------------------------------------------------------------------
          -----------------------------------------------------------------------------------------

          telnet> o localhost 80
          Trying 127.0.0.1...
          Connected to localhost.
          Escape character is '^]'.
          GET /ajax/login?action=login&name=yves&password=yves
          <?xml version="1.0" encoding="ISO-8859-1"?>
          <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
          <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
          <head>
          <title>Object not found!</title>
          <link rev="made" href="mailto:%5bno%20address%20given%5d" />
          <style type="text/css"><!--/*--><![CDATA[/*><!--*/
          body { color: #000000; background-color: #FFFFFF; }
          a:link { color: #0000CC; }
          p, address {margin-left: 3em;}
          span {font-size: smaller;}
          /*]]>*/--></style>
          </head>

          <body>
          <h1>Object not found!</h1>
          <p>

          The requested URL was not found on this server.



          If you entered the URL manually please check your
          spelling and try again.



          </p>
          <p>
          If you think this is a server error, please contact
          the <a href="mailto:%5bno%20address%20given%5d">webmaster </a>.

          </p>

          <h2>Error 404</h2>
          <address>
          <a href="/">linux.site</a><br />

          <span>Wed Feb 28 14:44:32 2007<br />
          Apache/2.0.49 (Linux/SuSE)</span>
          </address>
          </body>
          </html>

          Connection closed by foreign host.


          3. I try to connect to the server with another computer (o 172.30.58.8 80) and it gives me :
          -----------------------------------------------------------------------------------------
          -----------------------------------------------------------------------------------------
          Connexion to 172.30.58.8...


          It wait and give nothing

          Comment


          • #6
            this turns into a installation problem. i will move this thread into the install forum.

            do you see the apache page when you try to open your server without the /ajax/? (just the ip)

            so, you get a 404 when you try to open the ajax servlet. this means that mod_jk is not implemented correct. maybe it is not installed right or the configuration is not right. do you see a mod_jk log? what can you see in the apache log? provides us with some information please.

            Comment


            • #7
              I can access to my server from a distant computer.
              I can also access to my account login=yves, password=yves with a distant computer (and do the work I want).

              But, the ajax servlet don't work.
              Where can I find the mod_jk.log ?

              Comment


              • #8
                Originally posted by portal_man View Post
                I can access to my server from a distant computer.
                I can also access to my account login=yves, password=yves with a distant computer (and do the work I want).

                But, the ajax servlet don't work.
                Where can I find the mod_jk.log ?
                how can you access to the groupware when the ajax servlet is not running? this is impossible. do you mean ssh when you write "my account yves"?

                portal_man i suggest you read our installation document for a detailed installation. there you will find all information about mod_jk. the log file is defined by yourself

                Comment


                • #9
                  I get access to ox by this adress on a remote computer :


                  (172.30.58.8 is the ip of the computer (using suse) where I install ox)

                  I look at the doc for mod_jk.log.
                  But I still don't understand why ox works and the ajax servlet don't.

                  Comment


                  • #10
                    I have used oxinstall-2.3.2.SLES.bin to install ox.
                    Can it be a reason of my problems ?
                    Last edited by Guest; 02-28-2007, 05:03 PM.

                    Comment


                    • #11
                      Originally posted by portal_man View Post
                      I have used oxinstall-2.3.2.SLES.bin to install ox.
                      Can it be a reason of my problems ?
                      portal_man, this forum is for community area only. you have bought the open-xchange 5 server and this means you have access to the open-xchange maintenance web and the maintenance web forum.

                      in this forum you can only talk about the new Open-Xchange Server Codename: Hyperion and only this server provides a ajax frontend.
                      this is a misstake on your side.

                      Comment

                      Working...
                      X