The encryptFile service uses a Java class named CommandRunner to make the command-line call. It uses other classes provided by the JVM to do the work. (Windows API calls are undoubtedly made at some point, but that’s way down in the JVM internals.)
Follow the chain of service calls in encryptFile. It calls wm.openpgp:execPGP which calls wm.openpgp:execPGPs. There is an undeclared input parameter named “timeout” which can be used to specify the number of seconds to wait. Put a variable with that name into the pipeline before calling encryptFile and it will get picked up by execPGPs.
You’ll want to confirm it is indeed a timeout that is the issue. Try to encrypt the file outside of IS, using gnupg or whatever, to see how long that takes to get a frame of reference.
#webMethods#Integration-Server-and-ESB#Flow-and-Java-services