2011-01-24 65 views
0

添加Web引用WCF服務我們有WCF服務部署,並嘗試Web引用從本地 C++項目(寫在VS2005)添加到它會導致一個錯誤:錯誤從C++項目

Creating web service proxy file for NotificationReceiver1 ...

sproxy : error SDL1000 : Unspecified error

sproxy : error SDL1002 : failure in generating output file: "NotificationReceiver1.h"

這裏部署WCF服務配置文件:

<system.serviceModel> 
<services> 
    <service behaviorConfiguration="NotificationService.NotificationReceiverBehavior" name="NotificationService.NotificationReceiver"> 
    <endpoint address="" binding="basicHttpBinding" contract="NotificationService.INotificationReceiver" /> 
    <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" /> 
    </service> 
</services> 
<behaviors> 
    <serviceBehaviors> 
    <behavior name="NotificationService.NotificationReceiverBehavior"> 
     <serviceMetadata httpGetEnabled="true"/> 
     <serviceDebug includeExceptionDetailInFaults="true"/> 
    </behavior> 
    </serviceBehaviors> 
</behaviors> 
</system.serviceModel> 

該服務可以與WebServiceStudio打開並工作正常(我通常用它的網絡/ WCF服務測試)......但是VS不能產生H - 文件...爲什麼?

歡迎任何想法。

非常感謝。

回答