[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[bpel-dev] EMF resource loading puzzle.
|
Can someone point out to me what the reason for this exception might be ?
If I attempt to load this WSDL from this location:
http://ws.strikeiron.com/InnerGears/ForecastByZip2?WSDL
I get this exception in the Eclipse console (the parent eclips co
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1$DiagnosticWrappedException:
Status ERROR: org.eclipse.bpel.ui code=0
org.eclipse.emf.ecore.xmi.PackageNotFoundException: Package with uri
'http://schemas.xmlsoap.org/wsdl/' not found.
(http://ws.strikeiron.com/InnerGears/ForecastByZip2?WSDL, 2, -1)
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1$DiagnosticWrappedException:
org.eclipse.emf.ecore.xmi.PackageNotFoundException: Package with uri
'http://schemas.xmlsoap.org/wsdl/' not found.
(http://ws.strikeiron.com/InnerGears/ForecastByZip2?WSDL, 2, -1)
Partial stack trace is:
!ENTRY org.eclipse.bpel.ui 4 0 2006-08-23 13:52:54.609
!MESSAGE org.eclipse.emf.ecore.xmi.PackageNotFoundException: Package
with uri 'http://schemas.xmlsoap.org/wsdl/' not found.
(http://ws.strikeiron.com/InnerGears/ForecastByZip2?WSDL, 2, -1)
!STACK 0
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1$DiagnosticWrappedException:
org.eclipse.emf.ecore.xmi.PackageNotFoundException: Package with uri
'http://schemas.xmlsoap.org/wsdl/' not found.
(http://ws.strikeiron.com/InnerGears/ForecastByZip2?WSDL, 2, -1)
at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.handleDemandLoadException(ResourceSetImpl.java:307)
at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:268)
at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:390)
at
org.eclipse.bpel.ui.dialogs.SchemaImportDialog.attemptLoad(SchemaImportDialog.java:416)
at
org.eclipse.bpel.ui.dialogs.SchemaImportDialog$5.run(SchemaImportDialog.java:447)
at
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
Caused by: org.eclipse.emf.ecore.xmi.PackageNotFoundException: Package
with uri 'http://schemas.xmlsoap.org/wsdl/' not found.
(http://ws.strikeiron.com/InnerGears/ForecastByZip2?WSDL, 2, -1)
at
org.eclipse.emf.ecore.xmi.impl.XMLHandler.getPackageForURI(XMLHandler.java:2311)
at
org.eclipse.emf.ecore.xmi.impl.XMLHandler.getFactoryForPrefix(XMLHandler.java:2149)
at
org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObjectByType(XMLHandler.java:1132)
at
org.eclipse.emf.ecore.xmi.impl.XMLHandler.createTopObject(XMLHandler.java:1234)
at
org.eclipse.emf.ecore.xmi.impl.XMLHandler.processElement(XMLHandler.java:872)
at
org.eclipse.emf.ecore.xmi.impl.XMIHandler.processElement(XMIHandler.java:78)
at
org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHandler.java:854)
at
org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHandler.java:626)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1674)
at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:667)
at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl.java:179)
at
org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLResourceImpl.java:179)
at
org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1089)
at
org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:895)
at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoad(ResourceSetImpl.java:249)
at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:264)
... 4 more
However, when I save the source of the WSDL to a file and load that
file, it loads OK, no exceptions at all.
To add insult to injury, this URL loads fine:
http://localhost/wsdl/cache/CATrafficService.wsdl
So it seems like a difference between http:// and file:// loading, but
not so since one WSDL works as a file but not as a http. The only
difference between the
working and non-working http accessible WSDL is the query string, ?WSDL
on the one that does not work.
If you have the most recent source from the tip, try attaching these
WSDLs to the imports, either in the import properties or by trying to
add a partner link.
It's probably something obvious about EMF that I don't know about. Ideas ?
-michal
--
Michal Chmielewski, CMST, Oracle Corp,
W:650-506-5952 / M:408-209-9321
"Manuals ?! What manuals ? Son, it's Unix, you just gotta know."