Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > Differences in WSDL between versions of a web service.

Reply
Thread Tools

Differences in WSDL between versions of a web service.

 
 
rusmo1@gmail.com
Guest
Posts: n/a
 
      01-27-2006
I have 2 versions of a C# 1.1 web service that emit different WSDL, and
I would like to know what I may have done to cause this change, and
what effect it might have on my client apps.

The original verison's WSDL contains sections for each web service
function by name appended with HttpGetIn, HttpGetOut, HttpPostIn, and
HttpPostOut. For example, for the web service function "Init", I have
corresponding "InitHttpGetIn", "InitHttpGetOut", "InitHttpPostIn" and
"InitHttpPostOut" sections in the WSDL.

The new version of the web service's WSDL is missing these sections,
and our client application is not working with it. There is also a
large section that starts wtih "<wsdl: binding" which seems to be
related to the HttpGet and HttpPost sections above that is missing in
the new version's WSDL.

I'm wondering if perhaps the client application is somehow reliant on
these sections in order to function correctly. Is there a way for me to
"add" these sections back in to the web service?

Thanks in advance for any replies.
Will.

 
Reply With Quote
 
 
 
 
m.posseth
Guest
Posts: n/a
 
      01-29-2006
Hello Wil,

You should remember this rule :

Never change the signature of an already released method in a webservice

so you may add new methods , you may even change the content of the already
released methods but the Set and Get signature of these methods must always
be the same otherwise you break the compatibility to your clients .

It doesn`t mather that your current WSDL is different as before , if you add
a new method to your service it will also change , the client doesn`t even
have to be aware of this change

So ins hort you should be safe if you did not change the signature of your
previous methods

regards

Michel Posseth [MCP]




<> wrote in message
news: oups.com...
>I have 2 versions of a C# 1.1 web service that emit different WSDL, and
> I would like to know what I may have done to cause this change, and
> what effect it might have on my client apps.
>
> The original verison's WSDL contains sections for each web service
> function by name appended with HttpGetIn, HttpGetOut, HttpPostIn, and
> HttpPostOut. For example, for the web service function "Init", I have
> corresponding "InitHttpGetIn", "InitHttpGetOut", "InitHttpPostIn" and
> "InitHttpPostOut" sections in the WSDL.
>
> The new version of the web service's WSDL is missing these sections,
> and our client application is not working with it. There is also a
> large section that starts wtih "<wsdl: binding" which seems to be
> related to the HttpGet and HttpPost sections above that is missing in
> the new version's WSDL.
>
> I'm wondering if perhaps the client application is somehow reliant on
> these sections in order to function correctly. Is there a way for me to
> "add" these sections back in to the web service?
>
> Thanks in advance for any replies.
> Will.
>



 
Reply With Quote
 
 
 
 
rusmo1@gmail.com
Guest
Posts: n/a
 
      01-30-2006
Thanks for your reply. I already knew not to change the method
signatures of published web services. I was able to get the WSDL's to
match by including this section in the new version's web.config:

<webServices>
<protocols>
<add name="HttpGet"/>
<add name="HttpPost"/>
</protocols>
</webServices>

This didn't solve my problem. It turns out I had a bug in the new
version of my web service, but thanks for your time.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RubyWMQ and differences between MQ Series versions Jonatas Paganini Ruby 0 02-28-2011 12:40 PM
DEVELOP THE WINNING EDGE, SMALL DIFFERENCES IN YOUR PERFORMANCE CANLEAD TO LARGE DIFFERENCES IN YOUR RESULTS Home_Job_opportunity C Programming 0 01-14-2009 03:51 PM
DEVELOP THE WINNING EDGE, SMALL DIFFERENCES IN YOUR PERFORMANCE CANLEAD TO LARGE DIFFERENCES IN YOUR RESULTS Home_Job_opportunity C Programming 0 01-08-2009 04:31 PM
Differences between Web Site and Web Application Lloyd Sheen ASP .Net 2 11-19-2007 04:01 PM
Canon 300d - Differences betwen US and Australian versions of Graham and Beth Harden Digital Photography 8 07-24-2004 03:11 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57