Uploading XML via the RHEV VMPayload API results in an exception

Solution Verified - Updated -

Issue

When trying to create a file with XML contents for upload via the VMPayload API, an exception is thrown:

JBWEB000065: HTTP Status 400 - javax.xml.bind.UnmarshalException - with linked exception: [org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 121; The processing instruction target matching "[xX][mM][lL]" is not allowed.]

Environment

  • Red Hat Enterprise Virtualization (RHEV) 3.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content