View Full Version : Call an xaction from php
Hi,
i am trying to integrate pentaho with php. I must call an xaction from a php script. I'm using a php java bridge but i don't know what class i must include.
Can someone show me an example?
Thank you in advance for your help.
Enzo
Taqua
11-14-2008, 11:48 AM
Why dont you simply install the platform next to your PHP server (as a separate process). Then you can call the server via ordinary HTTP calls.
http://www.php.net/manual/en/book.http.php
stoddn
11-14-2008, 11:53 AM
Have you taken a look at the ViewAction servlet?
Usually called like http://localhost:8080/pentaho/ViewAction?solution=mySolution&path=myPath&action=myAction.xaction
Forgive me if you've already gone this far, but a pretty simple approach if all your PHP needs to do is redirect to Pentaho. Of course the real question is how does your PHP app know this URL?
I have already seen ViewAction servlet but i must show the result embedded in a html page. I can't redirect to Pentaho.
I'm developing a BI component for Joomla. I use Apache server and, based on my researches, i think i can't install Pentaho on Apache...
Hi,
After trying using Mondrian/JPivot I'd like to try and integrate JPivot into my own web application. The problem is that my web app is entirely written in PHP without a J2EE server in sight.
Has anybody tried integrating Mondrian/JPivot into non-JSP apps?
Thank you in advance for your help
Enzo
http://forums.pentaho.org/images/buttons/quote.gif (http://forums.pentaho.org/newreply.php?do=newreply&p=150446)