|Programmatically launching web service explorer [message #227811]
||Fri, 13 February 2009 15:30
Originally posted by: marius.eich.gmx.de|
I'd like to know if there is a way of programmatically launching the web
service explorer from another plugin. I haven't found any information about
this yet. I tried to launch the explorer by running
org.eclipse.wst.ws.internal.explorer.action.LaunchWSEAction but there is an
access restriction. Any ideas?
Thanks in advance and best regards
|Re: Programmatically launching web service explorer [message #228865 is a reply to message #228630]
||Thu, 12 March 2009 19:35
| Mark Hutchinson
Registered: July 2009
Sorry for taking so long to respond. I'm not sure why this doesn't
work. I can't find any places in WTP where we use this option.
Try setting a breakpoint in the LaunchOptionsManager.loadOptions method
to see what's going on there. Make sure the bindingNameStrings array
gets populated with your binding name, and then follow the code into
If you find a bug with the code please open a bug, and feel free to
contribute a patch.
I hope this helps,
Marius Eich wrote:
> Hi again,
> now that I managed to launch the web service explorer from my plugin, I'm
> trying to launch it with a binding already selected. There is no problem in
> preselecting the correct wsdl by setting the wsdl location as launchoption
> with the key LaunchOptions.WSDL_URL.
> Now I thought that I could preselect a binding belonging to this wsdl by
> adding the wsdl option and an option with the key
> LaunchOptions.BINDING_NAME_STRING and the correct binding name as value. But
> that doesn't work. After launching the explorer, the wsdl is selected and
> one can select a binding from the binding list. Can anyone tell me what I
> did wrong or where to find an example for this?
> Thanks and best regards
> Marius Eich
> "Marius Eich" <firstname.lastname@example.org> schrieb im Newsbeitrag
>> Hi Mark,
>> thank you very much. It worked.
>> Best regards
>> "Mark Hutchinson" <email@example.com> schrieb im Newsbeitrag
>>> Try using the WSExplorerLauncherCommand.
>>> There is an example of this in the WSEGenerateCommand (found in the
>>> org.eclipse.jst.ws.consumption.ui plugin)
>>> Marius Eich wrote:
>>>> I'd like to know if there is a way of programmatically launching the web
>>>> service explorer from another plugin. I haven't found any information
>>>> about this yet. I tried to launch the explorer by running
>>>> org.eclipse.wst.ws.internal.explorer.action.LaunchWSEAction but there is
>>>> an access restriction. Any ideas?
>>>> Thanks in advance and best regards
>>>> Marius Eich
Powered by FUDForum
. Page generated in 0.01608 seconds