|Re: How to handle 'Finish' of the Web Services Wizard? [message #481517 is a reply to message #479638]
||Fri, 21 August 2009 07:09
| Tilak Sharma
Registered: July 2009
Thanks a lot for the reply, Mark !|
You are right, there is no handle for finish button on the WTP Web Service
Below is my understanding after having a look at the JAX WS CXF
implementation (can be found in JAX WS sources in the CXF plugins).
All operations are performed inside the Command which are added to the
ICommandFactory which will be returned from the WebService class.
Ex: MyWebService class has develop() method for the Develope stage of the
Web Service. From this web service I create a Vector and add my commands
(which are subclasses of AbstractDataModelOperation.)
Vector commands = new Vector();
commands.add(new ExampleDefaultingCommand( model ) );
These commands have execute() method. Using the model passed to its
constructor operations should be performed. Undo is also supported by the
undo() method inside these commands.
Powered by FUDForum
. Page generated in 0.01683 seconds