Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Service Oriented Architecture Tools Platform (STP) » How to updated the Generated web service?
How to updated the Generated web service? [message #614470] Tue, 29 April 2008 08:52 Go to next message
arman is currently offline armanFriend
Messages: 22
Registered: July 2009
Junior Member
Hi All,

After defining an Interface and generating a web service, I want to change
the definition of the web service. I mean I want to define a new method or
add a parameter to an existing method. But it seems that it is not so
simple because of two reasons:
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.
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.

If I am wrong or you have any idea please tell me.
Thanks a lot,
Arman
Re: How to updated the Generated web service? [message #614475 is a reply to message #614470] Thu, 01 May 2008 13:26 Go to previous message
Oisin Hurley is currently offline Oisin HurleyFriend
Messages: 204
Registered: July 2009
Senior Member
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/
Previous Topic:How to updated the Generated web service?
Next Topic:STP Drivers
Goto Forum:
  


Current Time: Thu Dec 05 18:42:00 GMT 2024

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

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

Back to the top