WLS 8.1: Clientgen throws exception when WSDL contains 'xsd:any' element. (Doc ID 1287622.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle Weblogic Server - Version: 8.1 to 8.1
Information in this document applies to any platform.

Symptoms

When running clientgen task on a WSDL file which contains 'xsd:any', element the below warning messages regarding 'javax.xml.soap.SOAPElement' are seen.
[clientgen] WARNING: Unable to fully map ['http://<hostname>/Schemas/Entities/LanguageTranslationTask/1.0']:TranslationTask using javax.xml.soap.SOAPElement
[clientgen] WARNING: Unable to fully map ['http://<hostname>/Schemas/Common/1.0']:BODFailureMessageType using javax.xml.soap.SOAPElement
[clientgen] WARNING: Unable to fully map ['http://<hostname>/Schemas/Common/1.0']:BODFailureMessage using javax.xml.soap.SOAPElement
[clientgen] WARNING: Unable to fully map ['http://<hostname>/Schemas/CBT/LanguageTranslation/1.0']:DataAreaAnonType2 using javax.xml.soap.SOAPElement
[clientgen] WARNING: Unable to fully map ['<hostname>/Schemas/CBT/LanguageTranslation/1.0']:DataAreaAnonType4 using javax.xml.soap.SOAPElement
[clientgen] WARNING: Unable to fully map ['<hostname>/Schemas/CBT/LanguageTranslation/1.0']:DataAreaAnonType12 using javax.xml.soap.SOAPElement
[clientgen] WARNING: Unable to fully map ['<hostname>/Schemas/CBT/LanguageTranslation/1.0']:DataAreaAnonType3 using javax.xml.soap.SOAPElement

On checking the WSDL, you will notice that 'xsd:any' element is used:
<xsd:complexType>
 <xsd:sequence>
<xsd:any  processContents="lax" namespace="##any"/>
 </xsd:sequence>
</xsd:complexType>

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