You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Groovy with copyfile restAPI to copy file from one instance to another fails

I am attempting to copy a file from the /Outbox folder (Data Exchange) of one Oracle PBCS instance to the /Inbox folder of another PBCS instance using the copyfile REST API.

This Groovy code has been functioning correctly for a long time, but it has recently stopped copying the file. The log file indicates that:

  • The connection to the source instance is successful.
  • The source file is found and validated.
  • The file transfer itself does not occur.
  • The process still records a success message and returns an HTTP status of 200.

The code in question is shown below:

==========================

jsonResponse = operation.application.getConnection("restConn" )

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!