У меня есть веб-сервисы WCF, которые я размещал на одном и том же сетевом ПК (не там, где выполняется клиентское приложение). Когда я пытаюсь добавить ссылку на службу в клиентское приложение поднятом следующее сообщение об ошибке ...Веб-сервис Wcf
Примечание: я могу получить доступ к веб-сервис через веб-браузер, где клиентское приложение работает
Microsoft Visual Studio
There was an error downloading 'ipaddress/uploads/TransferService.svc/_vti_bin/ListData.svc/$metadata'.
The request failed with HTTP status 400: Bad Request.
Metadata contains a reference that cannot be resolved: [/ipaddress/uploads/TransferService.svc].
Content Type application/soap+xml; charset=utf-8 was not supported by service ipaddress/uploads/TransferService.svc. The client and service bindings may be mismatched.
The remote server returned an error: (415) Cannot process the message because the content type 'application/soap+xml; charset=utf-8' was not supported by service ipaddress/uploads/TransferService.svc. The client and service bindings may be mismatched. The remote server returned an error: (415) Cannot process the message because the content type 'application/soap+xml; charset=utf-8' was not the expected type 'text/xml; charset=utf-8'.. If the service is defined in the current solution, try building the solution and adding the service reference again.
кто-нибудь пожалуйста помочь в этом? ?
, но все же я получаю d error Не было прослушивание конечных точек на http: //valez-pc/uploads/TransferService.svc, которые могли бы принять сообщение. Это часто вызвано неправильным адресом или действием SOAP. См. InnerException, если присутствует, для получения более подробной информации. – uksp
@KathabSp Убедитесь, что ваш 'TransferService.svc' настроен правильно. Проверьте раздел 'system.serviceModel' и убедитесь, что в нем присутствует конечная точка для' TransferService.svc'. –
да его работающий штраф теперь..ми конечная точка была пуста..анетки Сергей @@@ – uksp