Sam Ruby
August 6th, 2000, 09:49 AM
I've got the PDC .NET CD's and installed them on
a fresh installation of Win2K. I then also
installed VisualStudio 6 and the MS SOAP
Toolkit. In the example below, I'm not
(knowingly) using them, but I mention it just in
case it is relevant.
I found creating the server side of a web
service a snap...but no such luck on the client
side. I reproduced my error on the samples, and
below is the output. Any help would be
appreciated.
C:\Program Files\NGWSSDK\Samples\QuickStart\aspplus\samples\services\MathService>makeservice.bat
C:\Program Files\NGWSSDK\Samples\QuickStart\aspplus\samples\services\MathService>webserviceutil -c:proxy /pa:MathService.sdl /l CSharp /n:MathServiceSpace
Microsoft (R) Web Services Utility [URT Version 2000.14.1812.10]
Copyright (C) Microsoft Corp 2000. All rights reserved.
System.Exception: Error when reading from source location MathService.sdl ---> System.Runtime.InteropServices.COMException: Ele
ent not found.
at System.Reflection.Assembly.nLoad(System.Reflection.AssemblyName, Boolean, Boolean, System.Security.Policy.Evidence, Boole
n)
at System.Reflection.Assembly.InternalLoad(System.Reflection.AssemblyName, Boolean, Boolean, System.Security.Policy.Evidence
at System.CodeDOM.Compiler.CompilerResults.get_CompiledAssembly()
at System.Xml.Serialization.Code.DOMCompiler.Compile()
at System.Xml.Serialization.TempAssembly..ctor(System.Xml.Serialization.XmlMapping[])
at System.Xml.Serialization.XmlSerializer..ctor(System.Type, System.Xml.Serialization.XmlRootAttribute, System.Xml.Serializa
ion.XmlAttributeOverrides)
at System.Web.Services.WebServicesConfiguration.get_ServiceDescriptionSerializer()
at System.Web.Services.Description.ServiceDescription.Read(System.Xml.XmlReader)
at System.Web.Services.Description.ServiceDescription.Read(System.IO.TextReader)
at Microsoft.DevApps.WebServices.WebServiceUtil.GenerateCode(System.String, System.String, Boolean, System.String, System.St
ing, System.String[], Boolean, System.String)
at Microsoft.DevApps.WebServices.WebServiceUtil.GenerateCode(System.String, System.String, Boolean, System.String, System.St
ing, System.String[], Boolean, System.String)
at Microsoft.DevApps.WebServices.WebServiceUtil.GenerateCode(Boolean)
at Microsoft.DevApps.WebServices.WebServiceUtil.Run()
C:\Program Files\NGWSSDK\Samples\QuickStart\aspplus\samples\services\MathService>csc /t:library /r:system.web.services.dll /r:s
stem.xml.serialization.dll MathService.cs
Microsoft (R) C# Compiler Version 7.00.8905 [NGWS runtime 2000.14.1812.10]
Copyright (C) Microsoft Corp 2000. All rights reserved.
error CS2001: Source file 'MathService.cs' could not be found
fatal error CS2008: No inputs specified
a fresh installation of Win2K. I then also
installed VisualStudio 6 and the MS SOAP
Toolkit. In the example below, I'm not
(knowingly) using them, but I mention it just in
case it is relevant.
I found creating the server side of a web
service a snap...but no such luck on the client
side. I reproduced my error on the samples, and
below is the output. Any help would be
appreciated.
C:\Program Files\NGWSSDK\Samples\QuickStart\aspplus\samples\services\MathService>makeservice.bat
C:\Program Files\NGWSSDK\Samples\QuickStart\aspplus\samples\services\MathService>webserviceutil -c:proxy /pa:MathService.sdl /l CSharp /n:MathServiceSpace
Microsoft (R) Web Services Utility [URT Version 2000.14.1812.10]
Copyright (C) Microsoft Corp 2000. All rights reserved.
System.Exception: Error when reading from source location MathService.sdl ---> System.Runtime.InteropServices.COMException: Ele
ent not found.
at System.Reflection.Assembly.nLoad(System.Reflection.AssemblyName, Boolean, Boolean, System.Security.Policy.Evidence, Boole
n)
at System.Reflection.Assembly.InternalLoad(System.Reflection.AssemblyName, Boolean, Boolean, System.Security.Policy.Evidence
at System.CodeDOM.Compiler.CompilerResults.get_CompiledAssembly()
at System.Xml.Serialization.Code.DOMCompiler.Compile()
at System.Xml.Serialization.TempAssembly..ctor(System.Xml.Serialization.XmlMapping[])
at System.Xml.Serialization.XmlSerializer..ctor(System.Type, System.Xml.Serialization.XmlRootAttribute, System.Xml.Serializa
ion.XmlAttributeOverrides)
at System.Web.Services.WebServicesConfiguration.get_ServiceDescriptionSerializer()
at System.Web.Services.Description.ServiceDescription.Read(System.Xml.XmlReader)
at System.Web.Services.Description.ServiceDescription.Read(System.IO.TextReader)
at Microsoft.DevApps.WebServices.WebServiceUtil.GenerateCode(System.String, System.String, Boolean, System.String, System.St
ing, System.String[], Boolean, System.String)
at Microsoft.DevApps.WebServices.WebServiceUtil.GenerateCode(System.String, System.String, Boolean, System.String, System.St
ing, System.String[], Boolean, System.String)
at Microsoft.DevApps.WebServices.WebServiceUtil.GenerateCode(Boolean)
at Microsoft.DevApps.WebServices.WebServiceUtil.Run()
C:\Program Files\NGWSSDK\Samples\QuickStart\aspplus\samples\services\MathService>csc /t:library /r:system.web.services.dll /r:s
stem.xml.serialization.dll MathService.cs
Microsoft (R) C# Compiler Version 7.00.8905 [NGWS runtime 2000.14.1812.10]
Copyright (C) Microsoft Corp 2000. All rights reserved.
error CS2001: Source file 'MathService.cs' could not be found
fatal error CS2008: No inputs specified