• Post Reply Bookmark Topic Watch Topic
  • New Topic

WSDL extension  RSS feed

 
Sandeep Advani
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello

I have a server WebService which accepts byte codes from clients, write them to a database, load them and invoke them. I want this server now to advertise the fact to the outside world that it has now added new functionality on the fly. Guess the best way will be advertise through WSDL, ofcourse.

Problem is that if I change the WSDL, pre-existing clients will loose their contract and their code breaks forcing them to re-compile and generate new stubs. Even if I think of doing this (which I dont want to), can WSDL extension be provided dynamically without recompiling the server Web Service.

Does WSIF come to the rescue here where I can extend WSDL without breaking any existing contract ?

Any suggestions,
Sandeep
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you change the WSDL by just adding new operations and leave the existing operations intact, the clients don't need to recompile/generate anything. If you change operation's "signatures" or even just rename them, there is no way for the clients to know which operation they should be calling now and what to pass in as "the fourth string-type parameter that the service is now suddenly requiring"...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!