Results 1 to 2 of 2
  1. #1
    lokesh939 is offline Member
    Join Date
    Aug 2013
    Rep Power

    Post OBIEE Report using web services : problem using the htmlviewservice using servlets

    Hi All,
    I am trying to use HTMLViewService on obiee 11g to display report ouput in a jsp page. I have a Java Servlet to logon using SAWSessionService. I am able to see report data in xml format using XMLViewService...but when I use the HTMLViewService , I do not see any data , the jsp page just have a rotating clock image with auto-generated javascript and it does not contain javascript and css files any ideas?

    Code is:

    SAWSessionService locator = new SAWSessionService();
    SAWSessionServiceSoap soap = locator.getSAWSessionServiceSoap();
    String sessionID = soap.logon("test", "test");
    System.out.println(">>sessionID: " + sessionID);
    SAWLocale sawlocale = new SAWLocale();
    sawlocale.setLanguage(request.getLocale().getLangu age());
    sawlocale.setCountry(request.getLocale().getCountr y());
    //Set session parameters
    SAWSessionParameters sessionParameters = new SAWSessionParameters();
    sessionParameters.setUserAgent(request.getHeader(" User-Agent"));
    HtmlViewService htmlViewServiceLocator = new HtmlViewService();
    HtmlViewServiceSoap view = htmlViewServiceLocator.getHtmlViewService();
    ReportRef reportref;
    reportref = new ReportRef();
    StartPageParams startpageparams = new StartPageParams();
    String pageid = view.startPage(startpageparams, sessionID);
    ReportParams newreportParams = new ReportParams();
    ReportHTMLOptions htmlOptions = new ReportHTMLOptions();
    String reportid = "1";
    view.addReportToPage(pageid, reportid, reportref, null,newreportParams, htmlOptions, sessionID);
    StringBuffer reportHTML = new StringBuffer();
    reportHTML.append(view.getHtmlForPageWithOneReport ("test", reportref, null, null, null, null, sessionID));


  2. #2
    MrGio is offline Member
    Join Date
    Apr 2017
    Rep Power

    Default Re: OBIEE Report using web services : problem using the htmlviewservice using servlet

    I'm facing exactly the same issue.
    Have you solved it?

    Thanks in advance

Similar Threads

  1. Servlets and database problem
    By wdh321 in forum New To Java
    Replies: 9
    Last Post: 11-21-2012, 04:08 PM
  2. problem calling web services
    By sarah_jessica in forum Enterprise JavaBeans (EJB)
    Replies: 0
    Last Post: 01-21-2012, 08:15 PM
  3. Replies: 0
    Last Post: 08-18-2011, 09:42 AM
  4. Web Services: Axis vs Metro vs Spring Web Services
    By davidbaker29 in forum Advanced Java
    Replies: 0
    Last Post: 01-28-2009, 12:20 PM
  5. problem compiling servlets
    By boy22 in forum Java Servlet
    Replies: 1
    Last Post: 08-03-2007, 11:05 AM

Posting Permissions

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