[Mono-bugs] [Bug 446297] New: Bug in Generating Proxy Class

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Nov 18 17:09:52 EST 2008


https://bugzilla.novell.com/show_bug.cgi?id=446297


           Summary: Bug in Generating Proxy Class
           Product: Mono: Class Libraries
           Version: 1.9
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Mono.Security
        AssignedTo: spouliot at novell.com
        ReportedBy: webservices at landmarkdigital.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Integration Test


Dear Mono Team,

When we generate the proxy class using mono development, it generated 
Referance.cs class, in this class 2 methods have issue.
above the method its is generated "SecurityInfoValueField"
it suppose to generate "SecurityInfoValue"

here is the issue(Build from Mono development) :       
[System.Web.Services.Protocols.SoapHeaderAttribute("SecurityInfoValueField")]   

It suppose to generate like below (Build from VS.Net 2005)
[System.Web.Services.Protocols.SoapHeaderAttribute("SecurityInfoValue")]


Here is the 2 methods have issue 

/// <remarks>
///Returns a list of methods allowed for the currently authenticated user.
///</remarks>
       
[System.Web.Services.Protocols.SoapHeaderAttribute("SecurityInfoValueField")]
       
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.landmarkdigital.com/GetAllowedMethods",
RequestNamespace = "http://www.landmarkdigital.com", ResponseNamespace =
"http://www.landmarkdigital.com", ParameterStyle =
System.Web.Services.Protocols.SoapParameterStyle.Wrapped, Use =
System.Web.Services.Description.SoapBindingUse.Literal)]
public MethodInfo[] GetAllowedMethods()
{
  object[] results = this.Invoke("GetAllowedMethods", new object[0]);
  return ((MethodInfo[])(results[0]));
}

/// <remarks>
///Authenticates a user.
///</remarks>
       
[System.Web.Services.Protocols.SoapHeaderAttribute("SecurityInfoValueField")]
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.landmarkdigital.com/Authenticate",
RequestNamespace = "http://www.landmarkdigital.com", ResponseNamespace =
"http://www.landmarkdigital.com", ParameterStyle =
System.Web.Services.Protocols.SoapParameterStyle.Wrapped, Use =
System.Web.Services.Description.SoapBindingUse.Literal)]
public SecurityResultInfo Authenticate()
{
        object[] results = this.Invoke("Authenticate", new object[0]);         
return ((SecurityResultInfo)(results[0]));
        }


        2 methods suppose look like below 

        /// <remarks>
        ///Returns a list of methods allowed for the currently authenticated
user.
        ///</remarks>
       
[System.Web.Services.Protocols.SoapHeaderAttribute("SecurityInfoValueField")]
       
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.landmarkdigital.com/GetAllowedMethods",
RequestNamespace = "http://www.landmarkdigital.com", ResponseNamespace =
"http://www.landmarkdigital.com", ParameterStyle =
System.Web.Services.Protocols.SoapParameterStyle.Wrapped, Use =
System.Web.Services.Description.SoapBindingUse.Literal)]
        public MethodInfo[] GetAllowedMethods()
        {
            object[] results = this.Invoke("GetAllowedMethods", new object[0]);
            return ((MethodInfo[])(results[0]));
        }



        /// <remarks>
        ///Authenticates a user.
        ///</remarks>
       
[System.Web.Services.Protocols.SoapHeaderAttribute("SecurityInfoValueField")]
       
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.landmarkdigital.com/Authenticate",
RequestNamespace = "http://www.landmarkdigital.com", ResponseNamespace =
"http://www.landmarkdigital.com", ParameterStyle =
System.Web.Services.Protocols.SoapParameterStyle.Wrapped, Use =
System.Web.Services.Description.SoapBindingUse.Literal)]
        public SecurityResultInfo Authenticate()
        {
            object[] results = this.Invoke("Authenticate", new object[0]);
            return ((SecurityResultInfo)(results[0]));
        }       


        please fix the above issue from next version. 


        Thanks,
        Landmark Digital Service.


-- 
Configure bugmail: https://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