locked
Não consigo consumir Web Services RRS feed

  • Pergunta

  • Olá, comecei a estudar Web Services agora. Criei uma aplicação e estou tentando consumir de um projeto Windows Phone App.

    Cliquei em Add Server References. Quando coloquei a URL da página do web services, O Visual Studio 2012 me apresentou este erro:

    There was an error downloading 'http://localhost:44160/SistemaMovelService.svc/_vti_bin/ListData.svc/$metadata'.
    Unable to connect to the remote server
    Nenhuma conexão pôde ser feita porque a máquina de destino as recusou ativamente 127.0.0.1:44160
    Metadata contains a reference that cannot be resolved: 'http://localhost:44160/SistemaMovelService.svc'.
    There was no endpoint listening at http://localhost:44160/SistemaMovelService.svc that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.
    Unable to connect to the remote server
    Nenhuma conexão pôde ser feita porque a máquina de destino as recusou ativamente 127.0.0.1:44160
    If the service is defined in the current solution, try building the solution and adding the service reference again.

    A URL é http://localhost:31125/SistemaMovelService.svc.

    Poderiam me ajudar?

    terça-feira, 19 de novembro de 2013 01:45

Respostas