facebook

XFire WSDL First. Incremental development…

  1. MyEclipse Archived
  2.  > 
  3. Web Services
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #268105 Reply

    gpinkham
    Member

    Is anyone doing WSDL first in an incremental fashion? IE: Create a WSDL.. generate XFire code. make XFire generated code talk to biz services etc.. Test.. Enhance WSDL.. Regnerate Xfire code.. Make Xfire generated code talk to biz services etc.. Test..

    That 2nd generate will overly any of the work done by the 1st “make xfire generated code talk to Biz services”. So I’m curious how people are handling this? In other things (like Hibernate generation) there is a base class (always generated) and extensible classes (generated once).

    Or is everyone doing Pojo first?… 😀

    Thanks!
    Gary

    #268187 Reply

    Riyad Kalla
    Member

    Gary,
    I’ve asked someone from our team to weigh in on best-practices, but they are swamped so I don’t know when they will reply.

    #268214 Reply

    Russ
    Member

    Gary:

    What I do is keep the last working copy of my Web Service Implementation class in a separate location. When I add a new method to the WSDL, I let ME regenerate the classes again, then I cut and paste the methods I’ve already worked. This approach works for ME 5.1.1. For my more advance service, ME 5.5M1 allows you the option to overwrite the existing Web Service Interface and Implementation class. I choose not to overwrite the Implementation class, but instead I just add the stub using the interface definition version and build the method in the implementation class this way….

    This may not be the ideal practice and I am sure it can be automated better, but it does work with the tools and it keeps the development process going. I hope this helps you…..

    Russ

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: XFire WSDL First. Incremental development…

You must be logged in to post in the forum log in