Hi All,
I cannot import a wsdl using a URL in the import wsdl
dialog. The message at the bottom just says “Failed to load”
and I see following error in the log files. If I save the WSDL to the disk
first and then import a file instead of a URL it works.
Caused by:
org.eclipse.emf.ecore.xmi.PackageNotFoundException: Package with uri
'http://schemas.xmlsoap.org/wsdl/' not found.
(http://localhost:8095/SampleWS/services/SampleHelloWS?wsdl, 2, 319)
at
org.eclipse.emf.ecore.xmi.impl.XMLHandler.getPackageForURI(XMLHandler.java:2576)
at
org.eclipse.emf.ecore.xmi.impl.XMLHandler.getFactoryForPrefix(XMLHandler.java:2407)
at
org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObjectByType(XMLHandler.java:1285)
at
org.eclipse.emf.ecore.xmi.impl.XMLHandler.createTopObject(XMLHandler.java:1454)
at
org.eclipse.emf.ecore.xmi.impl.XMLHandler.processElement(XMLHandler.java:1019)
at
org.eclipse.emf.ecore.xmi.impl.XMIHandler.processElement(XMIHandler.java:83)
at
org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHandler.java:1001)
at
org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHandler.java:712)
at
org.eclipse.emf.ecore.xmi.impl.XMIHandler.startElement(XMIHandler.java:167)
at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown
Source)
Can anyone please let me know what may be causing this
problem? Any ideas.
Thanks,
Vikas