Re: Web Service Issue

From: Mark Newmister (NoSpamming_at_None.com)
Date: 02/18/05


Date: Fri, 18 Feb 2005 10:05:59 -0500


>>You can then do the underlying coding and test the functionality. With out
>>changing the messages!

As Michael points out, the goal is to create your services in such a way
that you don't have to change the message interface.

In addition to what Michael suggests, I am finding it much easier to
maintain web services by over-simplifying the service interface itself.
Instead of having several well defined/designed web interfaces, try to
simplify the web interface to be as general as possible and move your well
defined functions/interfaces into helper classes (I think Michael is
advocating this helper class approach also). In other words, just think of
your web service interface as being a conduit to your helper classes. You
can turn 10 web method calls into just 1 general method call and handle the
logic in the helper classes. Just pass in all of the request information
via *one* XML parameter and return responses via XML. An element inside the
request XML can define the *real* function that you want to perform...your
helper classes can parse this out. This approach allows you to expand web
service functionality without changing the reference interface.

"Band of Multi" <BandofMulti@discussions.microsoft.com> wrote in message
news:04524769-F005-4152-AD2A-A82B6CD96D58@microsoft.com...
> The Application that my company built runs off of Web Services. The
> problem
> that we are having is that there are three programmers developing on these
> Web Services at the same time. When ever one person creates or edits a
> web
> service, it seems like the other web services don't get updated. In order
> to
> get the Web Service to work, I would need to change something, rebuild,
> and
> then update my web referance in our app. We have to do this everytime
> someone updates a web referance and it's tought to get anything done when
> we
> are updating our web referances. Any help will be much appreciated.
>
> Thanks,
> --
> Newbie



Relevant Pages

  • Re: multiple inheritance
    ... slice" of functionality, and use MI to get at it from a class that has this ... to think much more about the design at this level than any most programmers ... I'm a MI AND Interface fan. ... Point 1: Aggregation ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Great SWT Program
    ... orthogonal to whether or not a program has a decent user interface. ... A few also knew the arrow keys existed. ... "useful functionality required to qualify the application as an IDE". ... Or maybe you simply use "real text editor" as a synonym for IDE; ...
    (comp.lang.java.programmer)
  • Re: Ensuring a method exists
    ... When different classes offer similar functionality and you want ... Interface types are more flexible than class types because the former ... (defgeneric rem (collection object)) ... It's left up to the responsibility of the programmer to define the right methods, or to leave them out when they are actually not necessary. ...
    (comp.lang.lisp)
  • Re: When would you use an abstract class and when an interface?
    ... An abstract class is useful when you need a substantial amount of ... An example of where an interface is useful is where you have unrelated ... items that need to provide some similar functionality in a uniform ... but where the system caches them to disc as well as HTML ...
    (comp.lang.php)
  • Re: software design question
    ... Design your interface, and write your program around your interface. ... When functionality A gets created, before component B, likely ... It also doesn't scale very well, though Python ... having a single module, ...
    (comp.lang.python)