Thanks for the reply John. I do want to learn more about webservices,
that is why i posted the link to my webservice. How do the results of
the Invoke look? Is it recommended to have all the schema information
returned, or should I remove that since my webservice is so basic?
I'm looking for feedback, help me learn :-)
Sean
On Mar 5, 12:43 pm, "John Saunders" <john.saunders at trizetto.com>
wrote:
> If you're brand new to web services, then don't remove anything. You do not
> have the experience necessary to decide what to remove.
>
> Besides, if it ain't broke, don't fix it.
>
> John
> Thanks for the reply John. I do want to learn more about webservices,
> that is why i posted the link to my webservice. How do the results of
> the Invoke look? Is it recommended to have all the schema information
> returned, or should I remove that since my webservice is so basic?
>
> I'm looking for feedback, help me learn :-)
Then learn an extremely valuable lesson: don't touch code for no reason. You
have not expressed any reason to remove anything. If there is no such
reason, then don't do it!
Very often I'm asked, "what's the best/fastest/best designed way to do x".
My answer is "do it so that it works, then get to work on the next thing".
If it is too slow, that would be a reason to change things. If it needs to
change because it needs to be more general, then that might be a reason to
apply a Design Pattern. If it turns out that it doesn't really work, then
that would be the best reason of all to change things.
But if none of the above apply, then there is usually more code to write,
and you'd be better off spending your time on the other code until a better
reason arises.
John
P.S. When I say "works", I mean that, ideally, all of its automated unit
tests should pass. A good set of automated tests will give you a real,
executable definition of "it works". This is very useful when you go to
improve the performance or the design. It allows you to say, "I improved the
performance/design" and still, "it works".
Sean-usenet - 05 Mar 2007 21:53 GMT
Well, I wrote this webservice as a learning experience not for a
production need. So, while I understand your logic of "get it working
and go on to the next project" - it doesn't really apply to this. The
whole goal of this was to start learning how to build good webservices
that follow accepted practices. I made this one as well as I could
from my own reading and research, now I am hoping that someone familar
with using webservices can take a look at it and give me some
suggestions.
On Mar 5, 3:13 pm, "John Saunders" <john.saunders at trizetto.com>
wrote:
> Then learn an extremely valuable lesson: don't touch code for no reason. You
> have not expressed any reason to remove anything. If there is no such
[quoted text clipped - 18 lines]
> improve the performance or the design. It allows you to say, "I improved the
> performance/design" and still, "it works".
John Saunders - 05 Mar 2007 23:04 GMT
> Well, I wrote this webservice as a learning experience not for a
> production need. So, while I understand your logic of "get it working
[quoted text clipped - 4 lines]
> with using webservices can take a look at it and give me some
> suggestions.
Sorry, but that person won't be me. I don't have time for that. I'm working
on the next project, and the one after that, and the one after that!
John