Extending the BPEL model [message #7683] |
Mon, 07 May 2007 15:12 |
Nick Hofstede![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=Nick.Hofstede%40inventivedesigners.com) Messages: 1 Registered: July 2009 |
Junior Member |
|
|
All,
I'm trying to incorporate a custom UI element that would make calling
particular webservices easier. The webservices in question have rather
complex document-style interfaces, and I'd like to hide the complexity by
creating a custom UI control that would result in a Sequence of Assigns and
Invokes.
My initial hope was that I'd be able to annotate a Sequence with an
attribute, and that this would result in the calling of a factory I wrote to
provide the UI. I quickly discovered that this wasn't going to work.
By looking at the extension points and code I got the impression I'd have to
extend org.eclipse.wst.wsdl.extensibilityElementFactories. This would get
called for unknown elements in the source BPEL when building the model. The
created elements should end up in the model, after which I could look into
extending one of the UI factories to provide the UI. This would mean I'd
need an extra conversion of my custom element into BPEL proper before
deployment, but that's something I can live with.
Unfortunately, it went wrong at the first step. No factory registered with
org.eclipse.wst.wsdl.extensibilityElementFactories was called. After a bit
of debugging I discovered that
org.eclipse.wst.wsdl.internal.extensibility.ExtensibilityEle mentFactoryRegistryReader
should have a list of all registered factories, but that
org.eclipse.wst.wsdl.internal.extensibility.ExtensibilityEle mentFactoryRegistryReader.readRegistry()
that is responsible for actually filling the list wasn't called by anybody.
I believe this is why my extension wasn't used.
I am, however, very new at this and I'm not sure I'm going about this the
right way.
Am I doing something wrong? Is this a known problem?
If the answer to both questions is no, would you prefer I report this
through bugzilla?
Any other pointers or suggestions that might help me to accomplish my goal
of custom UI elements?
With kind regards,
Nick Hofstede
|
|
|
Powered by
FUDForum. Page generated in 0.03348 seconds