[Mono-bugs] [Bug 77430][Nor] New - Unable to initiate web service
client
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Wed Feb 1 04:28:37 EST 2006
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 janne.rantala at gmail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=77430
--- shadow/77430 2006-02-01 04:28:37.000000000 -0500
+++ shadow/77430.tmp.2510 2006-02-01 04:28:37.000000000 -0500
@@ -0,0 +1,103 @@
+Bug#: 77430
+Product: Mono: Class Libraries
+Version: 1.0
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: Sys.Web.Services
+AssignedTo: lluis at ximian.com
+ReportedBy: janne.rantala at gmail.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Unable to initiate web service client
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+I've tried to access web service client written with Visual Studio 2005
+from embedded Mono.
+
+Steps to reproduce the problem:
+1. Simple WS client written in VS2005 which tries to access
+net.xmethods.www.CurrencyExchangeService
+2. Used embedded mono to create mono object from that service and
+instantiate default constructor.
+
+WSTest.net.xmethods.www.CurrencyExchangeService service = new
+WSTest.net.xmethods.www.CurrencyExchangeService();
+Console.WriteLine(service.getRate("chile", "china"));
+Console.ReadLine();
+
+3.
+
+Actual Results:
+
+Unhandled Exception: System.Reflection.TargetInvocationException: Exception has
+been thrown by the target of an invocation. ---> System.NullReferenceException:
+Object reference not set to an instance of an object
+in <0x0004c>
+System.Web.Services.Protocols.SoapExtension:InitializeGlobalExtensi
+ons ()
+in <0x00038> System.Web.Services.Protocols.SoapExtension:GetTypeExtensions
+(Syst
+em.Type serviceType)
+in <0x00369> System.Web.Services.Protocols.SoapTypeStubInfo:.ctor
+(System.Web.Se
+rvices.Protocols.LogicalTypeInfo logicalTypeInfo)
+in <0x00000> <unknown method>
+in (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke
+(obj
+ect,object[])
+in <0x0008d> System.Reflection.MonoCMethod:Invoke (System.Object obj,
+BindingFla
+gs invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
+Syst
+em.Globalization.CultureInfo culture)--- End of inner exception stack trace ---
+
+in <0x0010e> System.Reflection.MonoCMethod:Invoke (System.Object obj,
+BindingFla
+gs invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
+Syst
+em.Globalization.CultureInfo culture)
+in <0x0001c> System.Reflection.MonoCMethod:Invoke (BindingFlags invokeAttr,
+Syst
+em.Reflection.Binder binder, System.Object[] parameters,
+System.Globalization.Cu
+ltureInfo culture)
+in <0x00244> System.Activator:CreateInstance (System.Type type,
+BindingFlags bin
+dingAttr, System.Reflection.Binder binder, System.Object[] args,
+System.Globaliz
+ation.CultureInfo culture, System.Object[] activationAttributes)
+in <0x00024> System.Activator:CreateInstance (System.Type type, System.Object[]
+args, System.Object[] activationAttributes)
+in <0x00020> System.Activator:CreateInstance (System.Type type, System.Object[]
+args)
+in <0x0003d>
+System.Web.Services.Protocols.LogicalTypeInfo:CreateTypeStubInfo (S
+ystem.Type type)
+in <0x00056> System.Web.Services.Protocols.LogicalTypeInfo:GetTypeStub
+(System.S
+tring protocolName)
+in <0x0001b> System.Web.Services.Protocols.TypeStubManager:GetTypeStub
+(System.T
+ype t, System.String protocolName)
+in <0x00023> System.Web.Services.Protocols.SoapHttpClientProtocol:.ctor ()
+in <0x00013> WSTest.net.xmethods.www.CurrencyExchangeService:.ctor ()
+in (wrapper remoting-invoke-with-check)
+WSTest.net.xmethods.www.CurrencyExchange
+Service:.ctor ()
+in <0x0001e> WSTest.Class1:.ctor ()
+
+Expected Results:
+Rate printed to console window.
+
+How often does this happen?
+Every time
+
+Additional Information:
More information about the mono-bugs
mailing list