Wsdlc Ant task hangs when maxOccurs is very large. (Doc ID 1586173.1)

Last updated on JUNE 09, 2016

Applies to:

Oracle Weblogic Server - Version 10.3 to 12.1.1.0
Information in this document applies to any platform.

Symptoms

The wsdlc ant task takes 26 minutes or more to parse a WSDL if "maxOccurs" of an element in the wsdl or xsd is given a large value, e.g. maxOccurs=20000.  This problem didn't happen in WLS 10.3.0 with JDK 1.6.0_17.  The problem started to happen since JDK 1.6.0_18, and it also happens in JDK 1.7. 

Changes

 Use JDK 1.6.0_18 or later JDK. 

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