[Mono-list] Web Services
Mariam Razeghi
msturner_2000@yahoo.com
Thu, 30 Jan 2003 15:48:24 -0800 (PST)
Hi,
I have added code to my C# client to call a method
from the C# web service as following:
using System;
using System.Web.Services;
using System.Xml;
using NSSample;
:
static void Main(string[] args)
{
:
string strResult;
ClassSample sample = new ClassSample();
// GetRoots is web service method.
strResult = sample.GetRoots();
:
}
Calling the C# compiler (CSC) from the command prompt
works fine. However, calling the Mono compiler gives
me error as following:
Unhandled Exception:
System.Reflection.CustomAttributeFormatException: Use
property specified was not found.
System.NullReferenceException: Object referenc
e not set to an instance of an object. at
System.Reflection.CustomAttribute.GetObject()
:
:
Would anyone know how to fix this error?
Any help would be greatly appreciated
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com