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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.