1 Reply Latest reply: Mar 27, 2012 8:29 AM by jstem1177 RSS

    How to create new instance of class EWS

      Hello All,

      I'm completely new to JAVA inside Oracle. Actually about 10 hrs old. It seems that the the loadjava worked as all the java classes are valid inside my database.

      I'm testing to see if I can use EWS (Exchange Webservices) Java API inside the database to communicate with Exchange server.

      Where I'm stuck, is how to do/represent the following in PL/SQL. Mainly around "new".
      ExchangeService service = new ExchangeService();
      ExchangeCredentials credentials = new WebCredentials("emailAddress"," password");
      service.Url = new Uri("<ews_url>");
      service.autodiscoverUrl("<your e-mail address>");
      Secondly how would I call this. Using EXEC ?

      Thanks in advance for any assistance or pointers.

      Also feel free to tell me if I've bumped my head and this is never going to work :-)

      Jan S.