Forum Discussion

arnogb69's avatar
15 years ago

Can't load my WSDL

Hi all,

I have a little problem when I try to load a new project with a WSDL :
When I load my file (from my computer), it says
Error loading [file:/Z:/MYFILE] Unexpected element: CDATA on line 1, column 1


Can somebody help me?
(I'm running SOAP UI 4.0.0)

EDIT : It seems that my WSDL isn't well formed... is there any way to check where the error is?

4 Replies

  • vishwak's avatar
    vishwak
    New Contributor
    Not sure about answer.

    Can you use Scheme Compliance.
  • It seems that SOAPUI can't handle UTF-8 files. If you use BOM, you get the error mentioned in the first post and if you don't use BOM, you get an error saying that the name is invalid. Example: "Error: The value 'tƤnav' is an invalid name."
  • julieneoz's avatar
    julieneoz
    New Contributor
    It seems that I am experimenting the same issue. My wsdl file is encoded with "UTF-8" character. Have you been able to find a workaround or a fix?


    here is my error log:

    com.eviware.soapui.impl.support.definition.support.InvalidDefinitionException
    at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlLoader.loadXmlObject(WsdlLoader.java:129)
    at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:532)
    at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.selectDefinitionParts(SchemaUtils.java:562)
    at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:542)
    at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:521)
    at com.eviware.soapui.impl.support.definition.support.AbstractDefinitionCache.update(AbstractDefinitionCache.java:97)
    at com.eviware.soapui.impl.support.definition.support.AbstractDefinitionContext$Loader.construct(AbstractDefinitionContext.java:226)
    at com.eviware.soapui.support.swing.SwingWorkerDelegator.construct(SwingWorkerDelegator.java:46)
    at com.eviware.soapui.support.swing.SwingWorker$2.run(SwingWorker.java:149)
    at java.lang.Thread.run(Unknown Source)
  • julieneoz's avatar
    julieneoz
    New Contributor
    well..I installed SOAPUI 4.0.1 (nighlty build) and I have a different issue reported while still trying to import my WSDL file.

    Wed Sep 14 10:31:58 EST 2011:ERROR:com.eviware.soapui.impl.support.definition.support.InvalidDefinitionException
    com.eviware.soapui.impl.support.definition.support.InvalidDefinitionException
    at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlLoader.loadXmlObject(WsdlLoader.java:138)
    at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:534)
    at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.selectDefinitionParts(SchemaUtils.java:564)
    at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:544)
    at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:523)
    at com.eviware.soapui.impl.support.definition.support.AbstractDefinitionCache.update(AbstractDefinitionCache.java:97)
    at com.eviware.soapui.impl.support.definition.support.AbstractDefinitionContext$Loader.construct(AbstractDefinitionContext.java:226)
    at com.eviware.soapui.support.swing.SwingWorkerDelegator.construct(SwingWorkerDelegator.java:46)
    at com.eviware.soapui.support.swing.SwingWorker$2.run(SwingWorker.java:149)
    at java.lang.Thread.run(Unknown Source)

    Has anyone a suggestion at this stage?

    Julien

    PS:I have to create a directory "include"