Homepage | Products | OX Knowledge Base | Support | Try Now | Contact | Company
OX Logo
Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    portal_man Guest

    Question 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. #2
    Francisco Laguna Guest

    Default

    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:

    http://typo3.open-xchange.com/wiki/i...title=HTTP_API

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

    http://typo3.open-xchange.com/wiki/i...le=Oxwebdavapi

    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).

  3. #3
    portal_man Guest

    Default 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 ?

  4. #4
    Francisco Laguna Guest

    Default

    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 Francisco Laguna; 02-28-2007 at 02:30 PM.

  5. #5
    portal_man Guest

    Default

    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

  6. #6
    Ben Pahne Guest

    Default

    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.

  7. #7
    portal_man Guest

    Default

    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 ?

  8. #8
    Ben Pahne Guest

    Default

    Quote 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

  9. #9
    portal_man Guest

    Default

    I get access to ox by this adress on a remote computer :
    http://172.30.58.8/

    (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.

  10. #10
    portal_man Guest

    Default

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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •