class myremoteobject:MarshalByRefObject
{
public myremoteobject()
{
Console.WriteLine("hi there");
}
}
class Program
{
static void Main(string[] args)
{
HttpChannel chn = new HttpChannel(1234);
ChannelServices.RegisterChannel(chn, false);
RemotingConfiguration.RegisterWellKnownServiceType(typeof(myremoteobject), "abc", WellKnownObjectMode.Singleton);
Console.WriteLine("server started.... press any key to stop");
Console.ReadLine();
}
}
У меня есть эти простые классы, но пока я пытаюсь сгенерировать из них метаданные с помощью инструмента soapsuds, например: - soapsuds -ia:server -nowp -oa:metadata.dll
я получаю сообщение об ошибке
Ошибка: недопустимые данные схемы. Нет привязок с элементами SOAP, RPC и Encoded