[Mono-bugs] [Bug 59674][Cri] Changed - eBay SOAP client built with csc works; same code kerplodes when built with mcs

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 9 Jun 2004 00:37:13 -0400 (EDT)


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 jeffreyp@well.com.

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

--- shadow/59674	2004-06-08 12:16:44.000000000 -0400
+++ shadow/59674.tmp.3821	2004-06-09 00:37:13.000000000 -0400
@@ -51,6 +51,77 @@
 
   http://mcmanus.typepad.com/grind/ebaysoapmono.zip
 
 ------- Additional Comments From lluis@ximian.com  2004-06-08 12:16 -------
 Can you please paste the full trace of the exception you get? Run mono
 with the --debug option, so it shows the source file lines.
+
+------- Additional Comments From jeffreyp@well.com  2004-06-09 00:37 -------
+Here is the stack trace I got after building with --debug.
+
+Unhandled Exception: System.InvalidOperationException: Method
+eBayAPIInterfaceService.RelistItem can not be reflected. --->
+System.IO.FileNotFoundException: File or assembly name
+System.Web.Services, or one of its dependencies, was not found.
+File name: "System.Web.Services"
+   at
+System.Reflection.CustomAttribute.GetDataForPropertyOrField(Boolean&
+isProperty, Object& value, Type& type, Boolean isLast)
+   at System.Reflection.CustomAttribute.GetObject()
+   at
+System.Reflection.CustomAttribute.CheckConsistencyAndCreateArray(CustomAttribute
+caItem, Type caType)
+   at System.Reflection.CustomAttribute.GetCustomAttributes(MemberInfo
+member, Type caType, Boolean inherit)
+   at System.Reflection.RuntimeMethodInfo.GetCustomAttributes(Type
+attributeType, Boolean inherit)
+   at
+System.Web.Services.Protocols.LogicalMethodInfo.GetCustomAttributes(Type
+type)
+   at
+System.Web.Services.Protocols.SoapReflector.GetSoapMethodAttribute(Logical
+MethodInfo methodInfo)
+   at
+System.Web.Services.Protocols.SoapReflector.ReflectMethod(LogicalMethodInfo
+methodInfo, Boolean client, XmlReflectionImporter xmlImporter,
+SoapReflectionImporter soapImporter, String defaultNs)
+
+=== Pre-bind state information ===
+LOG: DisplayName = System.Web.Services, Version=1.0.5000.0,
+Culture=neutral, Pub
+licKeyToken=null
+ (Fully-specified)
+LOG: Appbase = C:\Documents and Settings\jmcmanus\Desktop\eBaySoapMono\
+LOG: Initial PrivatePath = NULL
+Calling assembly : (Unknown).
+===
+
+LOG: Policy not being applied to reference at this time (private,
+custom, partia
+l, or location-based assembly bind).
+LOG: Post-policy reference: System.Web.Services, Version=1.0.5000.0,
+Culture=neu
+tral, PublicKeyToken=null
+LOG: Attempting download of new URL file:///C:/Documents and
+Settings/jmcmanus/D
+esktop/eBaySoapMono/System.Web.Services.DLL.
+LOG: Attempting download of new URL file:///C:/Documents and
+Settings/jmcmanus/D
+esktop/eBaySoapMono/System.Web.Services/System.Web.Services.DLL.
+LOG: Attempting download of new URL file:///C:/Documents and
+Settings/jmcmanus/D
+esktop/eBaySoapMono/System.Web.Services.EXE.
+LOG: Attempting download of new URL file:///C:/Documents and
+Settings/jmcmanus/D
+esktop/eBaySoapMono/System.Web.Services/System.Web.Services.EXE.
+
+   --- End of inner exception stack trace ---
+   at
+System.Web.Services.Protocols.SoapReflector.ReflectMethod(LogicalMethodInfo
+methodInfo, Boolean client, XmlReflectionImporter xmlImporter,
+SoapReflectionI
+mporter soapImporter, String defaultNs)
+   at System.Web.Services.Protocols.SoapClientType..ctor(Type type)
+   at System.Web.Services.Protocols.SoapHttpClientProtocol..ctor()
+   at eBayAPIInterfaceService..ctor()
+   at eBay.eBay.ConfigureService()
+   at eBay.eBay.Main(String[] args)