Smart Client using correct webservice version

  • Thread starter Thread starter Brian Sokolnicki
  • Start date Start date
B

Brian Sokolnicki

I have a question regarding versioning with a Smart Client and a Web
Service.



If we deploy an updated web service for some reason (say we rearrange the
parameters on a function call, or added a new one) before we deploy the
updated smart client, when the smart client attempts to call the web service
function, either data is passed in the wrong order or you get an exception
that not enough parms were passed.



What are my options for the Smart Client detecting this and react by either
exiting or disabling that feature until an updated application is available?



I hope this makes sense. Thanks for your help.
 
Hi Brian,

I think we may detect the change of web service in client code. For
example, when it call the web service and failed for some reason, it may
throw such an exception and tell user the web service call failed and he
may expect a new update for his client application avaliable soon.

Anyway, we had better update the client and web service at same time, so
this problem wouldn't happen.

Sincerely,

Luke Zhang

Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
 
Back
Top