Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Error when parsing wsdk with extn caps WSDL(Error when parsing wsdk with extn caps WSDL)
icon13.gif  Error when parsing wsdk with extn caps WSDL [message #487134] Tue, 22 September 2009 06:29
Keshavrao  is currently offline Keshavrao Friend
Messages: 34
Registered: July 2009
Hello All,

I am getting the below mentioned exception when i try to parse an WSDL file using the below line of code.
Same works when i just rename the file extension to "wsdl" from "WSDL"

resourceSet.getResource(URI.createURI(location), true);

the location of the URI here is an absolute path like "file:/C:/Work/TestWorkspace/......./Sample.WSDL"
Can someone help me if i am missing somthing here or would this be a bug?

Thanks and regards,
Keshav Veerapaneni.

Caused by: org.eclipse.emf.ecore.xmi.PackageNotFoundException: Package with uri '' not found.
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.getPackageForURI(X
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.getFactoryForPrefi x(
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObjectByType (
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createTopObject(XM
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.processElement(XML
at org.eclipse.emf.ecore.xmi.impl.XMIHandler.processElement(XMI
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHa
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHa
at org.eclipse.emf.ecore.xmi.impl.XMIHandler.startElement(XMIHa
at .startElement(
at startElement(
at cannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.j ava:1359)
at pl$ContentDriver.scanRootElementHook(XMLDocumentScannerImpl. java:1316)
at cannerImpl$
at pl$
at cannerImpl.scanDocument( 510)
at n.parse(
at n.parse(
at .parse(
at$JAXPSA XParser.parse(
at javax.xml.parsers.SAXParser.parse(
at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl. java:181)
at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLRes
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo ad(
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo adHelper(
Previous Topic:Eclipse and ANT
Next Topic:How to avoid 'Publish Web Service' Page in the Web Service Wizard?
Goto Forum:

Current Time: Tue Jun 19 01:16:49 GMT 2018

Powered by FUDForum. Page generated in 0.02149 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top