Saturday, September 16, 2006
Something you'll need for shure in Poland
Well, if you don't want your laptop to lie dead soon the first thing to buy when in Poland is an adaptor like this from DPM Elektronik.
Tuesday, September 05, 2006
Php and SOAP, getting to the corporate business intelligence repository
What follows is a snippet taken from a very old experiment I did, integrating a php application with BusinessObject's WebIntelligence 2.7.x through it's (very experimental) webservices toolkit, which was really promising but Java and .NET oriented ;)
Php integration was done through nuSOAP.
I know that it's old and not really about a widespread subject, but it was really interesting and somehow fun to build single sign on between WebI and phpBB :-D
// include the class include("nusoap.php"); // create a instance of the SOAP client object // remember that this script is the client, // accessing the web service provided by BusinessObjects $soapclient = new soapclient("http://192.168.1.99:8080/wiws/services/wiws.businessobjects.com"); // uncomment the next line to see debug messages // $soapclient->debug_flag = 1; // set up an array containing input parameters to be // passed to the remote procedure 'userName' => 'Administrator', // username 'password' => '', // password 'deltaUTC' => 0, // utc delta ); // invoke the method on the server $result = $soapclient->call("login", $params); // print the session ID // show corporate documents //$params3 = array( // 'session' => $result, // 'listType' => 'corporate', // 'category' => '', // 'sortOn' => 0, // 'refresh' => 1, //); //$corporate = $soapclient->call("getDocumentList", $params3); // if (is_array($corporate['resultElements'])) // { // foreach ($corporate['resultElements'] as $r) // { // echo "- " .
// echo "
"; // echo $r['snippet'] . "(" . //$r['cachedSize'] . ")"; // echo "";
// } // } // logout 'session' => $result, // sessionid ); // invoke the method on the server $result2 = $soapclient->call("logout", $params2); // print the results of the search ?>
Php integration was done through nuSOAP.
I know that it's old and not really about a widespread subject, but it was really interesting and somehow fun to build single sign on between WebI and phpBB :-D
Subscribe to:
Posts (Atom)