[Mono-devel-list] BIg Problem with webservices (client)

Lluis Sanchez lluis at ximian.com
Fri Jun 17 05:44:32 EDT 2005


Can you please file a bug report in bugzilla.ximian.com for this? and
please attach the code of the web service that fails (if possible) or
the wsdl document?

Thanks,
Lluis.

El dv 17 de 06 del 2005 a les 11:27 +0200, en/na Hubert FONGARNAND va
escriure:
> I've a simple Web Application which make a call to a webservice method... 
> (client side)
> Since this morning, It crashes when calling the constructor of the 
> webservice...
> 
> the trace is here :
> I think it's a problem with XML Serialization!
> 
> Hubert
> 
> Server error in '/FicheClient' 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 <0x0073e> System.Xml.Serialization.XmlReflectionImporter:ImportListMapping 
> (System.Type type, System.Xml.Serialization.XmlRootAttribute root, 
> System.String defaultNamespace, System.Xml.Serialization.XmlAttributes atts, 
> Int32 nestingLevel)
> in <0x008e7> 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 <0x00012> 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)
> 
> _______________________________________________
> Ce message et les ventuels documents joints peuvent contenir des informations confidentielles.
> Au cas o il ne vous serait pas destin, nous vous remercions de bien vouloir le supprimer et en aviser immdiatement l'expditeur. Toute utilisation de ce message non conforme  sa destination, toute diffusion ou publication, totale ou partielle et quel qu'en soit le moyen est formellement interdite.
> Les communications sur internet n'tant pas scurises, l'intgrit de ce message n'est pas assure et la socit mettrice ne peut tre tenue pour responsable de son contenu.
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list




More information about the Mono-devel-list mailing list