Web References? Why do I have to update?
am 23.11.2007 10:59:41 von John Sheppard
Hello,
I have a VB.Net solution with 3 projects in it
One is a webservice
One is a Business Logic Layer
One is a User Interface layer
When ever I change the webservice I have to click on 'Update web references'
in my Business Logic Layer to get all my webmethod functions.
I was wondering, is there away to avoid this? they are in the same solution?
Why cant it just get the stuff from there? If so, does anyone know how I can
do that?
Its slow and a real pain :(
Thank you kindly for any ideas
John Sheppard
RE: Web References? Why do I have to update?
am 26.11.2007 16:15:03 von davebythesea
Hi,
A proxy class is generated from you web service. So when you update your web
reference a new proxy class is genrerated with the latest methods. If you
dont update your web reference you will potentially be using an out of date
proxy class. That will be of no use when i comes to actually calling one of
your web methods if the methods in your application and those on the server
are different.
Dave
"John Sheppard" wrote:
> Hello,
>
> I have a VB.Net solution with 3 projects in it
>
> One is a webservice
> One is a Business Logic Layer
> One is a User Interface layer
>
> When ever I change the webservice I have to click on 'Update web references'
> in my Business Logic Layer to get all my webmethod functions.
>
> I was wondering, is there away to avoid this? they are in the same solution?
> Why cant it just get the stuff from there? If so, does anyone know how I can
> do that?
>
> Its slow and a real pain :(
>
> Thank you kindly for any ideas
> John Sheppard
>
>