My Oracle Support Banner

"Exception in thread "main" Couldn't create SOAP message due to exception" Error Occurs When Calling the Imaging UploadDocument Method (Doc ID 1405351.1)

Last updated on FEBRUARY 16, 2023

Applies to:

Oracle WebCenter Content: Imaging - Version and later
Information in this document applies to any platform.


When using the sample import application from the WebCenter Content: Imaging SDK documentation, the following error occurs:

Exception in thread "main" Couldn't create SOAP message due to exception: org.jvnet.mimepull.MIMEParsingException: For input string: ""
Placing a two second sleep before the "uploadDocument" call allows the code to function without error.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.