【问题标题】:SoapUI wsdl wcf net.tcp missing importerSoapUI wsdl wcf net.tcp 缺少导入器
【发布时间】:2015-11-16 16:43:17
【问题描述】:

一般来说,我在 tcp 上提供托管服务,但我无法使用 SoapUI 解析我的 wsdl,而它与 wcfTestClient 一起使用。

SoapUI 给我错误: 缺少进口商... 缺少用于绑定的 portType..

不幸的是,我需要添加我听说 wcfTestClient 不可能的标题。

还有我的服务配置

<service name=".." behaviorConfiguration="...">
        <endpoint binding="netTcpBinding" bindingNamespace="http://.." bindingConfiguration="SecureNetTcpBinding" contract="..." address="" />
        <endpoint address="mex" bindingNamespace="http://.." binding="netTcpBinding" bindingConfiguration="SecureNetTcpBindingMex" contract="IMetadataExchange" />
        <host>
          <baseAddresses>
            <add baseAddress="net.tcp://localhost:50002...svc" />
          </baseAddresses>
        </host>
      </service>

        <binding name="SecureNetTcpBindingMex" maxConnections="400" listenBacklog="400">
          <security mode="None">
          </security>
        </binding>

是否可以使用 SoapUI 解析 wcf net.tcp ?如果没有,我有什么选择?

【问题讨论】:

    标签: wcf wsdl soapui wcf-data-services wcftestclient


    【解决方案1】:

    只需添加以下端点:

    <endpoint address="soap" binding="basicHttpBinding" contract="...">
        <identity>
            <dns value="localhost" />
        </identity>
    </endpoint>
    

    然后从http://localhost:50002...svc/soap消费到SoapUI

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-09-21
      相关资源
      最近更新 更多