Forum Discussion

android404's avatar
14 years ago

Unexpected end of file after null

Hi

I have downloaded the lastest version (4.5.0) in both Pro and OS - and get the same error message in each of them when trying to do the sample project. I cant add the WSDL on step 2...

Error loading [http://www.mobilefish.com/services/web_service/countries.php?wsdl]: org.apache.xmlbeans.XmlException: org.apache.xmlbeans.XmlException: error: Unexpected end of file after null

Any ideas?

Windows 7, 64 Bit. 8GB ram

5 Replies

  • mailtosomu's avatar
    mailtosomu
    New Contributor
    I am also finding the same error... Have you happened to find an answer for this ? If so, kindly share the cause for this issue.

    Thanks,
    Somaraju
  • jonnybot's avatar
    jonnybot
    New Contributor
    I have this problem as well. It appeared to load correctly the first time, but I checked several of the other options. I decided to go back and follow the tutorial verbatim, and now I get the error listed.
  • jonnybot's avatar
    jonnybot
    New Contributor
    Here's the error log:

    Wed May 16 13:01:25 CDT 2012: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:535)
    at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:524)
    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)
    Wed May 16 13:10:53 CDT 2012: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:535)
    at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:524)
    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)


    ... and the soapUI log:

    Wed May 16 13:10:53 CDT 2012:DEBUG:Getting wsdl component from [http://www.mobilefish.com/services/web_service/countries.php?wsdl]
    Wed May 16 13:10:53 CDT 2012:ERROR:Failed to load url [http://www.mobilefish.com/services/web_service/countries.php?wsdl]
    Wed May 16 13:10:53 CDT 2012:ERROR:An error occured [com.eviware.soapui.impl.support.definition.support.InvalidDefinitionException], see error log for details
  • garymags's avatar
    garymags
    Occasional Contributor
    Hi,
    Did you ever get the fix for this issue? I just downloaded v4.5.1 and tried accessing my wsdl file and get the exact errors in my log.

    Thanks,
    Gary