When I add a WSDL file or a url to a SoapUI project. It will pop up an error message "Failed to import WSDL." to prompt us. This WSDL can be displayed in IE.
I'm encountering exactly the same problem in trying to load a WSDL. Unfortunately Sourceforge doesn't allow me to add any files, so I'm going to put my console and error output inline:
Console output:
Thu May 01 09:54:08 EDT 2008:ERROR:Error loading schema types from file:C:\dev\workspace\Consumer_XML\ConsumerFactory.wsdl, see log for details
Thu May 01 09:54:07 EDT 2008:DEBUG:Loading definition from cache
Thu May 01 09:54:07 EDT 2008:DEBUG:Returning baseInputSource [file:C:\dev\workspace\Consumer_XML\ConsumerFactory.wsdl]
Thu May 01 09:54:07 EDT 2008:DEBUG:Loaded definition: ok
Thu May 01 09:54:07 EDT 2008:INFO:Loading schema types from [file:C:\dev\workspace\Consumer_XML\ConsumerFactory.wsdl]
Thu May 01 09:54:07 EDT 2008:INFO:Getting schema file:C:\dev\workspace\Consumer_XML\ConsumerFactory.wsdl
Thu May 01 09:54:08 EDT 2008:ERROR:An error occured [file:C:/dev/schemas/WS-ResourceProperties-1_2.xsd:0: error: URL "WS-BaseFaults-1_2.xsd" is not well-formed], see error log for details
Thu May 01 09:54:08 EDT 2008:WARN:Error: file:C:/dev/schemas/WS-ResourceProperties-1_2.xsd:0: error: URL "WS-BaseFaults-1_2.xsd" is not well-formed
Thu May 01 09:54:08 EDT 2008:WARN:Error: file:C:/dev/schemas/WS-BaseFaults-1_2.xsd:0: error: URL "WS-Addressing-2005_08.xsd" is not well-formed
Thu May 01 09:54:08 EDT 2008:WARN:Error: file:C:/dev/schemas/WS-BaseFaults-1_2.xsd:0: error: URL "XML-Namespace-1998.xsd" is not well-formed
Thu May 01 09:54:08 EDT 2008:WARN:Error: file:C:/dev/schemas/WS-BaseNotification-1_3.xsd:0: error: URL "WS-ResourceLifetime-1_2.xsd" is not well-formed
Thu May 01 09:54:08 EDT 2008:WARN:Error: file:C:/dev/schemas/WS-BaseNotification-1_3.xsd:0: error: URL "WS-Topics-1_3.xsd" is not well-formed
Thu May 01 09:54:08 EDT 2008:WARN:Error: file:C:/dev/schemas/WSDM-MUWS-Part2-1_1.xsd:0: error: URL "WSDM-MUWS-Part1-1_1.xsd" is not well-formed
Thu May 01 09:54:08 EDT 2008:WARN:Error: file:C:/dev/schemas/WS-ResourceMetadataDescriptor-CD-01.xsd:0: error: URL "WS-ResourceProperties-1_2.xsd" is not well-formed
Thu May 01 09:54:08 EDT 2008:ERROR:An error occured [com.eviware.soapui.impl.wsdl.support.xsd.SchemaException], see error log for details
Thu May 01 09:54:08 EDT 2008:ERROR:Loading of definition failed for [file:C:\dev\workspace\Consumer_XML\ConsumerFactory.wsdl]; com.eviware.soapui.impl.wsdl.support.xsd.SchemaException: Error loading schema types
Thu May 01 09:54:08 EDT 2008:ERROR:An error occured [Error loading schema types], see error log for details
Error log output:
Thu May 01 09:54:08 EDT 2008:ERROR:org.apache.xmlbeans.XmlException: file:C:/dev/schemas/WS-ResourceProperties-1_2.xsd:0: error: URL "WS-BaseFaults-1_2.xsd" is not well-formed
org.apache.xmlbeans.XmlException: file:C:/dev/schemas/WS-ResourceProperties-1_2.xsd:0: error: URL "WS-BaseFaults-1_2.xsd" is not well-formed
at org.apache.xmlbeans.impl.schema.SchemaTypeSystemCompiler.compile(SchemaTypeSystemCompiler.java:225)
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)
at org.apache.xmlbeans.XmlBeans.compileXsd(XmlBeans.java:553)
at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.buildSchemaTypes(SchemaUtils.java:266)
at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.loadSchemaTypes(SchemaUtils.java:179)
at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext.loadDefinitions(WsdlContext.java:264)
at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext.access$500(WsdlContext.java:53)
at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext$Loader.construct(WsdlContext.java:218)
at com.eviware.soapui.support.swing.SwingWorkerDelegator.construct(SwingWorkerDelegator.java:45)
at com.eviware.soapui.support.swing.SwingWorker$2.run(SwingWorker.java:111)
at java.lang.Thread.run(Unknown Source)
Thu May 01 09:54:08 EDT 2008:ERROR:com.eviware.soapui.impl.wsdl.support.xsd.SchemaException
com.eviware.soapui.impl.wsdl.support.xsd.SchemaException
at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.buildSchemaTypes(SchemaUtils.java:273)
at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.loadSchemaTypes(SchemaUtils.java:179)
at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext.loadDefinitions(WsdlContext.java:264)
at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext.access$500(WsdlContext.java:53)
at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext$Loader.construct(WsdlContext.java:218)
at com.eviware.soapui.support.swing.SwingWorkerDelegator.construct(SwingWorkerDelegator.java:45)
at com.eviware.soapui.support.swing.SwingWorker$2.run(SwingWorker.java:111)
at java.lang.Thread.run(Unknown Source)
Thu May 01 09:54:08 EDT 2008:ERROR:com.eviware.soapui.impl.wsdl.support.xsd.SchemaException: Error loading schema types
com.eviware.soapui.impl.wsdl.support.xsd.SchemaException: Error loading schema types
at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.loadSchemaTypes(SchemaUtils.java:184)
at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext.loadDefinitions(WsdlContext.java:264)
at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext.access$500(WsdlContext.java:53)
at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext$Loader.construct(WsdlContext.java:218)
at com.eviware.soapui.support.swing.SwingWorkerDelegator.construct(SwingWorkerDelegator.java:45)
at com.eviware.soapui.support.swing.SwingWorker$2.run(SwingWorker.java:111)
at java.lang.Thread.run(Unknown Source)
Caused by: com.eviware.soapui.impl.wsdl.support.xsd.SchemaException
at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.buildSchemaTypes(SchemaUtils.java:273)
at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.loadSchemaTypes(SchemaUtils.java:179)
... 6 more
I wonder if there's a problem interpreting the schemaLocation attribute for xsd:import...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This may have to do with de-referencing http referrals deep in a set of xml documents. You can get all the error log information you need by using https://services.natureserve.org/idd/soap/services/Species?wsdl as a wsdl source. Both soapUI 2.5.1 and soapUI Pro 2.5.1 fail to follow an HTTP referral to https when the locator in the XML references http.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Error Message
Logged In: YES
user_id=838515
Originator: NO
Hi!
hmm.. are you getting any errors in the soapui or error log tabs? Or in the console window?
regards!
/Ole
eviware.com
Logged In: YES
user_id=1958701
Originator: NO
I'm encountering exactly the same problem in trying to load a WSDL. Unfortunately Sourceforge doesn't allow me to add any files, so I'm going to put my console and error output inline:
Console output:
Thu May 01 09:54:08 EDT 2008:ERROR:Error loading schema types from file:C:\dev\workspace\Consumer_XML\ConsumerFactory.wsdl, see log for details
Thu May 01 09:54:07 EDT 2008:DEBUG:Loading definition from cache
Thu May 01 09:54:07 EDT 2008:DEBUG:Returning baseInputSource [file:C:\dev\workspace\Consumer_XML\ConsumerFactory.wsdl]
Thu May 01 09:54:07 EDT 2008:DEBUG:Loaded definition: ok
Thu May 01 09:54:07 EDT 2008:INFO:Loading schema types from [file:C:\dev\workspace\Consumer_XML\ConsumerFactory.wsdl]
Thu May 01 09:54:07 EDT 2008:INFO:Getting schema file:C:\dev\workspace\Consumer_XML\ConsumerFactory.wsdl
Thu May 01 09:54:08 EDT 2008:ERROR:An error occured [file:C:/dev/schemas/WS-ResourceProperties-1_2.xsd:0: error: URL "WS-BaseFaults-1_2.xsd" is not well-formed], see error log for details
Thu May 01 09:54:08 EDT 2008:WARN:Error: file:C:/dev/schemas/WS-ResourceProperties-1_2.xsd:0: error: URL "WS-BaseFaults-1_2.xsd" is not well-formed
Thu May 01 09:54:08 EDT 2008:WARN:Error: file:C:/dev/schemas/WS-BaseFaults-1_2.xsd:0: error: URL "WS-Addressing-2005_08.xsd" is not well-formed
Thu May 01 09:54:08 EDT 2008:WARN:Error: file:C:/dev/schemas/WS-BaseFaults-1_2.xsd:0: error: URL "XML-Namespace-1998.xsd" is not well-formed
Thu May 01 09:54:08 EDT 2008:WARN:Error: file:C:/dev/schemas/WS-BaseNotification-1_3.xsd:0: error: URL "WS-ResourceLifetime-1_2.xsd" is not well-formed
Thu May 01 09:54:08 EDT 2008:WARN:Error: file:C:/dev/schemas/WS-BaseNotification-1_3.xsd:0: error: URL "WS-Topics-1_3.xsd" is not well-formed
Thu May 01 09:54:08 EDT 2008:WARN:Error: file:C:/dev/schemas/WSDM-MUWS-Part2-1_1.xsd:0: error: URL "WSDM-MUWS-Part1-1_1.xsd" is not well-formed
Thu May 01 09:54:08 EDT 2008:WARN:Error: file:C:/dev/schemas/WS-ResourceMetadataDescriptor-CD-01.xsd:0: error: URL "WS-ResourceProperties-1_2.xsd" is not well-formed
Thu May 01 09:54:08 EDT 2008:ERROR:An error occured [com.eviware.soapui.impl.wsdl.support.xsd.SchemaException], see error log for details
Thu May 01 09:54:08 EDT 2008:ERROR:Loading of definition failed for [file:C:\dev\workspace\Consumer_XML\ConsumerFactory.wsdl]; com.eviware.soapui.impl.wsdl.support.xsd.SchemaException: Error loading schema types
Thu May 01 09:54:08 EDT 2008:ERROR:An error occured [Error loading schema types], see error log for details
Error log output:
Thu May 01 09:54:08 EDT 2008:ERROR:org.apache.xmlbeans.XmlException: file:C:/dev/schemas/WS-ResourceProperties-1_2.xsd:0: error: URL "WS-BaseFaults-1_2.xsd" is not well-formed
org.apache.xmlbeans.XmlException: file:C:/dev/schemas/WS-ResourceProperties-1_2.xsd:0: error: URL "WS-BaseFaults-1_2.xsd" is not well-formed
at org.apache.xmlbeans.impl.schema.SchemaTypeSystemCompiler.compile(SchemaTypeSystemCompiler.java:225)
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)
at org.apache.xmlbeans.XmlBeans.compileXsd(XmlBeans.java:553)
at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.buildSchemaTypes(SchemaUtils.java:266)
at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.loadSchemaTypes(SchemaUtils.java:179)
at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext.loadDefinitions(WsdlContext.java:264)
at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext.access$500(WsdlContext.java:53)
at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext$Loader.construct(WsdlContext.java:218)
at com.eviware.soapui.support.swing.SwingWorkerDelegator.construct(SwingWorkerDelegator.java:45)
at com.eviware.soapui.support.swing.SwingWorker$2.run(SwingWorker.java:111)
at java.lang.Thread.run(Unknown Source)
Thu May 01 09:54:08 EDT 2008:ERROR:com.eviware.soapui.impl.wsdl.support.xsd.SchemaException
com.eviware.soapui.impl.wsdl.support.xsd.SchemaException
at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.buildSchemaTypes(SchemaUtils.java:273)
at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.loadSchemaTypes(SchemaUtils.java:179)
at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext.loadDefinitions(WsdlContext.java:264)
at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext.access$500(WsdlContext.java:53)
at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext$Loader.construct(WsdlContext.java:218)
at com.eviware.soapui.support.swing.SwingWorkerDelegator.construct(SwingWorkerDelegator.java:45)
at com.eviware.soapui.support.swing.SwingWorker$2.run(SwingWorker.java:111)
at java.lang.Thread.run(Unknown Source)
Thu May 01 09:54:08 EDT 2008:ERROR:com.eviware.soapui.impl.wsdl.support.xsd.SchemaException: Error loading schema types
com.eviware.soapui.impl.wsdl.support.xsd.SchemaException: Error loading schema types
at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.loadSchemaTypes(SchemaUtils.java:184)
at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext.loadDefinitions(WsdlContext.java:264)
at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext.access$500(WsdlContext.java:53)
at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext$Loader.construct(WsdlContext.java:218)
at com.eviware.soapui.support.swing.SwingWorkerDelegator.construct(SwingWorkerDelegator.java:45)
at com.eviware.soapui.support.swing.SwingWorker$2.run(SwingWorker.java:111)
at java.lang.Thread.run(Unknown Source)
Caused by: com.eviware.soapui.impl.wsdl.support.xsd.SchemaException
at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.buildSchemaTypes(SchemaUtils.java:273)
at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.loadSchemaTypes(SchemaUtils.java:179)
... 6 more
I wonder if there's a problem interpreting the schemaLocation attribute for xsd:import...
Logged In: YES
user_id=838515
Originator: NO
Hi!
hmm.. would it be possible for you to zip up your entire WSDL structure and mail it to me at ole@eviware.com?
thanks in advance!
regards,
/Ole
eviware.com
Logged In: YES
user_id=1958701
Originator: NO
I'm sending the information now with a few additional details.
This may have to do with de-referencing http referrals deep in a set of xml documents. You can get all the error log information you need by using https://services.natureserve.org/idd/soap/services/Species?wsdl as a wsdl source. Both soapUI 2.5.1 and soapUI Pro 2.5.1 fail to follow an HTTP referral to https when the locator in the XML references http.