Error "Provider com.ctc.wstx.stax.Wstxoutputfactory Not a Subtype" When Running P6 Web Services On WebSphere

(Doc ID 2195680.1)

Last updated on OCTOBER 20, 2016

Applies to:

Primavera Web Services - Version 16.1.0.0 and later
Information in this document applies to any platform.

Symptoms

When Primavera Web Services is deployed to WebSphere, the following error occurs when running the WS client application,

ERROR
----------------
The content type text/html;charset=utf-8 of the response message does not match the content type of the binding (text/xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 257 bytes of the response were: 'Error 500: javax.xml.stream.FactoryConfigurationError: Provider javax.xml.stream.XMLOutputFactory could not be instantiated: java.util.ServiceConfigurationError: javax.xml.stream.XMLOutputFactory: Provider com.ctc.wstx.stax.WstxOutputFactory not a subtype\r\n'.

Cause

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