I have a web services on my development system (localhost), here the unit
tests work.

I deployed the web service to a server on our intranet, lets call it
“MyServer”. When I run my unit tests using the web service on the deployed
server, I receive the following error. It looks to me to be a privilege issue
or a configuration difference between my localhost and the production server.
Server administrator state otherwise, believes the problem is in the schema
XDBDomainTables. This schema was generated using Visual Studio 2003. I have
also run the WSDL utility and get the same exception with additional
information.

My question is, how can I diagnose this? Or what is the cause and how do
we fix it?

Thanks

JimM

EXCEPTION FROM WEB SERVICE CALL:

System.Web.Services.Protocols.SoapException: Server was unable to process
request. --->
System.InvalidOperationException: Unable to generate a temporary class
(result=1).
error CS2001: Source file 'C:\WINDOWS\TEMP\o8pdvxpb.0.cs' could not be found
error CS2008: No inputs specified

at System.Xml.Serialization.Compiler.Compile(Assembly parent, String ns,
CompilerParameters parameters, Evidence evidence)
at System.Xml.Serialization.TempAssembly.GenerateAsse mbly(XmlMapping[]
xmlMappings, Type[] types, String defaultNamespace, Evidence evidence,
CompilerParameters parameters, Assembly assembly, Hashtable assemblies)
at System.Xml.Serialization.TempAssembly..ctor(XmlMap ping[] xmlMappings,
Type[] types, String defaultNamespace, String location, Evidence evidence)
at System.Xml.Serialization.XmlSerializer.FromMapping s(XmlMapping[]
mappings, Type type)
at System.Xml.Serialization.XmlSerializer.FromMapping s(XmlMapping[]
mappings)
at System.Web.Services.Protocols.SoapServerType..ctor (Type type,
ProtocolsEnum versionsSupported)
at System.Web.Services.Protocols.SoapServerProtocol.I nitialize()
at System.Web.Services.Protocols.ServerProtocolFactor y.Create(Type type,
HttpContext context, HttpRequest request, HttpResponse response, Boolean&
abortProcessing)
--- End of inner exception stack trace ---
System.Exception

WSDL UTILITY EXCEPTION:

wsdl /language:CS /protocol=SOAP /out:X.cs [url]https://MyServer/Xdb.asmx?wsdl[/url]

Again I get the same error, but this time I get an indication of a problem
with a schema file ‘XDBDomainTables.’

Microsoft (R) Web Services Description Language Utility
[Microsoft (R) .NET Framework, Version 1.1.4322.573]
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.

Error: There was an error processing 'https://MyServer/Xdb.asmx?wsdl'.
- The document was understood, but it could not be processed.
- The WSDL document contains links that could not be resolved.
- There was an error downloading
'https://MyServer/Xdb.asmx?schema=XDBDomainTables'.
- The request failed with the error message:
--
System.InvalidOperationException: Unable to generate a temporary class
(result=1).
error CS2001: Source file 'C:\WINDOWS\TEMP\ao0kw4o1.0.cs' could not be found
error CS2008: No inputs specified

at System.Xml.Serialization.Compiler.Compile(Assembly parent, String ns,
CompilerParameters parameters, Evidence evidence)
at System.Xml.Serialization.TempAssembly.GenerateAsse mbly(XmlMapping[]
xmlMappings, Type[] types, String defaultNamespace, Evidence evidence,
CompilerParamet
ers parameters, Assembly assembly, Hashtable assemblies)
at System.Xml.Serialization.TempAssembly..ctor(XmlMap ping[] xmlMappings,
Type[] types, String defaultNamespace, String location, Evidence evidence)
at System.Xml.Serialization.XmlSerializer.GenerateTem pAssembly(XmlMapping
xmlMapping, Type type, String defaultNamespace)
at System.Xml.Serialization.XmlSerializer..ctor(Type type, String
defaultNamespace)
at System.Xml.Schema.XmlSchema.Write(XmlWriter writer,
XmlNamespaceManager namespaceManager)
at System.Xml.Schema.XmlSchema.Write(TextWriter writer)
at
System.Web.Services.Protocols.DiscoveryServerProto col.WriteReturns(Object[]
returnValues, Stream outputStream)
at System.Web.Services.Protocols.WebServiceHandler.Wr iteReturns(Object[]
returnValues)
at System.Web.Services.Protocols.WebServiceHandler.In voke()

OUTPUT FROM [url]https://MyServer/XDB.asmx?wsdl”[/url]

