Re: Web Service Issue
From: Mark Newmister (NoSpamming_at_None.com)
Date: 02/18/05
- Next message: Phil Greg: "Using user defined types"
- Previous message: steve: "Prevent NetworkCredential caching"
- In reply to: Band of Multi: "Web Service Issue"
- Messages sorted by: [ date ] [ thread ]
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
- Next message: Phil Greg: "Using user defined types"
- Previous message: steve: "Prevent NetworkCredential caching"
- In reply to: Band of Multi: "Web Service Issue"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|