[Mono-bugs] [Bug 75323][Wis] New - Problem with WebServices and XML Serialization on client side

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Jun 20 04:05:02 EDT 2005


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by informatique.internet at fiducial.fr.

http://bugzilla.ximian.com/show_bug.cgi?id=75323

--- shadow/75323	2005-06-20 04:05:02.000000000 -0400
+++ shadow/75323.tmp.13600	2005-06-20 04:05:02.000000000 -0400
@@ -0,0 +1,112 @@
+Bug#: 75323
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Sys.Web.Services
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: informatique.internet at fiducial.fr               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Problem with WebServices and XML Serialization on client side
+
+I've got since a week (it use to work very well) an exception when I call
+the constructor of my WService... (i'm working with the today's svn version
+of mono/mcs)
+I just Call :
+
+ADServices.ADWS proxy = new ADServices.ADWS();
+
+in my program FicheClient.Logon:btnValider_Click()
+
+and I get this exception :
+Server error in '/' application
+Description: Error processing request.
+
+Error Message: HTTP 500.
+
+Stack Trace:
+
+System.ArgumentNullException: Argument cannot be null.
+Parameter name: type
+in <0x00291>
+System.Xml.Serialization.XmlReflectionImporter:ImportTypeMapping
+(System.Type type, System.Xml.Serialization.XmlRootAttribute root,
+System.String defaultNamespace)
+in <0x0008e>
+System.Xml.Serialization.XmlReflectionImporter:ImportIncludedTypes
+(System.Type type, System.String defaultNamespace)
+in <0x0062e>
+System.Xml.Serialization.XmlReflectionImporter:ImportClassMapping
+(System.Type type, System.Xml.Serialization.XmlRootAttribute root,
+System.String defaultNamespace)
+in <0x00268>
+System.Xml.Serialization.XmlReflectionImporter:ImportClassMapping
+(System.Type type, System.Xml.Serialization.XmlRootAttribute root,
+System.String defaultNamespace)
+in <0x00094>
+System.Xml.Serialization.XmlReflectionImporter:ImportTypeMapping
+(System.Type type, System.Xml.Serialization.XmlRootAttribute root,
+System.String defaultNamespace)
+in <0x002a4>
+System.Xml.Serialization.XmlReflectionImporter:ImportElementInfo
+(System.Type cls, System.String defaultName, System.String
+defaultNamespace, System.Type defaultType,
+System.Xml.Serialization.XmlTypeMapMemberElement member,
+System.Xml.Serialization.XmlAttributes atts)
+in <0x00a55> System.Xml.Serialization.XmlReflectionImporter:CreateMapMember
+(System.Type declaringType, System.Xml.Serialization.XmlReflectionMember
+rmember, System.String defaultNamespace)
+in <0x00070>
+System.Xml.Serialization.XmlReflectionImporter:ImportMembersMapping
+(System.String elementName, System.String ns,
+System.Xml.Serialization.XmlReflectionMember[] members, Boolean
+hasWrapperElement)
+in <0x0062e> System.Web.Services.Protocols.SoapMethodStubInfo:.ctor
+(System.Web.Services.Protocols.TypeStubInfo typeStub,
+System.Web.Services.Protocols.LogicalMethodInfo source, System.Object kind,
+System.Xml.Serialization.XmlReflectionImporter xmlImporter,
+System.Xml.Serialization.SoapReflectionImporter soapImporter)
+in <0x000c6>
+System.Web.Services.Protocols.SoapTypeStubInfo:CreateMethodStubInfo
+(System.Web.Services.Protocols.TypeStubInfo parent,
+System.Web.Services.Protocols.LogicalMethodInfo lmi, Boolean isClientProxy)
+in <0x0010d> System.Web.Services.Protocols.TypeStubInfo:BuildTypeMethods ()
+in <0x00014> System.Web.Services.Protocols.TypeStubInfo:Initialize ()
+in <0x00068>
+System.Web.Services.Protocols.LogicalTypeInfo:CreateTypeStubInfo
+(System.Type type)
+in <0x0005f> System.Web.Services.Protocols.LogicalTypeInfo:GetTypeStub
+(System.String protocolName)
+in <0x0001d> System.Web.Services.Protocols.TypeStubManager:GetTypeStub
+(System.Type t, System.String protocolName)
+in <0x00025> System.Web.Services.Protocols.SoapHttpClientProtocol:.ctor ()
+in <0x0000a> FicheClient.ADServices.ADWS:.ctor ()
+in (wrapper remoting-invoke-with-check) FicheClient.ADServices.ADWS:.ctor ()
+in <0x000d5> FicheClient.Logon:btnValider_Click (System.Object sender,
+System.EventArgs e)
+in (wrapper delegate-invoke)
+System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs)
+in <0x0006e> System.Web.UI.WebControls.Button:OnClick (System.EventArgs e)
+in <0x00040>
+System.Web.UI.WebControls.Button:System.Web.UI.IPostBackEventHandler.RaisePostBackEvent
+(System.String eventArgument)
+in <0x00016> System.Web.UI.Page:RaisePostBackEvent (IPostBackEventHandler
+sourceControl, System.String eventArgument)
+in <0x00033> System.Web.UI.Page:RaisePostBackEvents ()
+in <0x00238> System.Web.UI.Page:InternalProcessRequest ()
+in <0x000a6> System.Web.UI.Page:ProcessRequest (System.Web.HttpContext context)
+in <0x00233> System.Web.HttpApplication+ExecuteHandlerState:Execute ()
+in <0x0007c> System.Web.HttpApplication+StateMachine:ExecuteState
+(IStateHandler state, System.Boolean readysync)
+
+Nothing is send over the network (i've verified with ethereal), Mono don't
+know how to build the proxy object...
+I send the wsdl file as attachment. This WSDL has not been changed, so i'me
+sure this is a mono bug!


More information about the mono-bugs mailing list