Re: Web Service Versions

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: BjörnHolmberg (bjRemovethiSorn.holmberg_at_suliteAndthiSlma.com)
Date: 07/31/04


Date: Sat, 31 Jul 2004 20:07:27 GMT

Hello Shaji!

Seems that .net proxies does not perform a validation against the wsdl (and xsd)
found at the webservice endpoint. Because of this it's possible to add new
functionality without breaking existing clients. If you need a more formal
approach, check up on Programming .NET Components by Juval Löwy. The ideas you
might need are in appendix A. The corresponding code example "Interface-based
web services" can be found at: http://www.idesign.net.

Regards
Bjorn

Shaji Sethu wrote:

> Richard Thombs wrote:
> > I ended up tagging my .asmx files with a 'Vx' suffix, so I have
> > TeamHavenMobileV1.asmx, TeamHavenMobileV2.asmx etc, etc.
> >
> > Each new version started off as a direct copy of the code and then code
> > modified to add whatever new methods I wanted, thus ensuring that the old
> > service remained untouched.
> >
> > R.
> Thanks Richard to your response. The issue i have is that I approached
> web service from a different angle. Instead of creating a class and then
> exposing it as a web service I created all the schemas (xsd) and then
> manually create a WSDL and finally created a server stub from this to
> make the web service. In this approach the change management is highly
> dependent on the XML schemas and if I take the normal approach and
> version the schemas using namespace it breaks backward
> compatibailty.....so kind on in a roack and hard place and need a
> lateral thought to get out of this.
>
> /Shaji



Relevant Pages

  • RE: Two questions for gurus about using strongly typed DataSet in Web
    ... > CustomerDataSet) in WSDL instead of using the WSDL <import ... > Apparently, if I include CustomerDataSet schema definition in WSDL types, it ... How to send a strongly typed DataSet over SOAP without the XSD? ... > typed DataSet between Web service server and client. ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Creating a Xml Web Service contract from an XSD and lots of coffee
    ... and related objects. ... I realize that I can read the XSD and create it by hand, ... generate the ASMX code that generates the WSDL. ... The XSD file isn't enough to specify a web service contract. ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: XSD to Web Service
    ... Use XSD.EXE to generate a class file. ... Modify WSDL to now point to external server address. ... >I have to interact with a web service created by an external company. ... They have supplied me with a XSD and some ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: Get XSD from ASMX
    ... Is the WSDL file supposed to be a valid XSD file?. ... No, a WSDL document describes the web service, it uses XSD inside to describe the types used but there are additional elements to completely ...
    (microsoft.public.dotnet.xml)
  • Re: WSDL.exe vs. "Add Web Reference"
    ... For example this complexType: ... I them created a WSDL using the XSD. ... Then I placed this file in an "Empty Web Project", added a Web Service, made ... If I do all these steps correctly the client should ...
    (microsoft.public.dotnet.framework.webservices)