We use the API SoapUIto run automated tests during our build. I tried to change our project as a project composite(this means that this is not one file XML, but Directorywith one Sub-Directoryfor each test case). Since then I get this error when trying to load a project:
Error at line 1, column 1
org.apache.xmlbeans.XmlException: error: Unexpected element: CDATA
at org.apache.xmlbeans.impl.store.Locale$SaxLoader.load(Locale.java:3486)
at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:1276)
at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:1263)
at org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.java:345)
at com.eviware.soapui.config.SoapuiProjectDocumentConfig$Factory.parse(Unknown Source)
at com.eviware.soapui.impl.wsdl.WsdlProject.loadProject(WsdlProject.java:297)
at com.eviware.soapui.impl.wsdl.WsdlProject.<init>(WsdlProject.java:212)
at com.eviware.soapui.impl.wsdl.WsdlProject.<init>(WsdlProject.java:179)
at com.eviware.soapui.impl.wsdl.WsdlProject.<init>(WsdlProject.java:174)
at com.eviware.soapui.impl.wsdl.WsdlProject.<init>(WsdlProject.java:159)
This is the code I use to raise this exception (excerpt):
SoapUI.setSoapUICore(new StandaloneSoapUICore(true));
WsdlProject project = new WsdlProject(pathToProjectRoot);
Has anyone experienced this and know how to solve it? I did not find any guidance on this in the Eviware forum.
Ronk source
share