timhuang
7/25/2003 7:36:00 AM
Hello,
The error message showed the reason. :-)
After adding reference the web service, the return type of ws.GetMyClass1()
is TestBed.localhost.MyClass1. It is not ClassLibrary1.MyClass1. Yes, we
know that the two classes are the same. However, for the compiler, it has
no knowledge of it. What it knows is that these two classes have the same
name but belong to different namespaces. So it feels that they are
different classes. That is why you got that error message.
Did this answer your question?
Regards,
HuangTM
Microsoft Online Partner Support
MCSE/MCSD
Get Secure! ¨C www.microsoft.com/security
This posting is provided ¡°as is¡± with no warranties and confers no rights.