Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Package with uri 'http://schemas.xmlsoap.org/wsdl/' not found
Package with uri 'http://schemas.xmlsoap.org/wsdl/' not found [message #869400] Thu, 03 May 2012 10:48 Go to next message
Tex Iano is currently offline Tex IanoFriend
Messages: 99
Registered: February 2012
Member
Hi,

I want to perform an ATL transformation based on WSDL. For this purpose, I have downloaded the WSDL.ecore but I cannot load an instance of this metamodel. When I try to load a WSDL file I get:

org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Package with uri 'schemas.xmlsoap.org/wsdl/' (not allowed to post the entire link) not found. (file:///C:/workspace/Trans/IN, 2, 273)
	at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.handleErrors(XMLLoadImpl.java:83)
	at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl.java:191)
	at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLResourceImpl.java:242)
	at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1511)
	at org.eclipse.m2m.atl.drivers.emf4atl.EMFModelLoader.loadModel(EMFModelLoader.java:183)


So I added this path to the registry:

EPackage.Registry.INSTANCE.put("schemas.xmlsoap.org/wsdl/", "file:/C:/workspace/Trans/bin/metamodels/WSDL.ecore");


But this does not help. Any ideas?

Regards,

Tex
Re: Package with uri 'http://schemas.xmlsoap.org/wsdl/' not found [message #869775 is a reply to message #869400] Fri, 04 May 2012 09:46 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33113
Registered: July 2009
Senior Member
Comments below.

On 03/05/2012 12:48 PM, Tex Iano wrote:
> Hi,
>
> I want to perform an ATL transformation based on WSDL. For this
> purpose, I have downloaded the WSDL.ecore but I cannot load an
> instance of this metamodel.
I expect you need to use the generated WSDL model with all the hand
written logic that allows WSDL's XML syntax to be converted to an EMF
model for WSDL's abstract components. WSDL also has a specialized
resource factory that needs to be used for loading instances.
> When I try to load a WSDL file I get:
>
>
> org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Package
> with uri 'schemas.xmlsoap.org/wsdl/' (not allowed to post the entire
> link) not found. (file:///C:/workspace/Trans/IN, 2, 273)
> at
> org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.handleErrors(XMLLoadImpl.java:83)
> at
> org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl.java:191)
> at
> org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLResourceImpl.java:242)
> at
> org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1511)
> at
> org.eclipse.m2m.atl.drivers.emf4atl.EMFModelLoader.loadModel(EMFModelLoader.java:183)
>
>
> So I added this path to the registry:
>
>
> EPackage.Registry.INSTANCE.put("schemas.xmlsoap.org/wsdl/",
> "file:/C:/workspace/Trans/bin/metamodels/WSDL.ecore");
>
>
> But this does not help. Any ideas?
>
> Regards,
>
> Tex


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Package with uri 'http://schemas.xmlsoap.org/wsdl/' not found [message #1227501 is a reply to message #869400] Sat, 04 January 2014 18:18 Go to previous messageGo to next message
michel souza is currently offline michel souzaFriend
Messages: 18
Registered: December 2013
Junior Member
Hi Tex,

I'm facing a similar problem. You have figured how to fix this error?

Thanks
Re: Package with uri 'http://schemas.xmlsoap.org/wsdl/' not found [message #1227545 is a reply to message #869400] Sat, 04 January 2014 21:26 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
Hi

I can't be sure about this particular URL, but in the past
(https://bugs.eclipse.org/bugs/show_bug.cgi?id=320417) some web plugins
have contributed stale EMF registrations that can crash genuine EMF
applications; if the applications fail to catch exceptions properly
during paxckage registry loops to fail.

I recommend importing all web projects into your workspace as pluigins
then searching for the offending string. Report a Bugzilla and then
develop a dummy plugin to supply the spurious model.

And/Or customise EMFModelLoader to ignore the bad reference.

Regards

Ed Willink

On 03/05/2012 11:48, Tex Iano wrote:
> Hi,
>
> I want to perform an ATL transformation based on WSDL. For this
> purpose, I have downloaded the WSDL.ecore but I cannot load an
> instance of this metamodel. When I try to load a WSDL file I get:
>
>
> org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Package
> with uri 'schemas.xmlsoap.org/wsdl/' (not allowed to post the entire
> link) not found. (file:///C:/workspace/Trans/IN, 2, 273)
> at
> org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.handleErrors(XMLLoadImpl.java:83)
> at
> org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl.java:191)
> at
> org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLResourceImpl.java:242)
> at
> org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1511)
> at
> org.eclipse.m2m.atl.drivers.emf4atl.EMFModelLoader.loadModel(EMFModelLoader.java:183)
>
>
> So I added this path to the registry:
>
>
> EPackage.Registry.INSTANCE.put("schemas.xmlsoap.org/wsdl/",
> "file:/C:/workspace/Trans/bin/metamodels/WSDL.ecore");
>
>
> But this does not help. Any ideas?
>
> Regards,
>
> Tex
Previous Topic:Re: [CDO] Open Resource Dialog
Next Topic:[CDO] DBStore support for join and async query
Goto Forum:
  


Current Time: Fri Mar 29 02:38:16 GMT 2024

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

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

Back to the top