My Oracle Support Banner

Primavera P6 Web Services Cloud Error " Unexpected Character" or " Unsupported Content-Type" After Upgrading to Version 18 or higher (Doc ID 2395821.1)

Last updated on OCTOBER 20, 2020

Applies to:

Primavera P6 Enterprise Project Portfolio Management Cloud Service - Version 18.1 and later
Information in this document applies to any platform.

Symptoms

When attempting to make a P6 Web Services request in Oracle Cloud after upgrading or migrating, one of the following errors occur.

ERROR
-----------------------
Processing Error
javax.xml.ws.WebServiceException: org.apache.cxf.service.factory.ServiceConstructionException: Failed to create service.
  at org.apache.cxf.jaxws.ServiceImpl.initialize(ServiceImpl.java:162)
  at org.apache.cxf.jaxws.ServiceImpl.(ServiceImpl.java:129)
  at org.apache.cxf.jaxws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:82)
Caused by: org.apache.cxf.service.factory.ServiceConstructionException: Failed to create service.
  at org.apache.cxf.wsdl11.WSDLServiceFactory.(WSDLServiceFactory.java:87)
  at org.apache.cxf.jaxws.ServiceImpl.initializePorts(ServiceImpl.java:217)
  at org.apache.cxf.jaxws.ServiceImpl.initialize(ServiceImpl.java:160)
  ... 10 more
Caused by: javax.wsdl.WSDLException: WSDLException: faultCode=PARSER_ERROR: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '"' (code 34) in DOCTYPE declaration; expected a space between public and system identifiers
  ... 12 more
Caused by: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '"' (code 34) in DOCTYPE declaration; expected a space between public and system identifiers

 

ERROR
-----------------------
Error invoking soap operation; Caused by: Unsupported Content-Type: text/html; charset=UTF-8 Supported ones are: [text/xml]

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.