Error ClassCastException when loading WSDL in SOAPUI (v5.3 and v5.5)
Wed Jul 31 19:45:31 CAT 2019:ERROR:org.apache.xmlbeans.XmlException: org.apache.xmlbeans.impl.values.XmlAnyTypeImpl cannot be cast to org.apache.xmlbeans.impl.xb.xsdschema.Group org.apache.xmlbeans.XmlException: org.apache.xmlbeans.impl.values.XmlAnyTypeImpl cannot be cast to org.apache.xmlbeans.impl.xb.xsdschema.Group at org.apache.xmlbeans.XmlBeans.wrappedException(XmlBeans.java:149) at org.apache.xmlbeans.XmlBeans.compileXmlBeans(XmlBeans.java:675) at org.apache.xmlbeans.XmlBeans.compileXsd(XmlBeans.java:553) at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.buildSchemaTypes(SchemaUtils.java:258) at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.loadSchemaTypes(SchemaUtils.java:177) at com.eviware.soapui.impl.support.definition.support.XmlSchemaBasedInterfaceDefinition.loadSchemaTypes(XmlSchemaBasedInterfaceDefinition.java:72) at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlInterfaceDefinition.load(WsdlInterfaceDefinition.java:56) at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext.loadDefinition(WsdlContext.java:62) at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext.loadDefinition(WsdlContext.java:34) at com.eviware.soapui.impl.support.definition.support.AbstractDefinitionContext.cacheDefinition(AbstractDefinitionContext.java:245) at com.eviware.soapui.impl.support.definition.support.AbstractDefinitionContext.access$400(AbstractDefinitionContext.java:47) at com.eviware.soapui.impl.support.definition.support.AbstractDefinitionContext$Loader.construct(AbstractDefinitionContext.java:218) at com.eviware.soapui.support.swing.SwingWorkerDelegator.construct(SwingWorkerDelegator.java:46) at com.eviware.soapui.support.swing.SwingWorker$2.run(SwingWorker.java:131) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.ClassCastException: org.apache.xmlbeans.impl.values.XmlAnyTypeImpl cannot be cast to org.apache.xmlbeans.impl.xb.xsdschema.Group at org.apache.xmlbeans.impl.schema.StscComplexTypeResolver.translateContentModel(StscComplexTypeResolver.java:1311) at org.apache.xmlbeans.impl.schema.StscComplexTypeResolver.translateContentModel(StscComplexTypeResolver.java:1439) at org.apache.xmlbeans.impl.schema.StscComplexTypeResolver.resolveBasicComplexType(StscComplexTypeResolver.java:301) at org.apache.xmlbeans.impl.schema.StscComplexTypeResolver.resolveComplexType(StscComplexTypeResolver.java:262) at org.apache.xmlbeans.impl.schema.StscResolver.resolveType(StscResolver.java:87) at org.apache.xmlbeans.impl.schema.StscResolver.resolveAll(StscResolver.java:59) at org.apache.xmlbeans.impl.schema.SchemaTypeSystemCompiler.compileImpl(SchemaTypeSystemCompiler.java:307) at org.apache.xmlbeans.impl.schema.SchemaTypeSystemCompiler.compile(SchemaTypeSystemCompiler.java:218) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.xmlbeans.XmlBeans.compileXmlBeans(XmlBeans.java:667) ... 13 more Wed Jul 31 19:45:31 CAT 2019:ERROR:com.eviware.soapui.impl.wsdl.support.xsd.SchemaException com.eviware.soapui.impl.wsdl.support.xsd.SchemaException674Views0likes0Comments