Error: Invalid UTF8 encoding While Generating Web Services from WSDL File in JDeveloper 11.1.1.2.0 (Doc ID 1152175.1)

Last updated on NOVEMBER 01, 2016

Applies to:

Web Services - Version 11.1.1.2.0 to 11.1.1.5.0 [Release Oracle11g]
Information in this document applies to any platform.

Symptoms

While generating Web Services from WSDL file using JDeveloper 11.1.1.2.0, the following error is generated:

javax.wsdl.WSDLException: WSDLException: faultCode=OTHER_ERROR: Error
importing schemas: java.io.UTFDataFormatException: Invalid UTF8 encoding.
at oracle.j2ee.ws.wsdl.extensions.schema.SchemaSerializer.unmarshall(SchemaSerializer.java:76)
at oracle.j2ee.ws.wsdl.extensions.ParseUtils.createExtensibilityElement(ParseUtils.java:106)
at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.parseTypes(WSDLReaderImpl.java:1472)
at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.parseDefinition(WSDLReaderImpl.java:779)
at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:706)
at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:655)
at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:368)
at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:615)
at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:593)
at oracle.j2ee.ws.tools.wsa.Assembler.readWsdl(Assembler.java:1206)
at oracle.j2ee.ws.tools.wsa.Assembler.makeWsdlSingleService(Assembler.java:1130)



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