OBIEE and Mapviewer

I just read on the cook book of the OOW last november regarding using OBIEE with Mapviewer. However, I came to one part and I don't know what should put inside the file obiee_nsdp_xml_direct.jsp. Anybody have any idea how to do it? Or this file can be retrieve somewhere?
Thanks in advance =)

Sorry, should have included it in the workshop doc. Will be there this time.
Jerry Conrad wrote it. Hopefully he won't mind it being posted here.
Note its sample code and hence all the usual disclaimers apply.
Enclosing the code in CDATA.
<![CDATA[
<%@ page language="java" session="true" isThreadSafe="true" contentType="text/html; charset=UTF-8" %>
<%@ page import="javax.xml.parsers.*"%>
<%@ page import="java.net.*"%>
<%@ page import="java.io.*"%>
<%@ page import="org.w3c.dom.*"%>
<%
// Sample jsp code file to demonstrate one way to convert Answers xml to
// MapViewer's NSDP xml. Author: Jerry Conrad.
//set the character encoding to UTF-8 prior to accessing
//data in the request
request.setCharacterEncoding("UTF-8");
%>
<%
// RETRIEVE THE QUERY STRING PARAMETERS
String userName = request.getParameter("uid");
String userPassword = request.getParameter("password");
String thesid = request.getParameter("sid");
String nq_id = request.getParameter("nqid");
if (userName == null) {
     userName = "Administrator";
if (userPassword == null) {
     userPassword = "Test";
     Document domDoc = null;
     String fieldName = null;     
     String urlString = "http://" + request.getRemoteHost() + ":9704/analytics/saw.dll?Go&searchid=" + thesid + "&format=xml&NQId=" + nq_id;
     if (thesid != null) {
     DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
     DocumentBuilder db = dbf.newDocumentBuilder();
     URL url = new URL(urlString);
     URLConnection URLconnection = url.openConnection();
     HttpURLConnection httpConnection = (HttpURLConnection)URLconnection;
     int responseCode = httpConnection.getResponseCode();
     if ( responseCode == HttpURLConnection.HTTP_OK) {
InputStream in = httpConnection.getInputStream();
System.out.println("thesid= " + thesid);
System.out.println("nq_id=" + nq_id);
System.out.println("server host=" + request.getRemoteHost());
System.out.println("server addr=" + request.getRemoteAddr());
          domDoc = db.parse(in);
} else {
System.out.println( "HTTP connection response != HTTP_OK" );
     out.println("<nsdp_xml>");
     out.println("<table>");
     //Iterate through metadata object and create the ndsp_xml header
     NodeList rowDef = domDoc.getElementsByTagName("element");
     out.println("<tr>");
     out.println("<th>Column 1</th><th>Column 2</th>");
     out.println("</tr>");
     //Iterate through rows & items and create the ndsp_xml body
     NodeList rows = domDoc.getElementsByTagName("R");
          if (rows != null) {
               for (int i = 0; i < rows.getLength(); i++) {
                    out.println("<tr>");
                    Node row = rows.item(i);
                    if (row == null || row.getNodeType() == Node.TEXT_NODE) {
                         continue;
                    NodeList items = row.getChildNodes();
                    if (items == null) {
                         continue;
                    for (int y = 0; y < 2; y++) {
                         Node item = items.item(y);
                         if (item == null || item.getChildNodes() == null)
                              continue;
                         if (item.getChildNodes() == null
                                   || item.getChildNodes().item(0) == null
                                   || item.getNodeType() == Node.TEXT_NODE)
                              continue;
                         out.println("<td>" + item.getChildNodes().item(0).getNodeValue() + "</td>");
                    out.println("</tr>");
          } else {
               out.println("No rows.");
     out.println("</table>");
     out.println("</nsdp_xml>");
%>
]]

Similar Messages

  • OBIEE and MapViewer problem

    Hi everyone,
    I'm trying to use mapviewer to get some reports on OBIEE 11g, after getting the tile and configure the Mapviewer with te data source and everything, i get the following error while trying to create a report, after associate data to the area.
    the Associated Subject Areas on the Background map Tab, on Manage Map Data is empty, and the data is associated in the Layers Tab.
    Then when i try to create a report using the associated data, then the following error gets to me.
    "A basemap is required to render a map. Please ensure that atleast one basemap is defined in the spatial meta-data"
    Then, searching on the documentation, i've done the following,
    On the mapViewerConfig.xml file
    <proxy_enabled_hosts>
    http://"hos"t:9704/mapviewer
    </proxy_enabled_hosts>
    on the instanceconfig.xml
    <ServerInstance>
    <SpatialMaps>
    <ColocatedOracleMapViewerContextPath>/mapviewer</ColocatedOracleMapViewerContextPath>
    <RemoteOracleMapViewerAbsoluteURL>http://"host":9704/mapviewer</RemoteOracleMapViewerAbsoluteURL>
    <LayerDataLayout>
    <MaxRecords>600</MaxRecords>
    </LayerDataLayout>
    </SpatialMaps>
    </ServerInstance>
    but still got the same problem, something i saw on the weblogic console was the following
    <Cannot read USER_SDO_TILE_ADMIN_TASKS view from database
    after saving and restarting the mapviewer.
    Any idea??
    Regards
    Cesar

    Hi,
    May be this will help you for this you need to create a data source in map viewer which will help you to get the base map present and then you can go on creating the report using map.
    After creating the data-source you will find the list of map available for u to use then bring them online and then go on using.
    Thanks.

  • OBIEE and mapviewer - zoom in map based on prompt value

    Hi All,
    Does anybody know if it's possible to zoom in the map, based on the value selected in a dashboard prompt?
    I.e. if you select a FL in the prompt can it somehow zoom into Florida?
    I think this was possible in 10g with some added java script....howabout in 11G?
    Regards
    Hakan

    Hi,
    Dynamic control of widths and heights are unfortunately not available in the 10g versions. There are some very cool enhancements to displaying charts in 11g so check these out.
    What you could do is have the Chart View with multiple column and height widths. Here's what I mean:
    1) Build the chart and have the default widths and heights.
    2) Duplicate this view to create Chart:2 and in this view change the width and height using the General Chart Properties button.
    3) Duplicate the view again to creates Chart:3 and once again change the width and height to even larger values.
    4) Now build a View Selector and label each Chart View as appropriate, say "Magnification: Small, Maginification Medium, Maginification Large."
    The user can then swithch to see which view best displays the columns depending on the choices selected in your prompts.
    Yeah, it's not the prettiest or most elegant solution, but it is a simply workaround that doesn't take a lot of space on the dashboard and may work for you since having the ability to change the zoom to an inifinite number of levels is not necessarily a required or good thing even.
    FYI..
    Re: Zoom by increasing Width
    Thanks
    Deva

  • How to install apex (and mapviewer) company wide ?

    Hi,
    Until now I've developed some applications on a laptop.
    I want to bring them to my company - in this stage as a "pilot" with a limited number of employees having access.
    What do I need: a database, apex installed and - now is coming what I want to know - application server or http-server ?
    For your information: I'm using also oracle spatial and mapviewer to present data on the map of the netherlands. Therefore I want to install spatial, and mapviewer. An pre-installed oc4j is included in that installation.
    How to combine these issues ?
    Thanks in advance for any reaction.
    Leo

    Hello Leo,
    I'm not sure these issues should be combined. You are talking about 3 different Oracle products, each with its own pre-installation requirements. Regarding oracle spatial and MapViewer, you'll need to ask your DBA (or someone with the proper experience in this forum can help you).
    As for ApEx, you'll need a db version 9.2.0.3 or higher, and you'll need the OHS (Oracle HTTP Server) which is part of the db companion CD, or can be downloaded from OTN.
    As far as I know, Oracle MapViewer is part of the Oracle Application server, just like OC4J and OHS. In this case, you can install all the needed modules of the Application Server, and then installed ApEx. The ApEx installation guide includes information on how to configure the HTTP server, as part of the Application Server.
    Hope this helps,
    Arie.
    .

  • Hardware Sizing for Oracle Application Server and MapViewer

    Hi all,
    I need to develop an application using Oracle Application Server 10g and MapViewer. The applicaction will, basically, do thematic maps based on a search criteria. The estimative is that we will have 25 users simultaneously using it.
    I´d like to have an idea about the hardware to support it.
    Do you know where I can get this information?
    Any documentation can help.
    Regards,
    Luis Augusto

    Hi Luis,
    It may depend on your database size, but I think at least you need to meet the minimum requirements for the Application Server. You can find additional documentation for the AS at http://www.oracle.com/technology/products/ias/index.html.
    However I would suggest some extra memory, and if possible the better CPU that you can get. MapViewer will render the spatial features on the server side, and depending on your database size and number of features returned from the queries, this extra memory will help.
    Joao

  • OBIEE and LDAP problem

    Hi all!
    After connecting our OBIEE 11.1.1.5 to LDAP we faced with a strange problem: after one user enters the system any next user logged in has the same privileges in OBIEE as the first one.
    We turned off the following caches:
    - WebLogic Principal Validator Cache in a security realm Performance section
    - Group Membership Lookup Hierarchy Caching in our LDAP authentication provider Performance section
    But the problem still occurs. Does anyone have any suggestions on this?

    Hi I was having endless issues with OBIEE and LDAP, I followed the exact steps here:
    http://docs.oracle.com/cd/E17904_01/web.1111/e13707/atn.htm#SECMG169
    These worked for me, so you could check for a start these recommended setting are same in your environment.
    Thanks

  • Best practice GeoRaster and MapViewer?

    Hi,
    I want to see rasterfiles with using Oracle GeoRaster and MapViewer. I've bineary rasterfiles and aerial photographs(24 BIT).
    Until now I put the data with following parameters into the database:
    -     Oracle_inverleaving_type: BSQ
    -     Oracle_raster_tile_size_x und -y: 2048
    -     Oracle_compression: DEFLATE
    -     Oracle_pyramid_max: null
    -     Oracle_raster_pyramid_resampling: NN for bineary data and CUBIC for aerial photograph
    The bineary rasterfiles could have about 15000x15000 pixels and the aerial photographs about 4000x4000 pixels.
    For the MapViewer configuration of a GeoRaster-Theme I use pyramid-level NULL for aerial photographs and 1 for bineary pictures.
    The MapViewer BaseMaps has a tilesize of 256x256 pixels and as format png.
    Has anybody experience to get the best performance and best quality to show rasterfiles?
    Regards,
    Sebastian

    Hi Jeffrey,
    further I have the problem that the MapViewer (Ver1033p5_B081010) doesn't render maptiles for all zoom-levels with my posted settings. Before the MapViewer P5 exists an I use this version, I rendered the maptiles witch MapViewer of version P3.
    With the latest version of mapviewer it is only possible to rendere maptiles up to zoom-level 3 and then (level zwo, one or zero) it doesn't render this tiles. The mapviewer shows the following error:
    WARNUNG: Failed to fetch tile image.
    Message:Failed to fetch tile image.
    Mon Feb 17 19:39:19 CET 2009
    Severity: 0
    Description:
    at oracle.lbs.mapcache.cache.TileFetcher.fetchTile(TileFetcher.java:209)
    at oracle.lbs.mapcache.cache.Tile.fetchTile(Tile.java:357)
    at oracle.lbs.mapcache.cache.Tile.fetchTile(Tile.java:338)
    at oracle.lbs.mapcache.cache.MapCache.getTile(MapCache.java:217)
    at oracle.lbs.mapcache.MapCacheServer.getMapImageStream(MapCacheServer.java:161)
    at oracle.lbs.mapcache.MCSServlet.doPost(MCSServlet.java:254)
    at oracle.lbs.mapcache.MCSServlet.doGet(MCSServlet.java:209)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    17.02.2009 19:39:19 oracle.lbs.mapcache.cache.Tile getOffLineTileImagePath
    FEINER: Waiting for blank tile.
    17.02.2009 19:39:20 oracle.lbs.mapcache.MCSServlet doPost
    SCHWERWIEGEND: LUT has improper length!
    Do you know why the MapViewer shows this message?
    When I used the MapViewer P3 I didn't have any problems with generating maptiles.
    Regards,
    Sebastian

  • Session variable filters in the integration between OBIEE and webcenter

    Hello All,
    I have a customer with the requirement to make sure that reports created in answers and containing sessions variables in filters definition will be correctly filtered once called from webcenter.
    So if an OBI report is diplayed in webcenter and contains the same type of filters (based on session variable), will the results be filtered based on the specified variable?
    In other words can we use session variables in the integration between OBIEE and webcenter?
    Thanks Olayinka

    Have you follow all the steps written here :
    http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/e12188/T421739T475591.htm#T480640
    Do you have create the groups ?
    Do you connect as a member of the group XMLP_ADMIN ?
    Cheers
    Nico

  • OBIEE and ESSBASE federated queries..

    Hello all ,
    I am working on a requirement that requires configuring federated queries using OBIEE and Essbase as an aggregation layer. I am able to configure everything except for one dimension where this dimension in Essbase uses shared members. Any help /guidance is greatly appreciated.
    Thanks
    Sunil

    Thanks for the response. I did go further from that day on the issue. But this is where I currently am stuck.
    The issue is on this:;
    1. Have a Measure in Essbase at a Grain higher than then OBIEE grain for a dimension and I need to create a report which calculated based on both the essbae measure and the OBIEE measure.
    I have to create a report which would take the Essbase Measure, Divide by the OBIEE measure and display the value (Note: This OBIEE measure and the grain is only available at the OBIEE layer)
    Ex:
    Essbase Info:
    D1 D2 Amount
    x y 200
    OBIEE Info:
    D1 D2 D3 Percentage
    x y z1 30
    x y z2 70
    Desired Output
    Is
    D1 D2 D3 New Amount
    x y z1 60
    x y z2 140
    The behavior I am noticing is , since D3 has no relationship to Essbase Measure, the report results with a null for the Essbase Measure (Amount in this case). I understand this is natural but am not able to figure out any other means to address this requirement. I am exploring using EVALUATE and MDX, but am not sure, if I would be able to get the desired output.
    Thanks
    Sunil

  • OBIEE and Oracle Apps (E Business Suite) SSO implementation

    Hi Gurus,
    We are using apps 11i and OBIEE 10.1.3.4 . I would like to ask that is there any doc which could provide me steps of SSO implementation between both. Or if not in doc is there any body who incorporated the same. Here we dont have DAC and ETL as Informatica for etl we are using plsql. I want to make it work like when user types his id and password in Oracle E business , automatically he should be also directed to OBI also same user id and password could be used to the OBI. Please remember my OBI is not from apps package. It is EE and not OBI 7.9.6 So is it possible to implement SSO between OBIEE and apps 11i and how ?
    Thanks,

    Though this is not your complete answer, at some point this link might be of help to you if you have OBIEE hosted on Windows box.
    http://nerdsofobiee.wordpress.com/2009/10/20/obiee-sso-integration-in-windows/
    Thanks

  • OBIEE and Apps SSO implementation

    Hi Gurus,
    We are using apps 11i and OBIEE 10.1.3.4 . I would like to ask that is there any doc which could provide me steps of SSO implementation between both. Or if not in doc is there any body who incorporated the same. Here we dont have DAC and ETL as Informatica for etl we are using plsql. I want to make it work like when user types his id and password in Oracle E business , automatically he should be also directed to OBI also same user id and password could be used to the OBI. Please remember my OBI is not from apps package. It is EE and not OBI 7.9.6 So is it possible to implement SSO between OBIEE and apps 11i and how ?

    Hi Amol,
    Check for this note 555254.1 in support.oracle.com. It contains the steps to implement SSO between EBS & OBIEE.
    Regards,

  • Is Oracle Spatial, Mapbuilder and Mapviewer supports TTF(True Type Fonts)

    Hi to all,
    Is Oracle Spatial, Mapbuilder and Mapviewer Supports TTF,How to load TTF into Oracle Spatial and how to assign TTF to Point Data,
    i think Map Builder had option,but how load using map builder,
    is any Oracle script to load TTF,pl provide help.
    Regards,
    Ramakrishna.V

    You can only use ttf symbols for markers.
    in MapBuilder click on Tools menu, click on Import Truetype font.
    Use the mapbuilder that is part of the latest kit on OTN. It contains some fixes for TTF handling.

  • How to Install OBIEE and BIP on a machine with Windows XP ?

    Hi,
    I am very new to OBIEE and want to learn it by myself.
    Can I install OBIEE and BI Publisher on my home PC with Windows XP ? Can I install client and server on the same PC?
    If no, what are the other options ?
    Please help!!
    Thanks!
    Yogini

    Thanks for the link, but I am referring the same to install OBIEE.
    The pre-requisites section says :
    Client operating systems:
    - Microsoft Windows 2000 Professional with Service Pack 3 or later
    - Microsoft Windows 2003 Professional with Service Pack 1 or later (32-bit only)
    - Microsoft Windows XP Professional with Service Pack 1 or later
    Server operating systems:
    - For Oracle BI Server: Microsoft Windows 2000 Service Pack 4/2003 Server
    Thats why I wonder if I can install client and server on the same machine with Windows XP ?
    Please do let me know.
    Regards,
    Yogini

  • OBIEE and Daily Business Intelligence

    Has anyone tried merging the content of BI Apps and DBI?
    If you have, please comment on the proposed solution http://www.appsbi.com/obiee-and-daily-business-intelligence/
    Thank you
    Nilesh
    [OBIEE, BI, ERP|http://www.appsbi.com]
    Dashboards

    The BI apps which you can buy now from oracle had nothing to do with DBI.
    The BI fusion (or something) which you could buy 2 years ago or so had to do everything with DBI. (but oracle stopped with this indeed)
    it's all a bit confusing because Oracle still uses the same name.
    This was an OBIEE solution on DBI. But custimizations were not supported on this. The BI apps you can be now will support custimizations/extensibilities!
    Hope this will help you out for a bit...

  • APEX as frontend for Oracle Maps and Mapviewer data

    Just to let you know:
    I did some work with Oracle Application Express (APEX) integrating Oracle Maps and Mapviewer functionality
    and published it occasionly it in my Oracle Application Express (German) BLOG. : http://htmldb-de.blogspot.com/ -
    Guess you will understand from the screens, what all is possible and beyond...
    An integration (application) of APEX and Mapquest for Routeplanning done in APEX can be seen (and downloaded) as well.
    Feel free to have a look !
    Bernhard
    http://htmldb-de.blogspot.com/

    Just to let you know:
    I did some work with Oracle Application Express (APEX) integrating Oracle Maps and Mapviewer functionality
    and published it occasionly it in my Oracle Application Express (German) BLOG. : http://htmldb-de.blogspot.com/ -
    Guess you will understand from the screens, what all is possible and beyond...
    An integration (application) of APEX and Mapquest for Routeplanning done in APEX can be seen (and downloaded) as well.
    Feel free to have a look !
    Bernhard
    http://htmldb-de.blogspot.com/

Maybe you are looking for