Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Web Service Wizard Question
Web Service Wizard Question [message #233004] Fri, 26 June 2009 15:30 Go to next message
Tilak Sharma is currently offline Tilak SharmaFriend
Messages: 48
Registered: July 2009
Member
How to show custom UI for WSDL selection in Top Down Scenario of Web
Service Wizard (instead of the UI provided by
WSDLSelectionWidget.addControls() )?

I need to customize the Web Service Wizard of the JST WS.

I added my custom web service type using the extension point:
org.eclipse.jst.ws.consumption.ui.wsImpl (eg: MyCustom Web Service)

This adds two entries in the Web Service Type combo : Bottom Up MyCustom
Web Service and Top Down MyCustom Web Service.

For Bottom Up MyCustom Web Service, I have used the extension point
org.eclipse.jst.ws.consumption.ui.objectSelectionWidget and provided my
custom UI for the "Browse" buttom which shows the "Select Service
Implementation" dialog. I have a class now as MyCustomSelectionWidget
which has the addControls() method where I write my custom UI code.

Now similarly for the Top Down MyCustom Web Service, I want to bring up my
own UI when I click "Browse" button, which by default uses the
"WSDLSelectionWidget.addControls()" method to bring the UI for the "Select
Service Definition" page.

Is there any extension point for plugging in my own UI when I click Browse
button in the Top Down scenario of the Web Service Wizard?

Or do I need to write more code in the MyCustomSelectionWidget ?

Thanks,
Tilak
Re: Web Service Wizard Question [message #233044 is a reply to message #233004] Mon, 29 June 2009 09:18 Go to previous messageGo to next message
Tilak Sharma is currently offline Tilak SharmaFriend
Messages: 48
Registered: July 2009
Member
The class ObjectSelectionWidget has the following code in the method
setTypeRuntimeServer() :

if (scenario == WebServiceScenario.TOPDOWN)
{
objectSelectionWidgetId =
" org.eclipse.jst.ws.internal.consumption.ui.widgets.object.WS DLSelectionWidget ";
}

where the class WSDLSelectionWidget is hardcoded here in the code, which
is used to show the UI for Browse button on the "Select Service
Definition" page in the Web Service Wizard for the Top Down Scenario.

Why is the class name hardcoded instead of providing an extension point?
Is there any strong reason for this?

Or can this be modified using an extension point? If yes, I can contribute
to the org.eclipse.jst.ws.consumption.ui plugin.
Re: Web Service Wizard Question [message #233594 is a reply to message #233044] Mon, 13 July 2009 19:37 Go to previous message
Keith Chong is currently offline Keith ChongFriend
Messages: 64
Registered: July 2009
Member
Hi Tilak,

See point 3 from https://bugs.eclipse.org/bugs/show_bug.cgi?id=204155 and
related comments.
Previous Topic:Issues copying a project
Next Topic:WSDL Validation error on Regix Pattern
Goto Forum:
  


Current Time: Thu Apr 25 07:42:47 GMT 2024

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

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

Back to the top