Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / May 2006

Tip: Looking for answers? Try searching our database.

Web service updating

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
drabee - 23 May 2006 10:33 GMT
i have website using web service if i modified the web service can i update
my website automatically without updating the  referance from my wesite
....Say YES please
Robert Wilczynski - 23 May 2006 17:21 GMT
Hi,

It depends on what you mean by "i modified the web service". If you only
modified the internal behavior and didn't touch the contract part (web service
method parameters and return values) then no modifications are necessary
to the website. If you did change the contract you will probably have to
regenerate the web service proxy and fix the method calls in your website
code. If you need more help, please be more specific about the changes you've
made to your webservice.

Best regrds,
Robert Wilczynski.

> i have website using web service if i modified the web service can i
> update my website automatically without updating the  referance from
> my wesite ....Say YES please
drabee - 27 May 2006 10:35 GMT
Thank you very much
suppose i want to add new method to the web service can i even using code to
regenerate the web service proxy without doing this manualy .
means , my website will detect automatically that my web service has been
changed and automatically will regenerate the web service proxy

> Hi,
>
[quoted text clipped - 12 lines]
> > update my website automatically without updating the  referance from
> > my wesite ....Say YES please
Robert Wilczynski - 27 May 2006 13:39 GMT
Hi,

Adding a new method to the webservice doesn't really break a contract between
the service and the web site using it. Your web site will only be aware of
a subset of operations offerd by the service and as long as those are not
modified it can use them. If adding a new method is your only change there
is no need to update the web site.

The approch you've described (amutomatic proxy regeneration on service updates)
doesn't really make sense. You could do it but:

1) if you don't change the methods used by the web site or only change the
implementation of such methods there is no reason to do it.
2) if you change the methods used by the web site (add or remove arguments
etc) this will break the contract. Even if you regenerate the proxy how will
you regenerate the assemblies that are using it?

Does that help?

Best regards,
Robert Wilczynski.

> Thank you very much
> suppose i want to add new method to the web service can i even using
[quoted text clipped - 20 lines]
>>> update my website automatically without updating the  referance from
>>> my wesite ....Say YES please

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.