2 Replies Latest reply: Sep 23, 2013 12:49 PM by ca336f5c-177f-45aa-8c56-b752f973e224 RSS

    Oracle Primavera P6 Scripting using Openscript

    ca336f5c-177f-45aa-8c56-b752f973e224

      Hi,

       

      We were able to successfully record the Oracle Primavera application using OATS - Openscript tool. However, some request contains "OracleBinary" data which seems to be in a encoded format.

       

      We need to know how to convert this to readable format so that we can parameterize some value that sent in the http.post request.

       

      For example,

      The below request is from openscript tool,

      http.post(

        217,

        "http://wwwin-lt1spm/p6/BO",

        null,

        http.postdata(http  .param("\\AC\\ED\\00\\05sr\\00+com.primavera.infr.q.httpq.HttpQProxyObject\\1Fh\\87DT~e\\BE\\02\\00\\00xr\\00)com.primavera.infr.q.AbstractQProxyObject4\\8E\\D2(6|\\D6\\96\\03\\00\\09Z\\00\\01dL\\00\\01at\\00\\12Ljava/lang/String;L\\00\\01bq\\00~\\00\\02L\\00\\01et\\006Lcom/primavera/infr/q/AbstractQProxyObject$MethodType;L\\00\\01fq\\00~\\00\\02L\\00\\01gq\\00~\\00\\02L\\00\\01ht\\00\\10Ljava/util/List;L\\00\\01it\\00\\12Ljava/lang/Object;L\\00\\01jt\\00\\15Ljava/lang/Exception;xpw>\\00\\00\\00\\02\\00\\00(com.primavera.bo.remotable.RemoteRequest\\00\\00\\08loadData\\00\\00\\00\\02sr\\00acom.primavera.guisupport.pvapplets.scorecard.portfolioviews.data.PortfolioViewScorecardDataLoader\\DC>\\BF\\99h\\A3P\\9E\\09\\BE\\05\\B1\\02\\00\\00xpw5\\01\\01\\00\\00/1::705959ee6a3cbe01:-7e5f8910:141339e3d00:-8000\\01x")),

        http.headers(http.header("Content-Type",

        "application/octet-stream",

        Header.HeaderAction.Modify), http.header(

        "Cache-Control", "no-cache",

        Header.HeaderAction.Modify)), true, "OracleBinary",

        "ISO8859_1");

       

      Thanks,
      Sathish