Getting Error When Calling Web Service Method - XML parsing error: com.sun.xml.rpc.sp.ParseException:1: Document root element is missing
Last updated on NOVEMBER 03, 2016
Applies to:Oracle Java CAPS - Version 5.1.3 and later
Information in this document applies to any platform.
Checked for relevance on 03-11-2014
When attempting to call a Web Service method running on WebSphere from a JCD, it fails with the following error:
The receiver (WebSphere) side records this error:
org.apache.axis.Message writeTo java.io.IOException:
WebSphere is rejecting the message because of the quotes around the charset in the HTTP header.
Content-Type: text/xml; charset="utf-8"
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