powered by simpleCommunicator - 2.0.49     © 2025 Programmizd 02
Форумы / WCF, Web Services, Remoting [игнор отключен] [закрыт для гостей] / Два сервиса в одном namespace с одноимённым методом.
1 сообщений из 1, страница 1 из 1
Два сервиса в одном namespace с одноимённым методом.
    #37474539
Фотография Алексей К
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Тут в разделе caution написано:

CautionWhen running Svcutil.exe to get metadata for a service that exposes two different service contracts that each contain an operation of the same name, Svcutil.exe displays an error saying, “Cannot obtain Metadata from ....” For example, if you have a service that exposes a service contract called ICarService that has an operation Get(Car c) and the same service exposes a service contract called IBookService that has an operation Get(Book b). To work around this issue, do one of the following:

Rename one of the operations

Set the Name to a different name.

Set one of the operations' namespaces to a different namespace using the Namespace property.
Это вызвано ограничениями WSDL или это проблемы SvcUtil.exe, и можно найти другой кодогенератор, не имеющий такого ограничения?
...
Рейтинг: 0 / 0
1 сообщений из 1, страница 1 из 1
Форумы / WCF, Web Services, Remoting [игнор отключен] [закрыт для гостей] / Два сервиса в одном namespace с одноимённым методом.
Целевая тема:
Создать новую тему:
Автор:
Закрыть
Цитировать
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]