<?xml version="1.0" encoding="utf-8" ?>
- <wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:i1="http://www.tempuri.org/ListIdsDataSet.xsd"
xmlns:s="http://www.w3.org/2001/XMLSchema"
xmlns:i4="http://www.tempuri.org/AdvSearch.xsd"
xmlns:i3="http://www.tempuri.org/AdvQueryDataSet.xsd"
xmlns:i2="http://www.tempuri.org/XDBMonumentTables.xsd"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:i0="http://www.tempuri.org/XDBDomainTables.xsd"
xmlns:tns="http://localhost/XDB%20Web%20Service/"
xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
targetNamespace="http://localhost/XDB%20Web%20Service/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:import namespace="http://www.tempuri.org/XDBDomainTables.xsd"
location="https://MyServer/XDB.asmx?schema=XDBDomainTables" />
<wsdl:import namespace="http://www.tempuri.org/ListIdsDataSet.xsd"
location="https://MyServer/XDB.asmx?schema=ListIdsDataSet" />
<wsdl:import namespace="http://www.tempuri.org/XDBMonumentTables.xsd"
location="https://MyServer/XDB.asmx?schema=XDBMonumentTables" />
<wsdl:import namespace="http://www.tempuri.org/AdvQueryDataSet.xsd"
location="https://MyServer/XDB.asmx?schema=AdvQueryDataSet" />
<wsdl:import namespace="http://www.tempuri.org/AdvSearch.xsd"
location="https://MyServer/XDB.asmx?schema=AdvSearch" />
<soap:address location="https://MyServer/XDB.asmx" />

I truncated the WSDL file to reduce this topic.

THE XDBDomainTable.xsd XML VIEW:

<?xml version="1.0" standalone="yes" ?>
<xs:schema id="XDBDomainTables"
targetNamespace="http://www.tempuri.org/XDBDomainTables.xsd"
xmlns:mstns="http://www.tempuri.org/XDBDomainTables.xsd"
xmlns="http://www.tempuri.org/XDBDomainTables.xsd"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"
attributeFormDefault="qualified" elementFormDefault="qualified">
<xs:element name="XDBDomainTables" msdata:IsDataSet="true">
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element name="CSystem">
<xs:complexType>
<xs:sequence>
<xs:element name="value" type="xs:string" />
<xs:element name="description" type="xs:string" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="d_metadn">
<xs:complexType>
<xs:sequence>
<xs:element name="value" type="xs:string" />
<xs:element name="description" type="xs:string" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="d_methdn">
<xs:complexType>
<xs:sequence>
<xs:element name="value" type="xs:string" />
<xs:element name="description" type="xs:string" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="d_mondim">
<xs:complexType>
<xs:sequence>
<xs:element name="value" type="xs:string" />
<xs:element name="description" type="xs:string" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="d_montyp">
<xs:complexType>
<xs:sequence>
<xs:element name="value" type="xs:string" />
<xs:element name="description" type="xs:string" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="d_rodty">
<xs:complexType>
<xs:sequence>
<xs:element name="value" type="xs:string" />
<xs:element name="description" type="xs:string" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="d_states">
<xs:complexType>
<xs:sequence>
<xs:element name="value" type="xs:string" />
<xs:element name="description" type="xs:string" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="RadarType">
<xs:complexType>
<xs:sequence>
<xs:element name="value" type="xs:string" />
<xs:element name="description" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:CSystem" />
<xs:field xpath="mstns:value" />
</xs:unique>
<xs:unique name="d_metadn_Constraint1" msdata:ConstraintName="Constraint1"
msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:d_metadn" />
<xs:field xpath="mstns:value" />
</xs:unique>
<xs:unique name="d_methdn_Constraint1" msdata:ConstraintName="Constraint1"
msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:d_methdn" />
<xs:field xpath="mstns:value" />
</xs:unique>
<xs:unique name="d_mondim_Constraint1" msdata:ConstraintName="Constraint1"
msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:d_mondim" />
<xs:field xpath="mstns:value" />
</xs:unique>
<xs:unique name="d_montyp_Constraint1" msdata:ConstraintName="Constraint1"
msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:d_montyp" />
<xs:field xpath="mstns:value" />
</xs:unique>
<xs:unique name="d_rodty_Constraint1" msdata:ConstraintName="Constraint1"
msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:d_rodty" />
<xs:field xpath="mstns:value" />
</xs:unique>
<xs:unique name="d_states_Constraint1" msdata:ConstraintName="Constraint1"
msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:d_states" />
<xs:field xpath="mstns:value" />
</xs:unique>
<xs:unique name="RadarType_Constraint1"
msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:RadarType" />
<xs:field xpath="mstns:value" />
</xs:unique>
</xs:element>
</xs:schema>