0 Replies Latest reply: Nov 13, 2008 11:43 PM by 657185 RSS

    listUpcomingConferences - The entity is not authorized to make the request.

    657185
      I am trying to listUpcomming conferences with Oracle RTC Integration Services. Authentication process executes succesfully but at the time of listing upComing conferences statusCode *1032* is returned which denotes an entity is not authorized to make the request. I have assigned this resources the maxium rights using rtcctl utlity. Inspite of having maximum rights I am not able to list UpComing Conferences.

      Can anybody please help me to find out the issue? Quick response would be appreciated.


      Follwing is the code that I am executing to list conferences.
















      {color:#000080}import authentication.proxy.types.oracle.imt.service.facade.authenticationserviceei.Oracle_imt_service_data_TokenObject;
      import oracle.imt.service.facade.proxy.PreConferenceServiceEIProxy;
      import oracle.imt.service.facade.proxy.oracle_imt_service_data_request_UpcomingConferencesRequest;
      import oracle.imt.service.facade.proxy.oracle_imt_service_data_response_UpcomingConferencesResponse;
      {color}








      {color:#000080}
      public class TestClass {
      public TestClass() {
      }

      public static void main(String[] args) {
      {color}





      {color:#000080}
      authentication.proxy.AuthenticationServiceEIPortClient myPort;

      try {
      myPort = new authentication.proxy.AuthenticationServiceEIPortClient();
      {color}





      {color:#000080}
      System.out.println("calling " + myPort.getEndpoint());
      // Add your own code here
      Oracle_imt_service_data_TokenObject token= myPort.createSession("myUsername","myPassword","USER");
      System.out.println("Token " + token.getToken());
      System.out.println("Error " + token.getErrorString());
      {color}

















      {color:#000080}
      oracle.imt.service.facade.proxy.oracle_imt_service_data_request_UpcomingConferencesRequest request = new oracle.imt.service.facade.proxy.oracle_imt_service_data_request_UpcomingConferencesRequest();
      {color}





      {color:#000080}
      request.setEntityID("myUserName");
      request.setEntityToken(token.getToken());
      request.setUserID("myUserName");
      request.setPubliclyListed(Boolean.TRUE);
      {color}





      {color:#000080}
      PreConferenceServiceEIProxy preConferenceService = new PreConferenceServiceEIProxy();
      oracle.imt.service.facade.proxy.oracle_imt_service_data_response_UpcomingConferencesResponse response;
      {color}





      {color:#000080}
      try
      {

      response = preConferenceService.listUpcomingConferences(request);
      // get call status
      int statusCode = response.getStatusCode();
      // error handling
      System.out.println(statusCode);

      }
      catch (Exception e)
      {
      System.out.println("Error: " + e.getMessage() + "\n" + e.getCause());
      }
      {color}

















      {color:#000080}
      } catch (Exception e) {
      e.printStackTrace();
      }
      }
      }{color}