I'm trying to read the journal messages in MSMQ through WCF, but I am not able to generate the client side proxy files.
below is my app.config file:
bindingConfiguration="myMSMQ" contract="WishListComponent.IWish"/>
Below is the error I got while tryuing to generate proxy files. via svcutil.exe
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC>svcutil /t:code http://lo
calhost:32578 /out: Myserviceproxy.cs /config:Myserviceproxy.config
Microsoft (R) Service Model Metadata Tool
[Microsoft (R) Windows (R) Communication Foundation, Version 4.0.30319.1]
Copyright (c) Microsoft Corporation. All rights reserved.
Attempting to download metadata from 'http://localhost:32578/' using WS-Metadata
Exchange or DISCO.
Microsoft (R) Service Model Metadata Tool
[Microsoft (R) Windows (R) Communication Foundation, Version 4.0.30319.1]
Copyright (c) Microsoft Corporation. All rights reserved.
Error: Cannot obtain Metadata from http://localhost:32578/
If this is a Windows (R) Communication Foundation service to which you have acce
ss, please check that you have enabled metadata publishing at the specified addr
ess. For help enabling metadata publishing, please refer to the MSDN documentat
ion at http://go.microsoft.com/fwlink/?LinkId=65455.
WS-Metadata Exchange Error
URI: http://localhost:32578/
Metadata contains a reference that cannot be resolved: 'http://localhost:325
78/'.
There was no endpoint listening at http://localhost:32578/ that could accept
the message. This is often caused by an incorrect address or SOAP action. See I
nnerException, if present, for more details.
Unable to connect to the remote server
No connection could be made because the target machine actively refused it 1
27.0.0.1:32578
HTTP GET Error
URI: http://localhost:32578/
There was an error downloading 'http://localhost:32578/'.
Unable to connect to the remote server
No connection could be made because the target machine actively refused it 1
27.0.0.1:32578
If you would like more help, type "svcutil /?"
Replies
Know the answer? Post it — somebody with the same question will find it here.