nombre apellidos

nombre apellidos

  • NA
  • 51
  • 4.6k

Communication problem with self-hosted service

Nov 9 2011 5:47 AM

Hello,
I created a wcf service and a wcf client following the microsoft tutorial.

http://msdn.microsoft.com/es-es/library/ms734712.aspx


When I test the communication on the same machine, everything works fine, but when I run the server on a different machine (192.168.10.100) and the client from the machine (192.168.50.20) does not work.
I tried to run svcutil to create a new proxy and configuration file as follows:

svcutil.exe http://192.168.10.100:8000/WCFServicios/MiServicio /config:app.config /out:generatedProxy.cs /language:cs 

but I get the following error:
Intentando descargar metadatos de 'http://192.168.10.100:8000/WCFServicios/MiServicio'  con WS-Metadata Exchange o DISCO. Microsoft (R) Service Model Metadata Tool [Microsoft (R) Windows (R) Communication Foundation, versión 4.0.30319.1] © Microsoft Corporation. Reservados todos los derechos.  Error: No se pueden obtener metadatos de http://192.168.10.100:8000/WCFServicios/MiServicio 

How I can do to make communication between services?

Greetings and thanks


Answers (3)