Click here to Skip to main content
15,919,341 members

Comments by Member 11143223 (Top 3 by date)

Member 11143223 7-Nov-14 23:27pm View    
I changed that code still I am not able to get..

<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange">
Member 11143223 7-Nov-14 23:25pm View    
I modified the code by uncommenting wsHttpBinding still its not working. when I add the servicereference its giving the following error.

There was an error downloading 'http://localhost:8181/HelloService'.
Unable to connect to the remote server
No connection could be made because the target machine actively refused it 127.0.0.1:8181
Metadata contains a reference that cannot be resolved: 'http://localhost:8181/HelloService'.
There was no endpoint listening at http://localhost:8181/HelloService 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
No connection could be made because the target machine actively refused it 127.0.0.1:8181
If the service is defined in the current solution, try building the solution and adding the service reference again.
Member 11143223 7-Nov-14 23:24pm View    
I modified the code, still not working. when I add the service its giving the error as below. can you help me..


There was an error downloading 'http://localhost:8181/HelloService'.
Unable to connect to the remote server
No connection could be made because the target machine actively refused it 127.0.0.1:8181
Metadata contains a reference that cannot be resolved: 'http://localhost:8181/HelloService'.
There was no endpoint listening at http://localhost:8181/HelloService 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
No connection could be made because the target machine actively refused it 127.0.0.1:8181
If the service is defined in the current solution, try building the solution and adding the service reference again.