0 Replies Latest reply on Apr 10, 2012 7:15 AM by user6722753

    OBIEE 11g web services


      I'm using OBIEE and i am write java code to call web services as the following:

      import com.siebel.analytics.web.soap.SAWSessionServiceLocator;
      //import oracle.bi.web.soap.internal.SAWSessionServiceSoap;
      import com.siebel.analytics.web.soap.SAWSessionServiceSoap;
      import oracle.svcmsg.ServiceException;
      public class TestSAW {
      public TestSAW() {

      String username = "weblogic";
      String password = "welcome99";
      public void testSimpleOBIEEService() {
      try {
      SAWSessionServiceSoap service = getService();
      String sessionID = service.logon(username, password);
      System.out.println("sessionID" + sessionID);
      } catch (Exception ex) {
      private SAWSessionServiceSoap getService() {
      SAWSessionServiceSoap result = null;
      SAWSessionServiceLocator locator = new SAWSessionServiceLocator();
      result = locator.getSAWSessionServiceSoap();
      return result;
      public static void main(String[] args) {
      TestSAW tt = new TestSAW();


      when i copmile the code it give me that SAWSessionServiceLocator is not found becuase i attached sawsoapjaxwsstubs.jar and it doesn't have this class, so i found this class at sawsoapstubs.jar from OBIEE 10g after i attached it then give me the following error : Error(33,9): Service not found in class com.siebel.analytics.web.soap.SAWSessionServiceLocator .

      can anyone please help me or give me the right code or jar file i should used to call the web services.