Forum Discussion

zizuqupi's avatar
zizuqupi
Visitor
3 years ago
Solved

WSDL SOAPUI issue

Hi. This error has occurred.

 

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)

... 

ERROR:com.eviware.soapui.impl.wsdl.support.xsd.SchemaException com.eviware.soapui.impl.wsdl.support.xsd.SchemaException

 

regularly updated directory of the best porn sites in different categories https://bestpornlist.pro

what to do?

  • Hey zizuqupi 

     

     

    it looks like a casting error - so typically this will occur if you're trying to cast from one datatype to another and the cast is unsupported.  e.g. alphanumeric to float, etc.

     

    Just listing the error content isn't that helpful.  To help people will need to know what you did to cause the error to manifest - can you provide this info please?

     

    Cheers,

     

    Rich

     

1 Reply

  • richie's avatar
    richie
    Community Hero

    Hey zizuqupi 

     

     

    it looks like a casting error - so typically this will occur if you're trying to cast from one datatype to another and the cast is unsupported.  e.g. alphanumeric to float, etc.

     

    Just listing the error content isn't that helpful.  To help people will need to know what you did to cause the error to manifest - can you provide this info please?

     

    Cheers,

     

    Rich