Re: How to updated the Generated web service? [message #374705] |
Thu, 01 May 2008 09:26  |
Eclipse User |
|
|
|
Originally posted by: ohurley.iona.com
Hi Arman,
Arman wrote:
> 1) STP has added annotations to the source of the defined Interface which
> is a littile starnge for developer. Now if developer wants to add a
> method, he have to not only define the signiture of the method (like the
> definition of the first method), but also should add approperiate
> annotations to the method. It is because STP generates the annotation only
> in the first time and in futher changes, it does not generate any
> annotation.
The STP service creation code "gets you started" by injecting
the relevant annotations when you choose your interface. It's
true that it does not continue to watch you as you extend the
interface. Do you think this would be a good feature? If so,
the best thing to do is to file an enhancement request at the
STP bugzilla! [0]
> 2) The generated WSDL file is not changed automatically after changing the
> definition of the Web Service in the Interface and developer must change
> it mannually. Therefore, he must know WSDL syntax which is not the case
> usually.
Well, that sounds like a bug to me. STP should be helping the
developer to keep as far away as they want from WSDL :) Can you
file a bug for it? [0]
best regards
Oisin
[0] https://bugs.eclipse.org/bugs/enter_bug.cgi?classification=S TP
--
Oisin Hurley at IONA
http://blogs.iona.com/ohurley/
|
|
|
|
Re: How to updated the Generated web service? [message #616118 is a reply to message #615845] |
Wed, 14 May 2008 09:21  |
Eclipse User |
|
|
|
arman wrote:
> There is also one more problem: After generation of the web service, we
> should implement the methods by adding codes to its body. But if we
> regenerate the web service, the method is overwrited and the method
> implementation is deleted, while the added code should be kept.
> If these problems are not removed, STP would not be a suitable option for
> web services development.
This looks like a bug - we should have some kind of codemerge in place
where the code that you add doesn't get deleted. Could you add a
bug report at [0] for us? It would be helpful to briefly describe the
set of steps it takes to get to the problem.
> I also worked with WTP capabilities for web service development and it
> seems to be better than STP.
WTP has very mature web service capabilities, but last time I checked,
there wasn't support for JAX-WS driven development (i.e. not using
WSDL and using standardized markup). If you are going purely for a
WSDL-first approach, and you don't need JAX-WS APIs, then definitely
go for the WTP way!
best regards
Oisin
[0] https://bugs.eclipse.org/bugs/enter_bug.cgi?classification=S TP
--
Oisin Hurley at IONA
http://blogs.iona.com/ohurley/
|
|
|
Powered by
FUDForum. Page generated in 0.04035 seconds