[Mono-dev] WebServiceBindingAttribute bug in r72089?

Vladimir Krasnov vladimirk at mainsoft.com
Mon May 26 10:08:44 EDT 2008


Hello Atsushi,

I have fix for three bugs: #345448, #345449 and caused regression
#360241, please review attached patches, including test cases for each
one.

Vladimir

-----Original Message-----
From: mono-devel-list-bounces at lists.ximian.com
[mailto:mono-devel-list-bounces at lists.ximian.com] On Behalf Of Atsushi
Eno
Sent: Thursday, February 21, 2008 8:15 AM
To: mono-devel-list at lists.ximian.com
Subject: Re: [Mono-dev] WebServiceBindingAttribute bug in r72089?

If Vladimir does not fix his regression, I'll revert r91075 tomorrow.

Atsushi Eno

Robert Jordan wrote:
> joel reed wrote:
>> When I upgrade mono from 1.2.6 to SVN HEAD, I get the following error

>> making a webservice call:
>>
>> Unhandled Exception: System.InvalidOperationException: 
>> WebServiceBindingAttribute is required on proxy class 
>> 'Microsoft.TeamFoundation.Client.Authenticator'
>>
>> The class in question begins thusly:
>>
>> [System.Web.Services.WebServiceBindingAttribute(Name="ServerStatusSoa
>> p", 
>> Namespace="http://schemas.microsoft.com/TeamFoundation/2005/06/Servic
>> es/ServerStatus/03")] 
>> [System.Diagnostics.DebuggerStepThroughAttribute()]
>> [System.ComponentModel.DesignerCategoryAttribute("code")]
>> internal class Authenticator : 
>> System.Web.Services.Protocols.SoapHttpClientProtocol
>>
>> To get the class to work on SVN HEAD I had to make the following
change:
>> http://repo.or.cz/w/tfs.git?a=blobdiff;f=class/Microsoft.TeamFoundati
>> on.Client/Authenticator.cs;fp=class/Microsoft.TeamFoundation.Client/A
>> uthenticator.cs;h=49415b99a6e67c4c8ac8769787bf3e837dea14f2;hp=54fbe57
>> 736d23fa018840f0ebbf278c13acd35aa;hb=bec93a9ee5151193e6f1b41de8fe1667
>> aadc0ba1;hpb=31e713085a865708a46ca82d7d2625b550332326
>>
>> Basically, changing "ServerStatusSoap" to "AuthenticatorSoap".
>>
>> I think the changeset which introduced this new behavior is r72089.
>> http://lists.ximian.com/pipermail/mono-patches/2007-February/086979.h
>> tml
>>
>> I'm a bit surprised that apparently now the attribute name must match

>> the class name. That doesn't appear to be a requirement on this code 
>> sample at msdn2:
>>
>> http://msdn2.microsoft.com/en-us/library/system.web.services.webservi
>> cebindingattribute.aspx
>>
> 
> This is must likely this bug:
> 
> https://bugzilla.novell.com/show_bug.cgi?id=360421
> 
> Robert
> 
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
> 

_______________________________________________
Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ProtocolReflector.cs.patch
Type: application/octet-stream
Size: 710 bytes
Desc: ProtocolReflector.cs.patch
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20080526/695ecc5b/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ServiceDescriptionReflectorTest.cs.patch
Type: application/octet-stream
Size: 1780 bytes
Desc: ServiceDescriptionReflectorTest.cs.patch
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20080526/695ecc5b/attachment-0001.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TypeStubManager.cs.patch
Type: application/octet-stream
Size: 1525 bytes
Desc: TypeStubManager.cs.patch
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20080526/695ecc5b/attachment-0002.obj 


More information about the Mono-devel-list mailing list