R
Richard Bell
I have a class in a seperate dll which I want to remote. I have referenced
the class and registered it using a simple exe. I can connect to the class's
interface using Activator.GetObject and call it's methods. However, when I
use soapsuds to extract meta data, I get the following error:
Error: Unable to retrieve schema from url:
http://localhost:1234/RemoteObject.soap?WSDL, The remote server returned an
error: (500) Internal Server Error.
Browser response is below. What am I doing wrong? Thanks.
System.NullReferenceException: Object reference not set to an instance of an
object. at
System.Runtime.Remoting.MetadataServices.RealSchemaType.Resolve(StringBuilde
r sb) at System.Runtime.Remoting.MetadataServices.XMLNamespace.Resolve() at
System.Runtime.Remoting.MetadataServices.WsdlGenerator.Resolve() at
System.Runtime.Remoting.MetadataServices.WsdlGenerator.Generate() at
System.Runtime.Remoting.MetadataServices.SUDSGenerator.Generate() at
System.Runtime.Remoting.MetadataServices.MetaData.ConvertTypesToSchemaToStre
am(ServiceType[] serviceTypes, SdlType sdlType, Stream outputStream) at
System.Runtime.Remoting.MetadataServices.SdlChannelSink.GenerateSdl(SdlType
sdlType, IServerResponseChannelSinkStack sinkStack, ITransportHeaders
requestHeaders, ITransportHeaders responseHeaders, Stream& outputStream) at
System.Runtime.Remoting.MetadataServices.SdlChannelSink.ProcessMessage(IServ
erChannelSinkStack sinkStack, IMessage requestMsg, ITransportHeaders
requestHeaders, Stream requestStream, IMessage& responseMsg,
ITransportHeaders& responseHeaders, Stream& responseStream) at
System.Runtime.Remoting.Channels.Http.HttpServerTransportSink.ServiceRequest
(Object state) at
System.Runtime.Remoting.Channels.SocketHandler.ProcessRequestNow()
the class and registered it using a simple exe. I can connect to the class's
interface using Activator.GetObject and call it's methods. However, when I
use soapsuds to extract meta data, I get the following error:
Error: Unable to retrieve schema from url:
http://localhost:1234/RemoteObject.soap?WSDL, The remote server returned an
error: (500) Internal Server Error.
Browser response is below. What am I doing wrong? Thanks.
System.NullReferenceException: Object reference not set to an instance of an
object. at
System.Runtime.Remoting.MetadataServices.RealSchemaType.Resolve(StringBuilde
r sb) at System.Runtime.Remoting.MetadataServices.XMLNamespace.Resolve() at
System.Runtime.Remoting.MetadataServices.WsdlGenerator.Resolve() at
System.Runtime.Remoting.MetadataServices.WsdlGenerator.Generate() at
System.Runtime.Remoting.MetadataServices.SUDSGenerator.Generate() at
System.Runtime.Remoting.MetadataServices.MetaData.ConvertTypesToSchemaToStre
am(ServiceType[] serviceTypes, SdlType sdlType, Stream outputStream) at
System.Runtime.Remoting.MetadataServices.SdlChannelSink.GenerateSdl(SdlType
sdlType, IServerResponseChannelSinkStack sinkStack, ITransportHeaders
requestHeaders, ITransportHeaders responseHeaders, Stream& outputStream) at
System.Runtime.Remoting.MetadataServices.SdlChannelSink.ProcessMessage(IServ
erChannelSinkStack sinkStack, IMessage requestMsg, ITransportHeaders
requestHeaders, Stream requestStream, IMessage& responseMsg,
ITransportHeaders& responseHeaders, Stream& responseStream) at
System.Runtime.Remoting.Channels.Http.HttpServerTransportSink.ServiceRequest
(Object state) at
System.Runtime.Remoting.Channels.SocketHandler.ProcessRequestNow()