Svcutil.exe未导入以下策略断言

时间:2013-06-13 05:26:24

标签: wcf

我正在尝试使用svcutil.exe来创建代理类,为服务配置。 wsdl:https://service100.emedny.org:9047/MHService?wsdl 服务网址:https://service100.emedny.org:9047/MHService

但是我收到了这个错误:

Setting environment for using Microsoft Visual Studio 2010 x86 tools.

C:\Windows\system32>svcutil.exe https://service100.emedny.org:9047/MHService?wsd
l
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 'https://service100.emedny.org:9047/MHServi
ce?wsdl' using WS-Metadata Exchange or DISCO.
Warning: The following Policy Assertions were not Imported:
  XPath://wsdl:definitions[@targetNamespace='http://org/emedny/mhs/']/wsdl:bindi
ng[@name='MHS']
  Assertions:
    <dpe:summary xmlns:dpe='http://www.datapower.com/extensions'>..</dpe:summary
>
    <sp:SupportingTokens xmlns:sp='http://docs.oasis-open.org/ws-sx/ws-securityp
olicy/200702'>..</sp:SupportingTokens>



Generating files...
C:\Windows\system32\MHService.cs
C:\Windows\system32\output.config

C:\Windows\system32>

虽然它生成了2个文件,但是ouptput.config只有一些文字告诉我们没有导入绑定细节。

请建议

0 个答案:

没有答案