"Exception in thread "main" javax.xml.ws.soap.SOAPFaultException: Couldn't create SOAP message due to exception" Error Occurs When Calling the Imaging UploadDocument Method (Doc ID 1405351.1)

Last updated on MAY 25, 2016

Applies to:

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

Goal

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

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

Solution

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms