How to obtain the runtime element of an bpel:import target [message #630043] |
Thu, 30 September 2010 09:36  |
Eclipse User |
|
|
|
One can import WSDLs and XSDs using the bpel:import element. The import element knows 3 attributes: namespace, location, importType. Obviously, the "location" attribute points to the imported document.
Now I want to know how I get access to the runtime object of the imported document. So in the case I imported a WSDL, the runtime object should be castable to org.eclipse.wst.wsdl.Definition.
I suppose I need to take an indirection via the EcorePackage and get the element for the path as given by the "location" attribute, but I don't find any good tutorials or advices on this.
The crucial question maybe is: Who (which class) knows the model of the BPEL file as well as the models of the imported files. I hope I put the idea across.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03579 seconds