Forum Stats

  • 3,825,197 Users
  • 2,260,480 Discussions
  • 7,896,437 Comments

Discussions

Calling an orchestration Rest APi from OIC

Hi,

I published my orchestration and was able to call it from Postman with no issues. My problem is that I tried to call the REST API from Oracle Integration Cloud Service and once I publish the OIC link, I called it again in Postman but I got internal server error.

{

  "type": "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.5.1",

  "title": "Internal Server Error",

  "detail": "Internal server error. Please contact oracle support for details.",

  "o:errorCode": "500",

  "o:errorDetails": [

    {

      "type": "UnMappedFault:execute",

      "instance": "NA",

      "title": "oracle.tip.adapter.sa.api.JCABindingException: Fault Details : \n<nstrgdfl:APIInvocationError xmlns:nstrgdfl=\"http://xmlns.oracle.com/cloud/generic/rest/fault/REST/P4210\"><nstrgdfl:type/><nstrgdfl:title/><nstrgdfl:detail/><nstrgdfl:errorCode/><nstrgdfl:errorDetails><nstrgdfl:type>http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.5.1</nstrgdfl:type><nstrgdfl:title>Internal Server Error</nstrgdfl:title><nstrgdfl:errorCode>500</nstrgdfl:errorCode><nstrgdfl:errorPath>&lt;![CDATA[POST https://mobileapp.aaw1.com:7002/jderest/orchestrator/Orchestration_P4210 returned a response status of 500 Internal Server Error]]&gt;</nstrgdfl:errorPath><nstrgdfl:instance>&lt;![CDATA[{  \"message\" : \"java.lang.NullPointerException\",  \"exception\" : \"java.lang.Exception\",  \"timeStamp\" : \"2019-11-25:11.47.26\"}]]&gt;</nstrgdfl:instance></nstrgdfl:errorDetails></nstrgdfl:APIInvocationError>\n:Application Error",

      "o:errorPath": "NA",

      "o:errorCode": "NA"

    }

  ]

}

When I looked at the log in the AIS server, I found the message below.

true,"stackId":1,"stateId":2,"rid":"3b5b01c5cce870e9","currentApp":"P4210_W4210A_MOBSSV","timeStamp":"2019-11-25:10.41.33","sysErrors":[]}

25 Nov 2019 10:41:33,181[SEVERE][ITDSO][AIS]Orchestration
Aborted java.lang.Exception: ServiceRequest DK_P4210_Accept:
com.oracle.e1.rest.orchestrator.ServiceRequest$ApplicationStackException: App
Stack Form Exception Expecting Form P42232_W42232A Resulting Form
P4210_W4210A_MOBSSV  {"byPassRender":
true,"stackId":1,"stateId":2,"rid":"3b5b01c5cce870e9","currentApp":"P4210_W4210A_MOBSSV","timeStamp":"2019-11-25:10.41.33","sysErrors":[]}

25 Nov 2019 10:59:32,352[SEVERE][AIS]E1RestTokenServer
jasLogout JAS ERROR OUTPUT: Server returned HTTP response code: 403 for URL: http://JDE8:84/jde/FormServiceRequest
java.io.IOException: Server returned HTTP response code: 403 for URL: http://JDE8:84/jde/FormServiceRequest

Regards,

Tagged: