[Mono-bugs] [Bug 567428] Soap Headers dont appear to be passing to webservice

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Jan 28 10:09:25 EST 2010


http://bugzilla.novell.com/show_bug.cgi?id=567428

http://bugzilla.novell.com/show_bug.cgi?id=567428#c5


Jb Evain <jbevain at novell.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|jbevain at novell.com          |atsushi at ximian.com

--- Comment #5 from Jb Evain <jbevain at novell.com> 2010-01-28 15:09:24 UTC ---
Actually it's not a linker bug. The exception is thrown even when we don't
link.

Atsushi, could you shed some light on the issue? The proxy generator generates
a:

private AuthenticateHeader AuthenticateHeaderValueField;

Which is referenced by the soap methods:

[SoapHeader ("AuthenticateHeaderValueField")]

But then the code is Sys.Web.Services.Protocols.SoapMessage.ctor does a :

type.GetMember (attribute.MemberName)

Which fails as the member name is this case is private.

I guess you know better what we should do, either specify a BindingFlags on
GetMember, or generate the PropertyName is the SoapHeader attribute. In this
case I'll have to modify the linker to preserve the property.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list